Re: [PATCH RESEND] mfd/macsmc: make SMC write buffers const

From: Lee Jones
Date: Thu Oct 09 2025 - 08:26:39 EST


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@xxxxxxxxx>
> ---
> drivers/mfd/macsmc.c | 6 +++---
> include/linux/mfd/macsmc.h | 6 +++---
> 2 files changed, 6 insertions(+), 6 deletions(-)

Applied, thanks

--
Lee Jones [李琼斯]