projects
/
firefly-linux-kernel-4.4.55.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 a5ce4bc202e33663da13eceb1bc763270fa419d9..41cf3e79493789e592c86230a4ee4b89372d0511 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,