summaryrefslogtreecommitdiff
path: root/drivers/leds/TODO
diff options
context:
space:
mode:
authorYonglong Liu <liuyonglong@huawei.com>2024-03-25 20:43:10 +0800
committerPaolo Abeni <pabeni@redhat.com>2024-03-26 15:32:39 +0100
commit93305b77ffcb042f1538ecc383505e87d95aa05a (patch)
treed5fa6b4ffef8b718527ce24804d027b00d78a273 /drivers/leds/TODO
parent47e39d213e09c6cae0d6b4d95e454ea404013312 (diff)
net: hns3: fix kernel crash when devlink reload during pf initialization
The devlink reload process will access the hardware resources, but the register operation is done before the hardware is initialized. So, processing the devlink reload during initialization may lead to kernel crash. This patch fixes this by taking devl_lock during initialization. Fixes: b741269b2759 ("net: hns3: add support for registering devlink for PF") Signed-off-by: Yonglong Liu <liuyonglong@huawei.com> Signed-off-by: Jijie Shao <shaojijie@huawei.com> Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/leds/TODO')
0 files changed, 0 insertions, 0 deletions