Search Linux Wireless

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.25.1





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux