Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87336
b: refs/heads/master
c: d399d13
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Bunk authored and Len Brown committed Feb 21, 2008
1 parent 6d29409 commit 862906d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 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: 3b5fee5952ff7eb6ff7a64247a01040b8b331b74
refs/heads/master: d399d130c82a1e1751b7770944f487fbd8b6272a
3 changes: 1 addition & 2 deletions trunk/drivers/acpi/scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -609,8 +609,7 @@ acpi_bus_get_ejd(acpi_handle handle, acpi_handle *ejd)
status = acpi_evaluate_object(handle, "_EJD", NULL, &buffer);
if (ACPI_SUCCESS(status)) {
obj = buffer.pointer;
status = acpi_get_handle(ACPI_ROOT_OBJECT, obj->string.pointer,
ejd);
status = acpi_get_handle(NULL, obj->string.pointer, ejd);
kfree(buffer.pointer);
}
return status;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/misc/sony-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ static void sony_laptop_report_input_event(u8 event)
break;

default:
if (event > ARRAY_SIZE(sony_laptop_input_index)) {
if (event >= ARRAY_SIZE(sony_laptop_input_index)) {
dprintk("sony_laptop_report_input_event, event not known: %d\n", event);
break;
}
Expand Down

0 comments on commit 862906d

Please sign in to comment.