summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2010-10-22 16:32:10 +0200
committerMichal Marek <mmarek@suse.cz>2010-10-28 00:17:16 +0200
commitd0f95c782686dbfbb415d533881a06c2bde17ee0 (patch)
tree9fbe99adf30921b2474944cd90c11b7f11ee8dcb /drivers/leds
parentMerge commit 'v2.6.36' into kbuild/misc (diff)
downloadlinux-d0f95c782686dbfbb415d533881a06c2bde17ee0.tar.xz
linux-d0f95c782686dbfbb415d533881a06c2bde17ee0.zip
kbuild: check return value of asprintf()
Check return value of asprintf() in docsect() and exit if error occurs. This removes following warning: HOSTCC scripts/basic/docproc scripts/basic/docproc.c: In function ‘docsect’: scripts/basic/docproc.c:336: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result Signed-off-by: Namhyung Kim <namhyung@gmail.com> Acked-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions