summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-02-09 00:49:34 +0000
committerDavid S. Miller <davem@davemloft.net>2012-02-09 15:43:30 -0500
commit027a3b617c5490b5287d98921675abcbebeb32df (patch)
tree5c00f54e4e20b7f687c10c1392ad476e8eabab4d /net
parent5a46e0f95664bb65e3256f3c53b14b8a627c656b (diff)
downloadop-kernel-dev-027a3b617c5490b5287d98921675abcbebeb32df.zip
op-kernel-dev-027a3b617c5490b5287d98921675abcbebeb32df.tar.gz
bna: fix error handling of bnad_get_flash_partition_by_offset()
The current error handling doesn't work because we flash_part is a u32 so the checks for negative error codes don't work. I considered making things signed but I don't know the hardware enough to say if that's a problem. Really, we don't use the error codes so just returning zero for all problems is fine. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud