[PATCH RESEND] mfd/macsmc: make SMC write buffers const
Sven Peter
sven at kernel.org
Wed Oct 8 07:20:35 PDT 2025
On 07.10.25 15:05, 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>
> ---
Reviewed-by: Sven Peter <sven at kernel.org>
Thanks,
Sven
More information about the linux-arm-kernel
mailing list