Generated with the following coccinelle script: virtual patch @@ identifier ag, pattrs; @@ struct attribute_group ag = { .attrs = pattrs, - NULL }; This series is meant to be applied through the driver-core tree. See also: https://lore.kernel.org/lkml/71fe4030-d6a1-47da-b8a7-28b899187168@xxxxxxxx/ Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx> --- Thomas Weißschuh (3): perf: arm-ni: Remove spurious NULL in attribute_group definition s390/con3215: Remove spurious NULL in attribute_group definition cpu: Remove spurious NULL in attribute_group definition drivers/perf/arm-ni.c | 1 - drivers/s390/char/con3215.c | 1 - kernel/cpu.c | 3 --- 3 files changed, 5 deletions(-) --- base-commit: 5943c0dc7912210be1ab2732e0b663c1082ab543 change-id: 20241118-sysfs-const-attribute_group-fixes-6e7a77c40535 Best regards, -- Thomas Weißschuh <linux@xxxxxxxxxxxxxx>