]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: Force checking of io functions' return values
authorIdo Yariv <ido@wizery.com>
Tue, 19 Jun 2012 21:03:46 +0000 (00:03 +0300)
committerLuciano Coelho <coelho@ti.com>
Fri, 22 Jun 2012 07:49:45 +0000 (10:49 +0300)
commitf22eaf1bca1a1b2c35daa2c06bd60869a1873cb3
tree6bbab98111938733b37f7eacbe2fc85b49b47b0c
parentc260be04b5586f7dcd8fec6dc39b9cd2ce6d8854
wlcore: Force checking of io functions' return values

All io functions' return values should be propagated and handled. Add a
__must_check annotation to verify that the return values are checked and
to avoid future mistakes.

Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl12xx/main.c
drivers/net/wireless/ti/wl18xx/io.h
drivers/net/wireless/ti/wlcore/io.h
drivers/net/wireless/ti/wlcore/sdio.c
drivers/net/wireless/ti/wlcore/spi.c
drivers/net/wireless/ti/wlcore/wlcore_i.h