diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-06-15 15:00:31 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-06-17 16:33:39 -0700 |
| commit | 1c4b39746c4ba32370e9a60801e96181bc1260a3 (patch) | |
| tree | 7c4686aa8c0c401ef07a66c1ebb53ffa568a99a4 /scripts/Makefile.thinlto | |
| parent | 4f6ac65e81625165257131ec2574bb6bb09bd7d8 (diff) | |
net: ehea: unwind probe_port sysfs file on failure
ehea_create_device_sysfs() creates probe_port and then remove_port. If
the second device_create_file() fails, the helper returns the error but
leaves probe_port installed even though probe treats the sysfs setup as
failed.
Remove probe_port on the remove_port creation failure path so the helper
leaves no partial sysfs state behind.
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20260615070033.43461-1-pengpeng@iscas.ac.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
