class_register() always returns 0
Quoted 6 lines · Leann Ogasawara
Hi All,
I noticed that the
class_register()function indrivers/base/class.calways returns 0 and thus will never fail. Patch below inserts simple error checking to return any errors if they occur. Feedback welcome. Thanks,
Looks good, applied, thanks.
greg k-h
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors