Source-Changes-HG archive

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

[src/netbsd-10]: src/sys/arch/arm/nxp Pull up following revision(s) (requeste...



details:   https://anonhg.NetBSD.org/src/rev/419c1a8c1da5
branches:  netbsd-10
changeset: 372830:419c1a8c1da5
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Dec 29 09:39:43 2022 +0000

description:
Pull up following revision(s) (requested by mrg in ticket #29):

        sys/arch/arm/nxp/if_enet_imx.c: revision 1.7

don't use uninitialised data.  should fix PR#57135's crash.

diffstat:

 sys/arch/arm/nxp/if_enet_imx.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d9597ed05012 -r 419c1a8c1da5 sys/arch/arm/nxp/if_enet_imx.c
--- a/sys/arch/arm/nxp/if_enet_imx.c    Wed Dec 28 18:01:50 2022 +0000
+++ b/sys/arch/arm/nxp/if_enet_imx.c    Thu Dec 29 09:39:43 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_enet_imx.c,v 1.6 2021/01/27 03:10:20 thorpej Exp $  */
+/*     $NetBSD: if_enet_imx.c,v 1.6.18.1 2022/12/29 09:39:43 martin Exp $      */
 
 /*-
  * Copyright (c) 2019 Genetec Corporation.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_enet_imx.c,v 1.6 2021/01/27 03:10:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_enet_imx.c,v 1.6.18.1 2022/12/29 09:39:43 martin Exp $");
 
 #include "opt_fdt.h"
 
@@ -175,7 +175,7 @@
        return;
 
 failure:
-       bus_space_unmap(sc->sc_iot, sc->sc_ioh, size);
+       bus_space_unmap(bst, bsh, size);
        return;
 }
 



Home | Main Index | Thread Index | Old Index