e8edc32d70
Clang warns:
drivers/staging/rtlwifi/halmac/halmac_88xx/halmac_func_88xx.c:2472:11:
warning: implicit conversion from enumeration type 'enum
halmac_cmd_process_status' to different enumeration type 'enum
halmac_ret_status' [-Wenum-conversion]
return HALMAC_CMD_PROCESS_ERROR;
~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Fix this by using the proper enum for allocation failures,
HALMAC_RET_MALLOC_FAIL, which is used in the rest of this file.
Fixes:
|
||
---|---|---|
.. | ||
btcoexist | ||
halmac | ||
phydm | ||
rtl8822be | ||
Kconfig | ||
Makefile | ||
TODO | ||
base.c | ||
base.h | ||
cam.c | ||
cam.h | ||
core.c | ||
core.h | ||
debug.c | ||
debug.h | ||
efuse.c | ||
efuse.h | ||
pci.c | ||
pci.h | ||
ps.c | ||
ps.h | ||
pwrseqcmd.h | ||
rc.c | ||
rc.h | ||
regd.c | ||
regd.h | ||
stats.c | ||
stats.h | ||
wifi.h |