Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288417
b: refs/heads/master
c: e424fb8
h: refs/heads/master
i:
  288415: d8baabd
v: v3
  • Loading branch information
Xi Wang authored and Matthew Garrett committed Mar 12, 2012
1 parent 79ec2a8 commit ac70799
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 461e74377cfcfc2c0d6bbdfa8fc5fbc21b052c2a
refs/heads/master: e424fb8cc4e6634c10f8159b1ff5618cf7bab9c6
4 changes: 2 additions & 2 deletions trunk/drivers/platform/x86/panasonic-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,8 @@ static int acpi_pcc_hotkey_add(struct acpi_device *device)

num_sifr = acpi_pcc_get_sqty(device);

if (num_sifr > 255) {
ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "num_sifr too large"));
if (num_sifr < 0 || num_sifr > 255) {
ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "num_sifr out of range"));
return -ENODEV;
}

Expand Down

0 comments on commit ac70799

Please sign in to comment.