[PATCH RESEND] mfd/macsmc: make SMC write buffers const
Lee Jones
lee at kernel.org
Thu Oct 9 05:26:13 PDT 2025
On Tue, 07 Oct 2025, Atharva Tiwari wrote:
> Mark the write buffer arguments in apple_smc_write(), apple_smc_rw(),
> and apple_smc_write_atomic() as const. These functions do not modify
> the data provided by the caller, so the parameters should be const
> qualified.
>
> Signed-off-by: Atharva Tiwari <atharvatiwarilinuxdev at gmail.com>
> ---
> drivers/mfd/macsmc.c | 6 +++---
> include/linux/mfd/macsmc.h | 6 +++---
> 2 files changed, 6 insertions(+), 6 deletions(-)
Applied, thanks
--
Lee Jones [李琼斯]
More information about the linux-arm-kernel
mailing list