[PATCH] module: abort module loading when sysfs setup suffer errors

2024-08-29 Thread Chunhui Li
attrs Signed-off-by: Xion Wang Signed-off-by: Chunhui Li --- kernel/module/sysfs.c | 49 ++- 1 file changed, 35 insertions(+), 14 deletions(-) diff --git a/kernel/module/sysfs.c b/kernel/module/sysfs.c index 26efe1305c12..a9ee650d995d 100644 --- a/kernel/m

[PATCH v2] module: abort module loading when sysfs setup suffer errors

2024-09-04 Thread Chunhui Li
attrs. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202409010016.3xifsmra-...@intel.com/ Signed-off-by: Xion Wang Signed-off-by: Chunhui Li --- kernel/module/sysfs.c | 53 +-- 1 file changed, 36 insertions(+), 17 dele

[PATCH v3 0/1] fix module sysfs patch defect

2024-09-06 Thread Chunhui Li
event the ko from being inserted with insmod. This ensures that as long as the .ko is successfully loaded, all necessary information for debugging is available. Thanks for your time. Chunhui Li (1): module: abort module loading when sysfs setup suffer errors kernel/module/sys

[PATCH v3 1/1] module: abort module loading when sysfs setup suffer errors

2024-09-06 Thread Chunhui Li
attrs Acked-by: Luis Chamberlain Reviewed-by: Petr Pavlu Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202409010016.3xifsmra-...@intel.com/ Signed-off-by: Xion Wang Signed-off-by: Chunhui Li --- kernel/module/sysfs.c | 57 +++--

[PATCH v4 0/1] fix sysfs patch build warning and add fixes

2024-09-10 Thread Chunhui Li
com/torvalds/linux/commit/6d76013381ed28979cd122eb4b249a88b5e384fa Add /sys/module/name/notes Thanks for your patience. Chunhui Li (1): module: abort module loading when sysfs setup suffer errors kernel/module/sysfs.c | 63 --- 1 file changed, 42 insertions(+), 21 deletions(-) -- 2.45.2

[PATCH v4 1/1] module: abort module loading when sysfs setup suffer errors

2024-09-10 Thread Chunhui Li
intel.com/ Closes: https://lore.kernel.org/oe-kbuild-all/202409072018.qfezzbo7-...@intel.com/ Signed-off-by: Xion Wang Signed-off-by: Chunhui Li --- kernel/module/sysfs.c | 63 --- 1 file changed, 42 insertions(+), 21 deletions(-) diff --git a/kernel/modul