Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 2435
b: refs/heads/master
c: 3a84509
h: refs/heads/master
i:
  2433: 2e3164e
  2431: 5844e2d
v: v3
  • Loading branch information
Zaur Kambarov authored and Linus Torvalds committed Jun 22, 2005
1 parent 23b260a commit 19b4867
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: 7f20b6a4792c1b5033583c23b5594887dd3867b9
refs/heads/master: 3a845099b20e81fb678521f034bbdcd69208da4e
2 changes: 1 addition & 1 deletion trunk/drivers/char/ipmi/ipmi_msghandler.c
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ int ipmi_create_user(unsigned int if_num,
return -ENOMEM;

down_read(&interfaces_sem);
if ((if_num > MAX_IPMI_INTERFACES) || ipmi_interfaces[if_num] == NULL)
if ((if_num >= MAX_IPMI_INTERFACES) || ipmi_interfaces[if_num] == NULL)
{
rv = -EINVAL;
goto out_unlock;
Expand Down

0 comments on commit 19b4867

Please sign in to comment.