Re: [PATCH v2 04/15] block: Add block device LED trigger integrations
From: Marek Behún <kabel@kernel.org>
Date: 2021-09-10 01:38:31
Also in:
linux-leds, lkml
From: Marek Behún <kabel@kernel.org>
Date: 2021-09-10 01:38:31
Also in:
linux-leds, lkml
On Thu, 9 Sep 2021 17:25:02 -0500 Ian Pilcher [off-list ref] wrote:
@@ -166,6 +166,9 @@ struct gendisk { #endif /* CONFIG_BLK_DEV_INTEGRITY */ #if IS_ENABLED(CONFIG_CDROM) struct cdrom_device_info *cdi; +#endif +#if IS_ENABLED(CONFIG_LEDS_TRIGGER_BLKDEV) + struct ledtrig_blkdev_disk *ledtrig; #endif
So in this patch you are adding pointer to a structure, but the structure is introduced in a later patch (07/15). Please send these changes as one patch, it is easier to review. Marek