summaryrefslogtreecommitdiffstats
path: root/lib/Kconfig.debug
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-08-15 07:43:17 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-26 06:08:39 +0200
commit4a7fb6363f2d1a6c09a10253937f672f3c7929e1 (patch)
tree46e70fc8baca37ffd901c472ce7ce13338fb4ece /lib/Kconfig.debug
parentDriver core: fixed add_bind_files() definition (diff)
downloadlinux-4a7fb6363f2d1a6c09a10253937f672f3c7929e1.tar.xz
linux-4a7fb6363f2d1a6c09a10253937f672f3c7929e1.zip
add __must_check to device management code
We're getting a lot of crashes in the sysfs/kobject/device/bus/class code and they're very hard to diagnose. I'm suspecting that in some cases this is because drivers aren't checking return values and aren't handling errors correctly. So the code blithely blunders on and crashes later in very obscure ways. There's just no reason to ignore errors which can and do occur. So the patch sprinkles __must_check all over these APIs. Causes 1,513 new warnings. Heh. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions