]> git.hungrycats.org Git - linux/commit
kobject: fix oops in to_kset()
authorPatrick Mochel <mochel@osdl.org>
Mon, 3 Mar 2003 03:59:26 +0000 (21:59 -0600)
committerPatrick Mochel <mochel@osdl.org>
Mon, 3 Mar 2003 03:59:26 +0000 (21:59 -0600)
commitad5429c74ca331087f02f336e6cbc8fabad53043
tree0c7685f502203e0a6d04365cbf2204230259af73
parent75afd0da1519c9bb5da206b1d8629d88a2a8e0ed
kobject: fix oops in to_kset()

Check whether kset is NULL or not before doing container_of().

From Dominik Brodowski
include/linux/kobject.h