aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/pensando
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2021-08-08 06:33:44 +0000
committerDavid S. Miller <davem@davemloft.net>2021-08-09 10:18:08 +0100
commit94c0a6fbd5cfc34d3ce5fea5867123402cdc8794 (patch)
tree2533c8d71bbfd6bd27d72573b32a475ba625eb49 /drivers/net/ethernet/pensando
parentMerge branch 'iucv-next' (diff)
downloadlinux-dev-94c0a6fbd5cfc34d3ce5fea5867123402cdc8794.tar.xz
linux-dev-94c0a6fbd5cfc34d3ce5fea5867123402cdc8794.zip
wwan: mhi: Fix missing spin_lock_init() in mhi_mbim_probe()
The driver allocates the spinlock but not initialize it. Use spin_lock_init() on it to initialize it correctly. Fixes: aa730a9905b7 ("net: wwan: Add MHI MBIM network driver") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Reviewed-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pensando')
0 files changed, 0 insertions, 0 deletions