Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202500
b: refs/heads/master
c: c477506
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Renninger authored and Matthew Garrett committed Aug 3, 2010
1 parent d31643b commit 5e91b5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4519169b8f096957e4474e9a17206b2026dab0b3
refs/heads/master: c4775062d57c762de37ff93fb5f8611320c25e2a
4 changes: 3 additions & 1 deletion trunk/drivers/platform/x86/hp-wmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,9 @@ static void hp_wmi_notify(u32 value, void *context)

obj = (union acpi_object *)response.pointer;

if (obj || obj->type != ACPI_TYPE_BUFFER) {
if (!obj)
return;
if (obj->type != ACPI_TYPE_BUFFER) {
printk(KERN_INFO "hp-wmi: Unknown response received %d\n",
obj->type);
kfree(obj);
Expand Down

0 comments on commit 5e91b5f

Please sign in to comment.