projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d226169
)
NULL noise: drivers/platform/x86/panasonic-laptop.c
author
Hannes Eder
<hannes@hanneseder.net>
Thu, 5 Mar 2009 19:15:44 +0000
(20:15 +0100)
committer
Len Brown
<len.brown@intel.com>
Tue, 7 Apr 2009 05:56:07 +0000
(
01:56
-0400)
Fix this sparse warning:
drivers/platform/x86/panasonic-laptop.c:273:70: warning: Using plain integer as NULL pointer
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/panasonic-laptop.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/panasonic-laptop.c
b/drivers/platform/x86/panasonic-laptop.c
index
a5ce4bc
..
41cf3e7
100644
(file)
--- a/
drivers/platform/x86/panasonic-laptop.c
+++ b/
drivers/platform/x86/panasonic-laptop.c
@@
-271,7
+271,7
@@
static int acpi_pcc_retrieve_biosdata(struct pcc_acpi *pcc, u32 *sinf)
union acpi_object *hkey = NULL;
int i;
- status = acpi_evaluate_object(pcc->handle, METHOD_HKEY_SINF,
0
,
+ status = acpi_evaluate_object(pcc->handle, METHOD_HKEY_SINF,
NULL
,
&buffer);
if (ACPI_FAILURE(status)) {
ACPI_DEBUG_PRINT((ACPI_DB_ERROR,