[PATCH v2] firmware: exynos-acpm: Drop fake 'const' on handle pointer

Krzysztof Kozlowski krzk at kernel.org
Sat Feb 28 06:58:51 PST 2026


On Tue, 24 Feb 2026 11:42:04 +0100, Krzysztof Kozlowski wrote:
> All the functions operating on the 'handle' pointer are claiming it is a
> pointer to const thus they should not modify the handle.  In fact that's
> a false statement, because first thing these functions do is drop the
> cast to const with container_of:
> 
>   struct acpm_info *acpm = handle_to_acpm_info(handle);
> 
> [...]

Applied, thanks!

[1/1] firmware: exynos-acpm: Drop fake 'const' on handle pointer
      https://git.kernel.org/krzk/linux/c/a2be37eedb52ea26938fa4cc9de1ff84963c57ad

Best regards,
-- 
Krzysztof Kozlowski <krzk at kernel.org>




More information about the linux-arm-kernel mailing list