diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-12-29 17:51:51 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-01-08 00:16:54 +0400 |
commit | a02308e931ad0bba19803779bec491c4b2d67b47 (patch) | |
tree | a4b4f475811c87b5e0b0e4b5dff36777b6c085c9 /lib/dma-debug.c | |
parent | e1b97c9bc5902ec8b36247bcb7c3552895611485 (diff) | |
download | linux-a02308e931ad0bba19803779bec491c4b2d67b47.tar.xz |
rt2x00: rt2800: convert read_eeprom functions to return an int value
Both the rtt2x00usb_eeprom_read and the ioremap
functions are allowed to fail, however their
return values are not checked in the read_eeprom
functions in the rt2800{pci,usb} drivers.
The patch adds the missing checks, and converts
all read_eeprom functions to return an int value,
so the error values can be propagated up to the
'rt2800_validate_eeprom' function.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions