Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2019 03:26:10 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r343643 - in stable: 10/sys/dev/pcf 11/sys/dev/pcf 12/sys/dev/pcf
Message-ID:  <201902010326.x113QAqj035911@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avos
Date: Fri Feb  1 03:26:10 2019
New Revision: 343643
URL: https://svnweb.freebsd.org/changeset/base/343643

Log:
  MFC r343496:
  pcf(4): fix parentheses in if condition
  
  PR:		210709
  Submitted by:	David Binderman <dcb314@hotmail.com>

Modified:
  stable/10/sys/dev/pcf/pcf_isa.c
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/sys/dev/pcf/pcf_isa.c
  stable/12/sys/dev/pcf/pcf_isa.c
Directory Properties:
  stable/11/   (props changed)
  stable/12/   (props changed)

Modified: stable/10/sys/dev/pcf/pcf_isa.c
==============================================================================
--- stable/10/sys/dev/pcf/pcf_isa.c	Fri Feb  1 03:09:11 2019	(r343642)
+++ stable/10/sys/dev/pcf/pcf_isa.c	Fri Feb  1 03:26:10 2019	(r343643)
@@ -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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902010326.x113QAqj035911>