diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2016-12-12 16:40:59 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-12 18:55:06 -0800 |
commit | 4170a20f21e734b14317a65baaccc4078eef5198 (patch) | |
tree | b8a6c47d5431016782c8304e57ac11e4c4e5c150 /firmware | |
parent | 17e96230d95cc2b7eb7d039415d3506340257b5e (diff) | |
download | linux-4170a20f21e734b14317a65baaccc4078eef5198.tar.bz2 |
drivers/pcmcia/m32r_pcc.c: check return from request_irq
While building m32r allmodconfig we were getting warning:
drivers/pcmcia/m32r_pcc.c:331:2: warning: ignoring return value of 'request_irq', declared with attribute warn_unused_result
request_irq() can fail and we should always be checking the result from
it. Check the result and return it to the caller.
Link: http://lkml.kernel.org/r/1474237304-897-1-git-send-email-sudipm.mukherjee@gmail.com
Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions