summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2021-03-21 14:18:38 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2021-03-21 14:18:38 +0000
commit038cd7b3566b7ecb92dd6e25024d928866e91d55 (patch)
treeb7e23e931bc84b36b8eb3efdcf8bc90f67b48195 /sys
parent323f354e832de6defdd169ab5d9582b0e904c2d3 (diff)
Disambiguate expressions.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/sgi/xbow/xbridge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sgi/xbow/xbridge.c b/sys/arch/sgi/xbow/xbridge.c
index 1a240728ac1..3782fd740b7 100644
--- a/sys/arch/sgi/xbow/xbridge.c
+++ b/sys/arch/sgi/xbow/xbridge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xbridge.c,v 1.103 2021/03/11 11:17:00 jsg Exp $ */
+/* $OpenBSD: xbridge.c,v 1.104 2021/03/21 14:18:37 visa Exp $ */
/*
* Copyright (c) 2008, 2009, 2011 Miodrag Vallat.
@@ -3506,7 +3506,7 @@ xbridge_allocate_devio(struct xbpci_softc *xb, int dev, int wantlarge)
if (!ISSET(xb->xb_devio_usemask, 1 << dev)) {
if (BRIDGE_DEVIO_SIZE(dev) >=
- wantlarge ? BRIDGE_DEVIO_LARGE : BRIDGE_DEVIO_SHORT) {
+ (wantlarge ? BRIDGE_DEVIO_LARGE : BRIDGE_DEVIO_SHORT)) {
#ifdef DEBUG
printf("%s(%d,%d): using reserved entry\n",
__func__, dev, wantlarge);
@@ -3528,7 +3528,7 @@ xbridge_allocate_devio(struct xbpci_softc *xb, int dev, int wantlarge)
continue; /* devio to be used soon */
if (BRIDGE_DEVIO_SIZE(dev) >=
- wantlarge ? BRIDGE_DEVIO_LARGE : BRIDGE_DEVIO_SHORT) {
+ (wantlarge ? BRIDGE_DEVIO_LARGE : BRIDGE_DEVIO_SHORT)) {
#ifdef DEBUG
printf("%s(%d,%d): using unused entry %d\n",
__func__, orig_dev, wantlarge, dev);