summaryrefslogtreecommitdiffstats
path: root/block/bsg.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2020-11-17 02:22:29 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-09 15:38:13 +0100
commitd1b928ee1cfa965a3327bbaa59bfa005d97fa0fe (patch)
tree8e2b46ba3fb37bf02d774d6c5d0e19c72a172248 /block/bsg.c
parentMerge tag 'phy-for-5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/phy... (diff)
downloadlinux-d1b928ee1cfa965a3327bbaa59bfa005d97fa0fe.tar.xz
linux-d1b928ee1cfa965a3327bbaa59bfa005d97fa0fe.zip
speakup: fix uninitialized flush_lock
The flush_lock is uninitialized, use DEFINE_SPINLOCK to define and initialize flush_lock. Fixes: c6e3fd22cd53 ("Staging: add speakup to the staging directory") Reported-by: Hulk Robot <hulkci@huawei.com> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20201117012229.3395186-1-yangyingliang@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions