OpenCloudOS-Kernel/drivers/accessibility
Yang Yingliang d1b928ee1c speakup: fix uninitialized flush_lock
The flush_lock is uninitialized, use DEFINE_SPINLOCK
to define and initialize flush_lock.

Fixes: c6e3fd22cd ("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>
2020-12-09 15:38:13 +01:00
..
braille treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
speakup speakup: fix uninitialized flush_lock 2020-12-09 15:38:13 +01:00
Kconfig staging/speakup: Move out of staging 2020-07-29 14:02:41 +02:00
Makefile staging/speakup: Move out of staging 2020-07-29 14:02:41 +02:00