Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/isa Use boolean logical and operation on booleans, r...
details: https://anonhg.NetBSD.org/src/rev/240bfa864af0
branches: trunk
changeset: 351087:240bfa864af0
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Wed Feb 01 19:10:33 2017 +0000
description:
Use boolean logical and operation on booleans, rather than bitwise and.
>From David Binderman in PR kern/51936.
diffstat:
sys/dev/isa/gus.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0cc70e64f347 -r 240bfa864af0 sys/dev/isa/gus.c
--- a/sys/dev/isa/gus.c Wed Feb 01 18:47:24 2017 +0000
+++ b/sys/dev/isa/gus.c Wed Feb 01 19:10:33 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gus.c,v 1.110 2016/07/11 11:31:50 msaitoh Exp $ */
+/* $NetBSD: gus.c,v 1.111 2017/02/01 19:10:33 jakllsch Exp $ */
/*-
* Copyright (c) 1996, 1999, 2008 The NetBSD Foundation, Inc.
@@ -88,7 +88,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gus.c,v 1.110 2016/07/11 11:31:50 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gus.c,v 1.111 2017/02/01 19:10:33 jakllsch Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -1027,7 +1027,7 @@
printf(", %dKB memory\n", sc->sc_dsize);
/* A GUS MAX should always have a CODEC installed */
- if ((sc->sc_revision >= 10) & !(HAS_CODEC(sc)))
+ if ((sc->sc_revision >= 10) && !(HAS_CODEC(sc)))
printf("%s: WARNING: did not attach CODEC on MAX\n",
device_xname(sc->sc_dev));
Home |
Main Index |
Thread Index |
Old Index