From: <he...@us...> - 2005-07-06 22:59:01
|
Update of /cvsroot/gc-linux/linux/drivers/block/gcn-di In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5358 Modified Files: gcn-di.c Log Message: Force use of parenthesi in conditional. Index: gcn-di.c =================================================================== RCS file: /cvsroot/gc-linux/linux/drivers/block/gcn-di/gcn-di.c,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- gcn-di.c 6 Jul 2005 22:56:15 -0000 1.8 +++ gcn-di.c 6 Jul 2005 22:58:52 -0000 1.9 @@ -810,7 +810,7 @@ unsigned long timeout = jiffies + secs*HZ; /* busy-wait for transfer complete */ - while(readl(cr_reg) & DI_CR_TSTART && time_before(jiffies, timeout)) { + while((readl(cr_reg) & DI_CR_TSTART) && time_before(jiffies, timeout)) { cpu_relax(); } |