Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25536
b: refs/heads/master
c: e60b6e2
h: refs/heads/master
v: v3
  • Loading branch information
Eric Sesterhenn authored and Linus Torvalds committed Apr 11, 2006
1 parent 44a0e26 commit 44458fa
Show file tree
Hide file tree
Showing 2 changed files with 2 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: fd5403c79bc21819f6e0c40ba098cea8b6a418bd
refs/heads/master: e60b6e2f747e94358fed9a23afd6abd738de4bf7
2 changes: 1 addition & 1 deletion trunk/drivers/char/applicom.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ static int ac_register_board(unsigned long physloc, void __iomem *loc,
if (!boardno)
boardno = readb(loc + NUMCARD_OWNER_TO_PC);

if (!boardno && boardno > MAX_BOARD) {
if (!boardno || boardno > MAX_BOARD) {
printk(KERN_WARNING "Board #%d (at 0x%lx) is out of range (1 <= x <= %d).\n",
boardno, physloc, MAX_BOARD);
return 0;
Expand Down

0 comments on commit 44458fa

Please sign in to comment.