Commit 53bc3e1f authored by Zeng Heng's avatar Zeng Heng
Browse files

spi: fix kabi breakage in struct spi_controller

hulk inclusion
category: bugfix
bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9RBZI


CVE: CVE-2021-47469

--------------------------------

Move struct mutex add_lock from struct spi_controller to struct
device in case of kabi breakage in struct spi_controller.

Fixes: 6098475d ("spi: Fix deadlock when adding SPI controllers on SPI buses")
Signed-off-by: default avatarZeng Heng <zengheng4@huawei.com>
parent 0003ab2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment