git: uchcom: Fix panic when accessing a ucom device based on uch

看板DFBSD_commit作者時間16年前 (2010/01/12 03:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 95a382e168011c3b52fe297c70637a5cd9bd90ca Author: Jan Lentfer <Jan.Lentfer@web.de> Date: Mon Jan 11 20:20:07 2010 +0100 uchcom: Fix panic when accessing a ucom device based on uchcom The panic was due to uchcom_param arg being always NULL, since ucom->sc_parent wasn't initialized properly. All other usb serial drivers also seem to do it this way. Summary of changes: sys/dev/usbmisc/uchcom/uchcom.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/95a382e168011c3b52fe297c70637a5cd9bd90ca -- DragonFly BSD source repository
文章代碼(AID): #1BItouYw (DFBSD_commit)