mbox series

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

Message ID 20240911032802.22413-1-chunhui.li@mediatek.com (mailing list archive)
Headers show
Series fix sysfs patch build warning and add fixes | expand

Message

Chunhui Li Sept. 11, 2024, 3:28 a.m. UTC
Hi Maintainer,

V4:
-Fix build warning when CONFIG_KALLSYMS is not enabled;
-Add Fixes tag;

I can't find add_sect_attrs and add_notes_attrs commit in linux.next git log,
and Petr Pavlu show /sys/module patch link when review,
so I label Fixes as below, If incorrect please notify me. 

Fixes: db939b519bea ("Module section offsets in /sys/module")
Fixes: 6d76013381ed ("Add /sys/module/name/notes")

https://github.com/mpe/linux-fullhistory/commit/db939b519bea9b88ae1c95c3b479c0b07145f2a0
[PATCH] Module section offsets in /sys/module

https://github.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(-)