Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/thorpej-cfargs]: src/sys/arch/hpcmips Decorate the problematic config_pr...



details:   https://anonhg.NetBSD.org/src/rev/a4480b76b271
branches:  thorpej-cfargs
changeset: 960504:a4480b76b271
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Apr 05 01:25:55 2021 +0000

description:
Decorate the problematic config_probe() calls (non-boolean return value)
with XXX.

diffstat:

 sys/arch/hpcmips/dev/plum.c      |  6 +++---
 sys/arch/hpcmips/tx/txcsbus.c    |  6 +++---
 sys/arch/hpcmips/tx/txsim.c      |  6 +++---
 sys/arch/hpcmips/vr/vrc4173bcu.c |  6 +++---
 sys/arch/hpcmips/vr/vrip.c       |  6 +++---
 5 files changed, 15 insertions(+), 15 deletions(-)

diffs (135 lines):

diff -r 115dbd5a72ca -r a4480b76b271 sys/arch/hpcmips/dev/plum.c
--- a/sys/arch/hpcmips/dev/plum.c       Mon Apr 05 01:24:09 2021 +0000
+++ b/sys/arch/hpcmips/dev/plum.c       Mon Apr 05 01:25:55 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: plum.c,v 1.18.2.6 2021/04/05 00:48:49 thorpej Exp $ */
+/*     $NetBSD: plum.c,v 1.18.2.7 2021/04/05 01:25:55 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: plum.c,v 1.18.2.6 2021/04/05 00:48:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: plum.c,v 1.18.2.7 2021/04/05 01:25:55 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -161,7 +161,7 @@
        pa.pa_memt      = sc->sc_csmemt;
        pa.pa_irq       = sc->sc_irq;
 
-       if (config_probe(parent, cf, &pa) == sc->sc_pri) {
+       if (/*XXX*/config_probe(parent, cf, &pa) == sc->sc_pri) {
                config_attach(parent, cf, &pa, plum_print, CFARG_EOL);
        }
 
diff -r 115dbd5a72ca -r a4480b76b271 sys/arch/hpcmips/tx/txcsbus.c
--- a/sys/arch/hpcmips/tx/txcsbus.c     Mon Apr 05 01:24:09 2021 +0000
+++ b/sys/arch/hpcmips/tx/txcsbus.c     Mon Apr 05 01:25:55 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: txcsbus.c,v 1.22.52.6 2021/04/05 00:48:49 thorpej Exp $ */
+/*     $NetBSD: txcsbus.c,v 1.22.52.7 2021/04/05 01:25:55 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: txcsbus.c,v 1.22.52.6 2021/04/05 00:48:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: txcsbus.c,v 1.22.52.7 2021/04/05 01:25:55 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -238,7 +238,7 @@
        ca.ca_irq2              = cf->cf_loc[TXCSBUSCF_IRQ2];
        ca.ca_irq3              = cf->cf_loc[TXCSBUSCF_IRQ3];
        
-       if (config_probe(parent, cf, &ca) == sc->sc_pri) {
+       if (/*XXX*/config_probe(parent, cf, &ca) == sc->sc_pri) {
                config_attach(parent, cf, &ca, txcsbus_print, CFARG_EOL);
        }
 
diff -r 115dbd5a72ca -r a4480b76b271 sys/arch/hpcmips/tx/txsim.c
--- a/sys/arch/hpcmips/tx/txsim.c       Mon Apr 05 01:24:09 2021 +0000
+++ b/sys/arch/hpcmips/tx/txsim.c       Mon Apr 05 01:25:55 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: txsim.c,v 1.17.52.6 2021/04/05 00:48:49 thorpej Exp $ */
+/*     $NetBSD: txsim.c,v 1.17.52.7 2021/04/05 01:25:55 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: txsim.c,v 1.17.52.6 2021/04/05 00:48:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: txsim.c,v 1.17.52.7 2021/04/05 01:25:55 thorpej Exp $");
 
 #include "opt_vr41xx.h"
 #include "opt_tx39xx.h"
@@ -126,7 +126,7 @@
        
        ta.ta_tc = tx_conf_get_tag();
        
-       if (config_probe(parent, cf, &ta) == sc->sc_pri)
+       if (/*XXX*/config_probe(parent, cf, &ta) == sc->sc_pri)
                config_attach(parent, cf, &ta, txsim_print, CFARG_EOL);
 
        return (0);
diff -r 115dbd5a72ca -r a4480b76b271 sys/arch/hpcmips/vr/vrc4173bcu.c
--- a/sys/arch/hpcmips/vr/vrc4173bcu.c  Mon Apr 05 01:24:09 2021 +0000
+++ b/sys/arch/hpcmips/vr/vrc4173bcu.c  Mon Apr 05 01:25:55 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vrc4173bcu.c,v 1.24.28.6 2021/04/05 00:48:49 thorpej Exp $     */
+/*     $NetBSD: vrc4173bcu.c,v 1.24.28.7 2021/04/05 01:25:55 thorpej Exp $     */
 
 /*-
  * Copyright (c) 2001,2002 Enami Tsugutomo.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vrc4173bcu.c,v 1.24.28.6 2021/04/05 00:48:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vrc4173bcu.c,v 1.24.28.7 2021/04/05 01:25:55 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -469,7 +469,7 @@
        va.va_cc = sc->sc_chipset.vc_cc;
        va.va_ac = sc->sc_chipset.vc_ac;
        va.va_dc = sc->sc_chipset.vc_dc;
-       if ((config_probe(parent, cf, &va) == sc->sc_pri))
+       if (/*XXX*/config_probe(parent, cf, &va) == sc->sc_pri)
                config_attach(parent, cf, &va, vrc4173bcu_print, CFARG_EOL);
 
        return (0);
diff -r 115dbd5a72ca -r a4480b76b271 sys/arch/hpcmips/vr/vrip.c
--- a/sys/arch/hpcmips/vr/vrip.c        Mon Apr 05 01:24:09 2021 +0000
+++ b/sys/arch/hpcmips/vr/vrip.c        Mon Apr 05 01:25:55 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vrip.c,v 1.37.52.6 2021/04/05 00:48:49 thorpej Exp $   */
+/*     $NetBSD: vrip.c,v 1.37.52.7 2021/04/05 01:25:55 thorpej Exp $   */
 
 /*-
  * Copyright (c) 1999, 2002
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vrip.c,v 1.37.52.6 2021/04/05 00:48:49 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vrip.c,v 1.37.52.7 2021/04/05 01:25:55 thorpej Exp $");
 
 #include "opt_vr41xx.h"
 #include "opt_tx39xx.h"
@@ -303,7 +303,7 @@
        va.va_cc = sc->sc_chipset.vc_cc;
        va.va_ac = sc->sc_chipset.vc_ac;
        va.va_dc = sc->sc_chipset.vc_dc;
-       if ((config_probe(parent, cf, &va) == sc->sc_pri))
+       if (/*XXX*/config_probe(parent, cf, &va) == sc->sc_pri)
                config_attach(parent, cf, &va, vrip_print, CFARG_EOL);
 
        return (0);



Home | Main Index | Thread Index | Old Index