projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] More BUG_ON conversion
[linux-2.6-block.git]
/
drivers
/
scsi
/
ibmmca.c
diff --git
a/drivers/scsi/ibmmca.c
b/drivers/scsi/ibmmca.c
index 0c6dc31bb14dee7fe66849da86d0d94c300b560c..115f55471ed3be2d1ffe5112d0db8aaeb607e325 100644
(file)
--- a/
drivers/scsi/ibmmca.c
+++ b/
drivers/scsi/ibmmca.c
@@
-2241,8
+2241,7
@@
static int __ibmmca_host_reset(Scsi_Cmnd * cmd)
int host_index;
unsigned long imm_command;
- if (cmd == NULL)
- BUG();
+ BUG_ON(cmd == NULL);
ticks = IM_RESET_DELAY * HZ;
shpnt = cmd->device->host;