]> git.baikalelectronics.ru Git - kernel.git/commit
rndis_wlan: harmless issue calling set_bit()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 14 May 2015 08:37:50 +0000 (11:37 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 May 2015 10:55:04 +0000 (13:55 +0300)
commit7c29b6ecd4311efd3db700902d11f3c18f752eba
tree659525276edc3233a4300917e7c23276eb75a7e5
parent937dd0fb8035768b33b64046775380cd2bc5d15b
rndis_wlan: harmless issue calling set_bit()

These are used like:

set_bit(WORK_LINK_UP, &priv->work_pending);

The problem is that set_bit() takes the actual bit number and not a mask
so static checkers get upset.  It doesn't affect run time because we do
it consistently, but we may as well clean it up.

Fixes: aae915df8d43 ('rndis_wlan: do link-down state change in worker thread')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rndis_wlan.c