mirror of
https://github.com/torvalds/linux.git
synced 2026-09-20 19:01:02 +02:00
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> |
||
|---|---|---|
| .. | ||
| ehea_ethtool.c | ||
| ehea_hw.h | ||
| ehea_main.c | ||
| ehea_phyp.c | ||
| ehea_phyp.h | ||
| ehea_qmr.c | ||
| ehea_qmr.h | ||
| ehea.h | ||
| Makefile | ||