svn commit: r343643 - in stable: 10/sys/dev/pcf 11/sys/dev/pcf 12/sys/dev/pcf

Andriy Voskoboinyk avos at FreeBSD.org
Fri Feb 1 03:26:11 UTC 2019


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 at hotmail.com>

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

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

Modified: stable/11/sys/dev/pcf/pcf_isa.c
==============================================================================
--- stable/11/sys/dev/pcf/pcf_isa.c	Fri Feb  1 03:09:11 2019	(r343642)
+++ stable/11/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 successful for the specified base io */


More information about the svn-src-all mailing list