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 correct typo



details:   https://anonhg.NetBSD.org/src/rev/f35fc5a0f988
branches:  trunk
changeset: 992868:f35fc5a0f988
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 13:40:15 2018 +0000

description:
correct typo

shows up as null deref in finish_csr_load.


Author: coypoop <coypu%sdf.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>

diffstat:

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

diffs (18 lines):

diff -r 61f3db462e7e -r f35fc5a0f988 sys/external/bsd/drm2/include/linux/firmware.h
--- a/sys/external/bsd/drm2/include/linux/firmware.h    Mon Aug 27 13:40:03 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/firmware.h    Mon Aug 27 13:40:15 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: firmware.h,v 1.8 2018/08/27 07:24:54 riastradh Exp $   */
+/*     $NetBSD: firmware.h,v 1.9 2018/08/27 13:40:15 riastradh Exp $   */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -159,7 +159,7 @@
        /* Initialize the work.  */
        work->flw_name = namedup;
        work->flw_callback = callback;
-       work->flw_cookie = callback;
+       work->flw_cookie = cookie;
        work->flw_device = device;
        work->flw_module = module;
        INIT_WORK(&work->flw_work, request_firmware_work);



Home | Main Index | Thread Index | Old Index