OpenCloudOS-Kernel/drivers/net/wwan
Loic Poulain b8c55ce266 net: wwan: Fix bit ops double shift
bit operation helpers such as test_bit, clear_bit, etc take bit
position as parameter and not value. Current usage causes double
shift => BIT(BIT(0)). Fix that in wwan_core and mhi_wwan_ctrl.

Fixes: 9a44c1cc63 ("net: Add a WWAN subsystem")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-04-20 16:52:56 -07:00
..
Kconfig
Makefile
mhi_wwan_ctrl.c net: wwan: Fix bit ops double shift 2021-04-20 16:52:56 -07:00
wwan_core.c net: wwan: Fix bit ops double shift 2021-04-20 16:52:56 -07:00