summaryrefslogtreecommitdiff
path: root/arch/c6x
diff options
context:
space:
mode:
authorSimon Graham <simon.graham@virtualcomputer.com>2012-02-08 17:34:23 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2012-02-08 21:07:24 (GMT)
commit42bc0c9716c456a9686fcd4ee5cf115b992b9952 (patch)
tree167e14204cbc3de6857684f79fe8d21a336ddefb /arch/c6x
parent5ad20dd1480dc557afcec19ac7fae5581264dd59 (diff)
downloadlinux-42bc0c9716c456a9686fcd4ee5cf115b992b9952.tar.xz
rtlwifi: Return correct failure code on error
Callers of rtl_pci_init expect zero to be returned on error. Returning the error code leads to, amongst other things, divide by zero panics attempting to use the ring size that is set to zero. Signed-off-by: Simon Graham <simon.graham@virtualcomputer.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'arch/c6x')
0 files changed, 0 insertions, 0 deletions