git: uchcom: Fix panic when accessing a ucom device based on uchcom
lentferj at crater.dragonflybsd.org
Mon Jan 11 11:27:42 PST 2010
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(-)
DragonFly BSD source repository
More information about the Commits