Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 37655
b: refs/heads/master
c: 095d030
h: refs/heads/master
i:
  37653: d3ccf1a
  37651: 21fcd8f
  37647: 7967f29
v: v3
  • Loading branch information
Eric Sesterhenn authored and Linus Torvalds committed Oct 1, 2006
1 parent f89d3fe commit 96f1af5
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: 1cfee2b3c21d71a8c20884dbb77ed343558db87f
refs/heads/master: 095d030cff0eafd29ee31e022d374874146a5b4c
4 changes: 2 additions & 2 deletions trunk/drivers/char/mwave/mwavedd.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ static int mwave_ioctl(struct inode *inode, struct file *file,
" ipcnum %x, usIntCount %x\n",
ipcnum,
pDrvData->IPCs[ipcnum].usIntCount);
if (ipcnum > ARRAY_SIZE(pDrvData->IPCs)) {
if (ipcnum >= ARRAY_SIZE(pDrvData->IPCs)) {
PRINTK_ERROR(KERN_ERR_MWAVE
"mwavedd::mwave_ioctl:"
" IOCTL_MW_GET_IPC: Error:"
Expand Down Expand Up @@ -355,7 +355,7 @@ static int mwave_ioctl(struct inode *inode, struct file *file,
"mwavedd::mwave_ioctl IOCTL_MW_UNREGISTER_IPC"
" ipcnum %x\n",
ipcnum);
if (ipcnum > ARRAY_SIZE(pDrvData->IPCs)) {
if (ipcnum >= ARRAY_SIZE(pDrvData->IPCs)) {
PRINTK_ERROR(KERN_ERR_MWAVE
"mwavedd::mwave_ioctl:"
" IOCTL_MW_UNREGISTER_IPC:"
Expand Down

0 comments on commit 96f1af5

Please sign in to comment.