]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: rtw89: 8852bt: use 'int' as return type of error code pwr_{on,off}_func()
authorPing-Ke Shih <pkshih@realtek.com>
Wed, 9 Oct 2024 00:42:59 +0000 (08:42 +0800)
committerPing-Ke Shih <pkshih@realtek.com>
Sun, 20 Oct 2024 02:31:54 +0000 (10:31 +0800)
commitc72c54fd96d0e70e34386cf5b0da4d146a268df5
tree8e8237e4bf0a37669245d31cf98055e2a3232212
parent50e9febff35fd5306973283f745abf15e2c5aba1
wifi: rtw89: 8852bt: use 'int' as return type of error code pwr_{on,off}_func()

The return type of error code of rtw8852bt_pwr_{on,off}_func() and its
callee is 'int'. Correct it.

Addresses-Coverity-ID: 1630962 ("Overflowed constant")
Addresses-Coverity-ID: 1632126 ("Overflowed constant")

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20241009004300.8144-6-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/rtw8852bt.c