[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 04 Apr 2012 16:00:15 -0700
From: Joe Perches <joe@...ches.com>
To: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Cc: "James E.J. Bottomley" <JBottomley@...allels.com>,
Mauro Carvalho Chehab <mchehab@...radead.org>
Subject: drivers: Probable misuses of ||
Likely these should be && not ||
drivers/scsi/FlashPoint.c: if(bit_cnt != 0 || bit_cnt != 8)
drivers/media/dvb/dvb-usb/it913x.c: if (ret == 0 || ret != -EBUSY || ret != -ETIMEDOUT)
drivers/media/dvb/dvb-usb/it913x.c: if (ret == 0 || ret != -EBUSY || ret != -ETIMEDOUT)
drivers/media/rc/fintek-cir.c: if ((chip != 0x0408) || (chip != 0x0804))
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists