Re: [PATCH 00/15] Add attributes to allocation functions

2025-01-20 Thread Bruce Richardson
On Mon, Jan 20, 2025 at 10:03:18AM -0800, Stephen Hemminger wrote: > This patch series builds on the allocation function attributes > added in 24.11 release. These annotations will allow for compiler > to flag cases where a pointer is allocated with one function > but incorrectly passed to a differ

[PATCH 00/15] Add attributes to allocation functions

2025-01-20 Thread Stephen Hemminger
This patch series builds on the allocation function attributes added in 24.11 release. These annotations will allow for compiler to flag cases where a pointer is allocated with one function but incorrectly passed to a different free function. Checkpatch perl script falsely complains in a couple pa