[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>
This commit is contained in:

کامیت شده توسط
Linus Torvalds

والد
78ce89c92b
کامیت
125e18745f
@@ -474,8 +474,7 @@ NCR_700_readl(struct Scsi_Host *host, __u32 reg)
|
||||
ioread32(hostdata->base + reg);
|
||||
#if 1
|
||||
/* sanity check the register */
|
||||
if((reg & 0x3) != 0)
|
||||
BUG();
|
||||
BUG_ON((reg & 0x3) != 0);
|
||||
#endif
|
||||
|
||||
return value;
|
||||
@@ -498,8 +497,7 @@ NCR_700_writel(__u32 value, struct Scsi_Host *host, __u32 reg)
|
||||
|
||||
#if 1
|
||||
/* sanity check the register */
|
||||
if((reg & 0x3) != 0)
|
||||
BUG();
|
||||
BUG_ON((reg & 0x3) != 0);
|
||||
#endif
|
||||
|
||||
bEBus ? iowrite32be(value, hostdata->base + reg):
|
||||
|
مرجع در شماره جدید
Block a user