summaryrefslogtreecommitdiff
path: root/drivers/cdx/controller/cdx_controller.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-05-21 17:16:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-24 18:44:44 +0300
commitbf7b4a0e25569ce39c6749afe363aefe5723d326 (patch)
tree83d6efa8db97277c037c09842e197f8230f667c5 /drivers/cdx/controller/cdx_controller.c
parent8070aa7be066fe2e7708b69412f0a8e0d9322c69 (diff)
downloadlinux-bf7b4a0e25569ce39c6749afe363aefe5723d326.tar.xz
drivers: misc: sram: fix up some const issues with recent attribute changes
The binary attribute const changes recently for the sram driver were made in a way that hid the fact that we would be casting a const pointer to a non-const one. So explicitly make the cast so that it is obvious and preserve the const pointer in the sram_reserve_cmp() function. Cc: Arnd Bergmann <arnd@arndb.de> Cc: Thomas Weißschuh <linux@weissschuh.net> Fixes: c3b8c358c4f3 ("misc: sram: constify 'struct bin_attribute'") Link: https://lore.kernel.org/r/2025052125-squid-sandstorm-a418@gregkh Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions