Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/fdt Don't print an error message for shared opp tables
details: https://anonhg.NetBSD.org/src/rev/c138d4bd8746
branches: trunk
changeset: 366545:c138d4bd8746
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Sep 01 23:41:16 2018 +0000
description:
Don't print an error message for shared opp tables
diffstat:
sys/dev/fdt/cpufreq_dt.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r ca2bb1ac0830 -r c138d4bd8746 sys/dev/fdt/cpufreq_dt.c
--- a/sys/dev/fdt/cpufreq_dt.c Sat Sep 01 22:28:04 2018 +0000
+++ b/sys/dev/fdt/cpufreq_dt.c Sat Sep 01 23:41:16 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpufreq_dt.c,v 1.4 2018/09/01 19:36:53 jmcneill Exp $ */
+/* $NetBSD: cpufreq_dt.c,v 1.5 2018/09/01 23:41:16 jmcneill Exp $ */
/*-
* Copyright (c) 2015-2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cpufreq_dt.c,v 1.4 2018/09/01 19:36:53 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpufreq_dt.c,v 1.5 2018/09/01 23:41:16 jmcneill Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -428,8 +428,9 @@
mutex_exit(&cpufreq_dt_tables_lock);
if (error) {
- aprint_error_dev(sc->sc_dev,
- "couldn't parse operating points: %d\n", error);
+ if (error != EEXIST)
+ aprint_error_dev(sc->sc_dev,
+ "couldn't parse operating points: %d\n", error);
return error;
}
Home |
Main Index |
Thread Index |
Old Index