mwavedd.c (2fc2991175bf77395e6b15fe6b2304d3bf72da40) | mwavedd.c (d698f1c72629ff43d0cb6b9f1d17c491c057a0d9) |
---|---|
1/* 2* 3* mwavedd.c -- mwave device driver 4* 5* 6* Written By: Mike Sullivan IBM Corporation 7* 8* Copyright (C) 1999 IBM Corporation --- 257 unchanged lines hidden (view full) --- 266 unsigned int ipcnum = (unsigned int) ioarg; 267 268 PRINTK_3(TRACE_MWAVE, 269 "mwavedd::mwave_ioctl IOCTL_MW_REGISTER_IPC" 270 " ipcnum %x entry usIntCount %x\n", 271 ipcnum, 272 pDrvData->IPCs[ipcnum].usIntCount); 273 | 1/* 2* 3* mwavedd.c -- mwave device driver 4* 5* 6* Written By: Mike Sullivan IBM Corporation 7* 8* Copyright (C) 1999 IBM Corporation --- 257 unchanged lines hidden (view full) --- 266 unsigned int ipcnum = (unsigned int) ioarg; 267 268 PRINTK_3(TRACE_MWAVE, 269 "mwavedd::mwave_ioctl IOCTL_MW_REGISTER_IPC" 270 " ipcnum %x entry usIntCount %x\n", 271 ipcnum, 272 pDrvData->IPCs[ipcnum].usIntCount); 273 |
274 if (ipcnum > ARRAY_SIZE(pDrvData->IPCs)) { | 274 if (ipcnum >= ARRAY_SIZE(pDrvData->IPCs)) { |
275 PRINTK_ERROR(KERN_ERR_MWAVE 276 "mwavedd::mwave_ioctl:" 277 " IOCTL_MW_REGISTER_IPC:" 278 " Error: Invalid ipcnum %x\n", 279 ipcnum); 280 return -EINVAL; 281 } 282 pDrvData->IPCs[ipcnum].bIsHere = FALSE; --- 395 unchanged lines hidden --- | 275 PRINTK_ERROR(KERN_ERR_MWAVE 276 "mwavedd::mwave_ioctl:" 277 " IOCTL_MW_REGISTER_IPC:" 278 " Error: Invalid ipcnum %x\n", 279 ipcnum); 280 return -EINVAL; 281 } 282 pDrvData->IPCs[ipcnum].bIsHere = FALSE; --- 395 unchanged lines hidden --- |