[ 032/101] staging: comedi: amplc_pc263: fix possible NULL deref during detach

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit 1d1171ffda585c1cab7bd7cf4bd8f8fd5923fb4a upstream. `pc263_detach()` is called by the comedi core to clean up if either `pc263_attach()` or `pc263_attach_pci()` returns an

[ 032/101] staging: comedi: amplc_pc263: fix possible NULL deref during detach

2012-10-29 Thread Greg Kroah-Hartman
3.6-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott abbo...@mev.co.uk commit 1d1171ffda585c1cab7bd7cf4bd8f8fd5923fb4a upstream. `pc263_detach()` is called by the comedi core to clean up if either `pc263_attach()` or