summaryrefslogtreecommitdiff
path: root/include/xen/xen.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2012-01-05 03:05:10 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2012-01-05 03:05:10 +0400
commitb9d4e714a86a4e88c2f530c76597f7025e5851d6 (patch)
treebd6636d2105de4f849160a7a435fff232d6b76d3 /include/xen/xen.h
parent3b85e4ab2ec1dea29374f16205917b1b5589bc81 (diff)
downloadlinux-b9d4e714a86a4e88c2f530c76597f7025e5851d6.tar.xz
driver core: remove __must_check from device_create_file
With the conversion of the sysdev to a real struct device, more drivers are calling device_create_file, and some of them don't check the return value, which isn't wise. But as they happen to be in parts of the kernel where a warning is considered an error (i.e. powerpc), this breaks the build. So for now, remove the marking on the function, which fixes the build problems. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/xen/xen.h')
0 files changed, 0 insertions, 0 deletions