]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/net/wireless/iwlwifi/iwl-3945.c Fix type issue on 64bit
authorDarren Jenkins <darrenrjenkins@gmail.com>
Wed, 2 Jul 2008 23:41:38 +0000 (09:41 +1000)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jul 2008 19:29:28 +0000 (15:29 -0400)
commit61f06d33aeb6214c1910a5093084e577f1322926
tree0c444007df7337c4a8ffbca237325d56133d3635
parent7a4b2ea1a23aea5e8c2371e6ead87240a6df7dd6
drivers/net/wireless/iwlwifi/iwl-3945.c Fix type issue on 64bit

Coverity CID: 2265 NEGATIVE_RETURNS

"rate" is of an unsigned type, and the code requires a signed type.
The following patch makes it so.

Signed-off-by: Darren Jenkins <darrenrjenkins@gmailcom>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-3945.c