RE: [PATCH] acpi: Use NULL from <linux/stddef.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> From: Bart Van Assche [mailto:bart.vanassche@xxxxxxxxxxx]
> Subject: Re: [PATCH] acpi: Use NULL from <linux/stddef.h>
> 
> On 11/16/2016 09:08 AM, Moore, Robert wrote:
> > What is the point of these changes?
> 
> What's the point of redefining NULL? What's the point of casting a void
> pointer to void *?

Maybe you only need to put the following line into aclinux.h:
+#include <linux/stddef.h> /* NULL */

And leave ACPICA protection there:

#ifndef NULL
...
#endif

For changing (void *) NULL to NULL, sounds minor.
It can be there for other OSPMs.

Thanks
Lv
��.n��������+%������w��{.n�����{�����ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f




[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux