diff options
| author | Khairul Anuar Romli <[email protected]> | 2025-11-02 23:21:28 +0000 |
|---|---|---|
| committer | Dinh Nguyen <[email protected]> | 2025-11-03 12:24:19 +0000 |
| commit | d0fcf70c680e4d1669fcb3a8632f41400b9a73c2 (patch) | |
| tree | 122ac265647504c99dda9870c2221f13b679b28a /lib/test_fortify/write_overflow-strlcpy-src.c | |
| parent | Linux 6.18-rc4 (diff) | |
| download | kernel-d0fcf70c680e4d1669fcb3a8632f41400b9a73c2.tar.gz kernel-d0fcf70c680e4d1669fcb3a8632f41400b9a73c2.zip | |
firmware: stratix10-svc: fix bug in saving controller data
Fix the incorrect usage of platform_set_drvdata and dev_set_drvdata. They
both are of the same data and overrides each other. This resulted in the
rmmod of the svc driver to fail and throw a kernel panic for kthread_stop
and fifo free.
Fixes: b5dc75c915cd ("firmware: stratix10-svc: extend svc to support new RSU features")
Cc: [email protected] # 6.6+
Signed-off-by: Ang Tien Sung <[email protected]>
Signed-off-by: Khairul Anuar Romli <[email protected]>
Signed-off-by: Dinh Nguyen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions
