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

From: Sven Peter
Date: Wed Oct 08 2025 - 10:20:48 EST


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@xxxxxxxxx>
---

Reviewed-by: Sven Peter <sven@xxxxxxxxxx>


Thanks,


Sven