Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/include/linux Free the bus crap.



details:   https://anonhg.NetBSD.org/src/rev/e5000491929c
branches:  trunk
changeset: 364634:e5000491929c
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 13:39:33 2018 +0000

description:
Free the bus crap.

diffstat:

 sys/external/bsd/drm2/include/linux/pci.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 1f337cc32f93 -r e5000491929c sys/external/bsd/drm2/include/linux/pci.h
--- a/sys/external/bsd/drm2/include/linux/pci.h Mon Aug 27 13:39:21 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/pci.h Mon Aug 27 13:39:33 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pci.h,v 1.31 2018/08/27 13:39:21 riastradh Exp $       */
+/*     $NetBSD: pci.h,v 1.32 2018/08/27 13:39:33 riastradh Exp $       */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -525,6 +525,7 @@
                return;
 
        KASSERT(ISSET(pdev->pd_kludges, NBPCI_KLUDGE_GET_MUMBLE));
+       kmem_free(pdev->bus, sizeof(*pdev->bus));
        kmem_free(pdev, sizeof(*pdev));
 }
 



Home | Main Index | Thread Index | Old Index