Date: Sun, 27 Jan 2019 15:19:28 +0000 (UTC) From: Andriy Voskoboinyk <avos@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r343496 - head/sys/dev/pcf Message-ID: <201901271519.x0RFJSCR063668@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avos Date: Sun Jan 27 15:19:28 2019 New Revision: 343496 URL: https://svnweb.freebsd.org/changeset/base/343496 Log: pcf(4): fix parentheses in if condition PR: 210709 Submitted by: David Binderman <dcb314@hotmail.com> MFC after: 5 days Modified: head/sys/dev/pcf/pcf_isa.c Modified: head/sys/dev/pcf/pcf_isa.c ============================================================================== --- head/sys/dev/pcf/pcf_isa.c Sun Jan 27 15:10:20 2019 (r343495) +++ head/sys/dev/pcf/pcf_isa.c Sun Jan 27 15:19:28 2019 (r343496) @@ -111,7 +111,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 successful for the specified base io */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901271519.x0RFJSCR063668>