Module Name: src
Committed By: mrg
Date: Thu Jul 7 06:02:07 UTC 2011
Modified Files:
src/sys/arch/amiga/dev: sbic.c
Log Message:
apply some parens around an expression to get the desired behaviour,
as suggested by gcc 4.5
To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/arch/amiga/dev/sbic.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amiga/dev/sbic.c
diff -u src/sys/arch/amiga/dev/sbic.c:1.69 src/sys/arch/amiga/dev/sbic.c:1.70
--- src/sys/arch/amiga/dev/sbic.c:1.69 Mon Dec 20 00:25:26 2010
+++ src/sys/arch/amiga/dev/sbic.c Thu Jul 7 06:02:06 2011
@@ -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));