diff options
author | Loic Poulain <loic.poulain@linaro.org> | 2021-04-20 20:49:31 +0200 |
---|---|---|
committer | Loic Poulain <loic.poulain@linaro.org> | 2021-04-20 21:01:04 +0200 |
commit | 37d8a618dd7251f3dda0455bfa87d5d172e2f174 (patch) | |
tree | fcf97dbc741fcb4c04edf383882f039cb10da947 /kernel/configs/mhi.config | |
parent | 30eb45e68eeafa3809da77b98aff7b5bc0ed3e5e (diff) |
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: 9a44c1cc6388 ("net: Add a WWAN subsystem")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Diffstat (limited to 'kernel/configs/mhi.config')
0 files changed, 0 insertions, 0 deletions