diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2014-05-16 12:04:50 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-16 22:34:32 +0400 |
commit | 18bd6df23dd5d8560d9d5993a3257d0bb2c31e66 (patch) | |
tree | 144cbe27a741533cd588434477a76751c06552af | |
parent | 95d412d830f453c021dc6000a8180d18deae7985 (diff) | |
download | linux-18bd6df23dd5d8560d9d5993a3257d0bb2c31e66.tar.xz |
staging: rtl8723au: hal_com.c: Fix one case of returning status in an s32
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/rtl8723au/hal/hal_com.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723au/hal/hal_com.c b/drivers/staging/rtl8723au/hal/hal_com.c index bb948e595be3..29e0ec9acb65 100644 --- a/drivers/staging/rtl8723au/hal/hal_com.c +++ b/drivers/staging/rtl8723au/hal/hal_com.c @@ -355,9 +355,9 @@ void c2h_evt_clear23a(struct rtw_adapter *adapter) rtw_write8(adapter, REG_C2HEVT_CLEAR, C2H_EVT_HOST_CLOSE); } -s32 c2h_evt_read23a(struct rtw_adapter *adapter, u8 *buf) +int c2h_evt_read23a(struct rtw_adapter *adapter, u8 *buf) { - s32 ret = _FAIL; + int ret = _FAIL; struct c2h_evt_hdr *c2h_evt; int i; u8 trigger; |