Module Name:    src
Committed By:   rkujawa
Date:           Fri Feb 15 17:44:41 UTC 2013

Modified Files:
        src/sys/dev/spi: spi.c

Log Message:
Fix usage of uninitialised variable holding number of slave devices.
The sc_nslaves has to be initialised before it is used in allocation of a 
memory holding save devices' configuration, otherwise slave drivers are causing 
kernel crashes.

Patch from Semihalf.
Author: Michal Dubiel <m...@semihalf.com>


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/spi/spi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to