ACPI, APEI, EINJ, cleanup 0 vs NULL confusion
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Jan 2012 07:57:14 +0000 (10:57 +0300)
committerLen Brown <len.brown@intel.com>
Tue, 24 Jan 2012 00:38:52 +0000 (19:38 -0500)
commit29924b9f8f39e37275cff93740835d28b9e6fb36
tree9e825881abbad761bef2b8cfba7731a2a1ef47cd
parent4c40aed869a200a621b53bcb491c5ee8a34ef5f1
ACPI, APEI, EINJ, cleanup 0 vs NULL confusion

This function is returning pointers.  Sparse complains here:
drivers/acpi/apei/einj.c:262:32: warning:
Using plain integer as NULL pointer

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/apei/einj.c