<yhchuang@xxxxxxxxxxx> wrote: > From: Chin-Yen Lee <timlee@xxxxxxxxxxx> > > Clang warns that ret is used uninitialzed. > And we found that actually the return type should be "int" instead > of "bool". > > Fixes: 44bc17f7f5b3 ("rtw88: support wowlan feature for 8822c") > Link: https://github.com/ClangBuiltLinux/linux/issues/850 > Reported-by: Nathan Chancellor <natechancellor@xxxxxxxxx> > Signed-off-by: Chin-Yen Lee <timlee@xxxxxxxxxxx> > Signed-off-by: Yan-Hsuan Chuang <yhchuang@xxxxxxxxxxx> > Reviewed-by: Nathan Chancellor <natechancellor@xxxxxxxxx> > Tested-by: Nathan Chancellor <natechancellor@xxxxxxxxx> # build Patch applied to wireless-drivers.git, thanks. ebe8e6116ac4 rtw88: Fix return value of rtw_wow_check_fw_status -- https://patchwork.kernel.org/patch/11362063/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches