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

2024-09-03 Thread Petr Pavlu
On 8/30/24 07:43, Chunhui Li wrote: > When insmod a kernel module, if fails in add_notes_attrs or > add_sysfs_attrs such as memory allocation fail, mod_sysfs_setup > will still return success, but we can't access user interface > on android device. > > Patch for make mod_sysfs_setup can check the

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

2024-08-31 Thread kernel test robot
git/mcgrof/linux.git modules-next patch link: https://lore.kernel.org/r/20240830054400.26622-1-chunhui.li%40mediatek.com patch subject: [PATCH] module: abort module loading when sysfs setup suffer errors config: powerpc-mpc834x_itx_defconfig (https://download.01.org/0day-ci/archive/20240901/20

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

2024-08-31 Thread kernel test robot
git/mcgrof/linux.git modules-next patch link: https://lore.kernel.org/r/20240830054400.26622-1-chunhui.li%40mediatek.com patch subject: [PATCH] module: abort module loading when sysfs setup suffer errors config: openrisc-defconfig (https://download.01.org/0day-ci/archive/20240901/20240901001

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

2024-08-29 Thread Chunhui Li
When insmod a kernel module, if fails in add_notes_attrs or add_sysfs_attrs such as memory allocation fail, mod_sysfs_setup will still return success, but we can't access user interface on android device. Patch for make mod_sysfs_setup can check the error of add_notes_attrs and add_sysfs_attrs Si