Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/pci prop_dictionary_set_cstring_nocopy -> prop_...



details:   https://anonhg.NetBSD.org/src/rev/45a77de18b9d
branches:  trunk
changeset: 1021854:45a77de18b9d
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jun 21 03:01:23 2021 +0000

description:
prop_dictionary_set_cstring_nocopy -> prop_dictionary_set_string_nocopy

diffstat:

 sys/arch/x86/pci/pci_ranges.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 05644417c12d -r 45a77de18b9d sys/arch/x86/pci/pci_ranges.c
--- a/sys/arch/x86/pci/pci_ranges.c     Mon Jun 21 02:48:01 2021 +0000
+++ b/sys/arch/x86/pci/pci_ranges.c     Mon Jun 21 03:01:23 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci_ranges.c,v 1.8 2019/03/01 09:25:59 msaitoh Exp $   */
+/*     $NetBSD: pci_ranges.c,v 1.9 2021/06/21 03:01:23 christos Exp $  */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pci_ranges.c,v 1.8 2019/03/01 09:25:59 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pci_ranges.c,v 1.9 2021/06/21 03:01:23 christos Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -784,7 +784,7 @@
                pci_decompose_tag(pc, pal->pal_tag, &bus, &dev, &fun);
 
                ok = ok &&
-                   prop_dictionary_set_cstring_nocopy(rsvn, "type",
+                   prop_dictionary_set_string_nocopy(rsvn, "type",
                        pci_alloc_regtype_string(pal->pal_type)) &&
                    prop_dictionary_set_uint64(rsvn, "address",
                        pal->pal_addr) &&



Home | Main Index | Thread Index | Old Index