From 2db5662043e0c09805b19617bb7c482e7dca21e1 Mon Sep 17 00:00:00 2001 From: avos Date: Fri, 1 Feb 2019 03:26:10 +0000 Subject: [PATCH] MFC r343496: pcf(4): fix parentheses in if condition PR: 210709 Submitted by: David Binderman git-svn-id: svn://svn.freebsd.org/base/stable/10@343643 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/dev/pcf/pcf_isa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/pcf/pcf_isa.c b/sys/dev/pcf/pcf_isa.c index e8116359d..107c6f060 100644 --- a/sys/dev/pcf/pcf_isa.c +++ b/sys/dev/pcf/pcf_isa.c @@ -109,7 +109,7 @@ pcf_isa_probe(device_t dev) /* The port address must be explicitly specified */ bus_get_resource(dev, SYS_RES_IOPORT, rid, &start, &count); - if ((error = resource_int_value(PCF_NAME, 0, "port", &port) != 0)) + if ((error = resource_int_value(PCF_NAME, 0, "port", &port)) != 0) return (error); /* Probe is only successfull for the specified base io */ -- 2.45.0