mbox series

[0/3] sysfs: treewide: Remove spurious NULL in attribute_group definition

Message ID 20241118-sysfs-const-attribute_group-fixes-v1-0-48e0b0ad8cba@weissschuh.net (mailing list archive)
Headers show
Series sysfs: treewide: Remove spurious NULL in attribute_group definition | expand

Message

Thomas Weißschuh Nov. 18, 2024, 3:02 p.m. UTC
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@t-8ch.de/

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
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,

Comments

Greg KH Nov. 18, 2024, 3:22 p.m. UTC | #1
On Mon, Nov 18, 2024 at 04:02:46PM +0100, Thomas Weißschuh wrote:
> 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@t-8ch.de/
> 
> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>

All now applied, thanks!

greg k-h