Re: [PATCH v2 0/2] gpudev: annotate memory allocation functions

2024-11-08 Thread David Marchand
On Mon, Oct 28, 2024 at 8:03 PM Stephen Hemminger wrote: > > Use function attributes to catch misuse of GPU memory > at compile time. > > v2 - remove test case where invalid pointer was being passed. > The test is now caught at compile time, making a runtime test > no longer necessary. >

[PATCH v2 0/2] gpudev: annotate memory allocation functions

2024-10-28 Thread Stephen Hemminger
Use function attributes to catch misuse of GPU memory at compile time. v2 - remove test case where invalid pointer was being passed. The test is now caught at compile time, making a runtime test no longer necessary. Stephen Hemminger (2): test-gpudev: avoid use-after-free and free-non