]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drivers: hv: fix up const issue with vmbus_chan_bin_attrs
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 May 2025 09:29:34 +0000 (11:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 May 2025 09:31:39 +0000 (11:31 +0200)
commitec18d5c41e01c9833cf12ad97be76981301bb956
treeb3e8c1261d4cfbb1447bbe6f2b87c5040c8be196
parentf27ae3a6cebc18a864e1dbee98c9e6c12e72b526
drivers: hv: fix up const issue with vmbus_chan_bin_attrs

In commit 9bec944506fa ("sysfs: constify attribute_group::bin_attrs"),
the bin_attributes are now required to be const.  Due to merge issues,
the original commit could not modify this structure (it came in through
a different branch.)  Fix this up now by setting the variable properly.

Cc: Thomas Weißschuh <linux@weissschuh.net>
Cc: Naman Jain <namjain@linux.microsoft.com>
Fixes: 9bec944506fa ("sysfs: constify attribute_group::bin_attrs")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/vmbus_drv.c