Thread (6 messages) 6 messages, 3 authors, 2026-03-01

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

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2026-02-28 14:58:54
Also in: linux-clk, linux-samsung-soc, lkml, stable

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 [off-list ref]

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help