From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6EFF0449EB3; Sat, 28 Feb 2026 14:58:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772290734; cv=none; b=srWrRVfXsQLYwVMgr5mx5T87tSnH06wuvZm6eR1IFzC/vmOH5NbyKoRFBRIhgPyUrwnF8C118iQagno3BFY8kckb3+uh+3Z2EsDKHNjK4KfY0SapqV3rsGUXC39cPHIgbgnzuy6TWIRDzFxYcjr8HoOCtk5I3+4V3Rfuhl/nq3E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772290734; c=relaxed/simple; bh=0OyJcWNteWiTO58j6Le8ba8Qir8zEk0kOYFEoDW4tXk=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=FXHbHgNOBufd0aRO+r/EWJ0gx78Uzk8ilidpZv3x2Z/FqHcujLGFHqN7IbHJsbleDmhMDQdgJSJ/FofapFFOqxgUVk15391/DOumpEl1HE606lAzK+FfoGCGQgWOYyN6x7qcorZ4Lfmrut7CqN7LG4dgwZ/wASil1AyGQFqShTQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=W56Lrb+4; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="W56Lrb+4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8EE81C19421; Sat, 28 Feb 2026 14:58:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772290734; bh=0OyJcWNteWiTO58j6Le8ba8Qir8zEk0kOYFEoDW4tXk=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=W56Lrb+47NZ+p+mBAUphKa58Oxz8ePjhF0kTbndR+xz0Vy3I6WAlMjicTc/GmLIPv 99F6qwsxRi4WUzzTFlfzQDJlioC6/dApQj9gpL6TPZcVWOFeduSty3Y22bpBzLokCO YRXfO7lRoKJnODF8DaIb4M/89rt+e8WjTtjqb5TFIq9U9qLi9onishF/VMGeJ3wjB9 rnNdXz3x0l0ReLau2+rV4M0mRxaPUa5F+ZCjMqLkknAKvly43cCvrsfmwhGzS/8CWR 08d8T2kt7EfiRrmM75cuimPxPbHDDrofMZk3z35kndaglOVunQckq4eXmFCKjLFYo+ NkiyUN3NlUZTQ== From: Krzysztof Kozlowski To: Tudor Ambarus , Sylwester Nawrocki , Chanwoo Choi , Alim Akhtar , Michael Turquette , Stephen Boyd , =?utf-8?q?Andr=C3=A9_Draszik?= , Lee Jones , linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski Cc: stable@vger.kernel.org In-Reply-To: <20260224104203.42950-2-krzysztof.kozlowski@oss.qualcomm.com> References: <20260224104203.42950-2-krzysztof.kozlowski@oss.qualcomm.com> Subject: Re: [PATCH v2] firmware: exynos-acpm: Drop fake 'const' on handle pointer Message-Id: <177229073130.58647.11987139126675596860.b4-ty@kernel.org> Date: Sat, 28 Feb 2026 15:58:51 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.14.3 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