Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amiga/dev apply some parens around an expression to...



details:   https://anonhg.NetBSD.org/src/rev/b9edb0a67d16
branches:  trunk
changeset: 767023:b9edb0a67d16
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jul 07 06:02:06 2011 +0000

description:
apply some parens around an expression to get the desired behaviour,
as suggested by gcc 4.5

diffstat:

 sys/arch/amiga/dev/sbic.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 98433aa32716 -r b9edb0a67d16 sys/arch/amiga/dev/sbic.c
--- a/sys/arch/amiga/dev/sbic.c Thu Jul 07 06:01:51 2011 +0000
+++ b/sys/arch/amiga/dev/sbic.c Thu Jul 07 06:02:06 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbic.c,v 1.69 2010/12/20 00:25:26 matt Exp $ */
+/*     $NetBSD: sbic.c,v 1.70 2011/07/07 06:02:06 mrg Exp $ */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -81,7 +81,7 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.69 2010/12/20 00:25:26 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.70 2011/07/07 06:02:06 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1272,7 +1272,7 @@
                                return len;
                        }
 
-                       if( ! asr & SBIC_ASR_BSY ) {
+                       if (!(asr & SBIC_ASR_BSY)) {
                                GET_SBIC_csr(regs, csr);
                                CSR_TRACE('<',csr,asr,len);
                                QPRINTF(("[CSR%02xASR%02x]", csr, asr));



Home | Main Index | Thread Index | Old Index