Fix uses of "&&" where "&" was obviously intended instead. Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx> --- 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 - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html