diff options
author | Chin-Yen Lee <timlee@realtek.com> | 2020-02-03 07:01:57 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2020-02-03 19:10:31 +0100 |
commit | ebe8e6116ac49d182b060f843904caf5eacf5b87 (patch) | |
tree | 3f992afd6e8feb951ffa4d9b4b6fb9779b7b4510 /fs/eventpoll.c | |
parent | iwlwifi: d3: read all FW CPUs error info (diff) | |
download | linux-ebe8e6116ac49d182b060f843904caf5eacf5b87.tar.xz linux-ebe8e6116ac49d182b060f843904caf5eacf5b87.zip |
rtw88: Fix return value of rtw_wow_check_fw_status
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@gmail.com>
Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com> # build
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'fs/eventpoll.c')
0 files changed, 0 insertions, 0 deletions