git: uchcom: Fix panic when accessing a ucom device based on uchcom
Jan Lentfer
lentferj at crater.dragonflybsd.org
Mon Jan 11 11:27:42 PST 2010
commit 95a382e168011c3b52fe297c70637a5cd9bd90ca
Author: Jan Lentfer <Jan.Lentfer at 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
More information about the Commits
mailing list