diff options
author | John W. Linville <linville@tuxdriver.com> | 2012-02-09 14:48:25 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-09 14:49:37 -0500 |
commit | 12325280dfeba18164f9c47e226a40ab34e23ee7 (patch) | |
tree | b032bd02daad20faebfe811895e7b270e50a994a /arch/mips/alchemy/xxs1500/init.c | |
parent | 2cfc6fc584a65db87935ca4e4d5e1ad89d5192ee (diff) | |
download | linux-12325280dfeba18164f9c47e226a40ab34e23ee7.tar.bz2 |
rtlwifi: Modify rtl_pci_init to return 0 on success
Fixes problem where caller would think routine succeeded when it failed
leading to divide by zero panic.
(This also reverts an earlier attempt, commit 42bc0c97 "rtlwifi: Return
correct failure code on error". -- JWL)
Signed-off-by: Simon Graham <simon.graham@virtualcomputer.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'arch/mips/alchemy/xxs1500/init.c')
0 files changed, 0 insertions, 0 deletions