* [PATCH] gdth: Fix && typos
@ 2006-11-09 20:45 Jean Delvare
0 siblings, 0 replies; only message in thread
From: Jean Delvare @ 2006-11-09 20:45 UTC (permalink / raw)
To: Achim Leubner; +Cc: linux-scsi
Fix uses of "&&" where "&" was obviously intended instead.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
---
drivers/scsi/gdth.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.19-rc5.orig/drivers/scsi/gdth.c 2006-10-14 09:47:29.000000000 +0200
+++ linux-2.6.19-rc5/drivers/scsi/gdth.c 2006-11-09 21:39:06.000000000 +0100
@@ -3531,7 +3531,7 @@
IStatus &= ~0x80;
#ifdef INT_COAL
if (coalesced)
- ha->status = pcs->ext_status && 0xffff;
+ ha->status = pcs->ext_status & 0xffff;
else
#endif
ha->status = gdth_readw(&dp6m_ptr->i960r.status);
@@ -3543,7 +3543,7 @@
if (coalesced) {
ha->info = pcs->info0;
ha->info2 = pcs->info1;
- ha->service = (pcs->ext_status >> 16) && 0xffff;
+ ha->service = (pcs->ext_status >> 16) & 0xffff;
} else
#endif
{
--
Jean Delvare
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-11-09 20:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-09 20:45 [PATCH] gdth: Fix && typos Jean Delvare
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).