diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2006-06-23 05:06:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 10:43:08 -0400 |
commit | 125e18745f16685f69a34fd6130d47598fc4bf54 (patch) | |
tree | c97ed94b0525a572efa1bd4990a55b18be5d781d /drivers/scsi/53c700.h | |
parent | 78ce89c92bc6eaf5933b5664bff64253a7103bd7 (diff) |
[PATCH] More BUG_ON conversion
Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Acked-by: "Salyzyn, Mark" <mark_salyzyn@adaptec.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/53c700.h')
-rw-r--r-- | drivers/scsi/53c700.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/scsi/53c700.h b/drivers/scsi/53c700.h index d8041952b1b5..7f22a06fe5ec 100644 --- a/drivers/scsi/53c700.h +++ b/drivers/scsi/53c700.h | |||
@@ -474,8 +474,7 @@ NCR_700_readl(struct Scsi_Host *host, __u32 reg) | |||
474 | ioread32(hostdata->base + reg); | 474 | ioread32(hostdata->base + reg); |
475 | #if 1 | 475 | #if 1 |
476 | /* sanity check the register */ | 476 | /* sanity check the register */ |
477 | if((reg & 0x3) != 0) | 477 | BUG_ON((reg & 0x3) != 0); |
478 | BUG(); | ||
479 | #endif | 478 | #endif |
480 | 479 | ||
481 | return value; | 480 | return value; |
@@ -498,8 +497,7 @@ NCR_700_writel(__u32 value, struct Scsi_Host *host, __u32 reg) | |||
498 | 497 | ||
499 | #if 1 | 498 | #if 1 |
500 | /* sanity check the register */ | 499 | /* sanity check the register */ |
501 | if((reg & 0x3) != 0) | 500 | BUG_ON((reg & 0x3) != 0); |
502 | BUG(); | ||
503 | #endif | 501 | #endif |
504 | 502 | ||
505 | bEBus ? iowrite32be(value, hostdata->base + reg): | 503 | bEBus ? iowrite32be(value, hostdata->base + reg): |