mbox series

[0/6] wifi: rtw89: correct improper data types found by Coverity

Message ID 20241009004300.8144-1-pkshih@realtek.com (mailing list archive)
Headers show
Series wifi: rtw89: correct improper data types found by Coverity | expand

Message

Ping-Ke Shih Oct. 9, 2024, 12:42 a.m. UTC
First patch is to be intended to cast u64 in arithmetic to avoid Coverity
confusing. The others are to use 'int' instead of 'u32' as type of error
code, which are suddenly not to follow coding convention.

Ping-Ke Shih (6):
  wifi: rtw89: wow: cast nd_config->delay to u64 in tsf arithmetic
  wifi: rtw89: pci: use 'int' as return type of error code in
    poll_{tx,rx}dma_ch_idle()
  wifi: rtw89: 8851b: use 'int' as return type of error code
    pwr_{on,off}_func()
  wifi: rtw89: 8852b: use 'int' as return type of error code
    pwr_{on,off}_func()
  wifi: rtw89: 8852bt: use 'int' as return type of error code
    pwr_{on,off}_func()
  wifi: rtw89: 8852c: use 'int' as return type of error code
    pwr_{on,off}_func()

 drivers/net/wireless/realtek/rtw89/fw.c        | 2 +-
 drivers/net/wireless/realtek/rtw89/pci.c       | 6 ++++--
 drivers/net/wireless/realtek/rtw89/rtw8851b.c  | 4 ++--
 drivers/net/wireless/realtek/rtw89/rtw8852b.c  | 4 ++--
 drivers/net/wireless/realtek/rtw89/rtw8852bt.c | 4 ++--
 drivers/net/wireless/realtek/rtw89/rtw8852c.c  | 4 ++--
 6 files changed, 13 insertions(+), 11 deletions(-)