]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
v4l-dev2: handle __must_check
authorAndrew Morton <akpm@osdl.org>
Tue, 15 Aug 2006 05:43:19 +0000 (22:43 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 26 Sep 2006 04:08:39 +0000 (21:08 -0700)
commit8a6914ab7c95d471c23b42268aa8e1f55b3d2fdb
treea92155e860df4bd9d25e63958c3f3ffa59935cb9
parentcebc04ba9aeb3a646cc746300421fc0e5aa4f253
v4l-dev2: handle __must_check

We get hundreds of these:

include/media/v4l2-dev.h:348: warning: ignoring return value of 'class_device_create_file', declared with attribute warn_unused_result

Handle it, and propagate the __must_check back a level.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/media/v4l2-dev.h