Re: [PATCH] selftests/powerpc: Replace obsolete memalign() with posix_memalign()

2023-04-28 Thread Muhammad Usama Anjum
On 4/13/23 6:02 AM, Deming Wang wrote: > memalign() is obsolete according to its manpage. > > Replace memalign() with posix_memalign() and remove malloc.h include > that was there for memalign(). Thanks for the patch. > > As a pointer is passed into posix_memalign(), initialize *s to NULL I'm

Re: [PATCH] selftests/powerpc: Replace obsolete memalign() with posix_memalign()

2023-04-12 Thread Michael Ellerman
Deming Wang writes: > memalign() is obsolete according to its manpage. > > Replace memalign() with posix_memalign() and remove malloc.h include > that was there for memalign(). > > As a pointer is passed into posix_memalign(), initialize *s to NULL > to silence a warning about the function's