Re: [PATCH 0/2] soc: qcom: qcom_stats: Clean up macro definitions

From: Bjorn Andersson

Date: Thu Jul 30 2026 - 23:26:19 EST



On Thu, 30 Jul 2026 14:16:22 +0530, Maulik Shah wrote:
> This series cleans up macro definitions in qcom_stats.c.
>
> Patch 1 removes five macros (STAT_TYPE_OFFSET, COUNT_OFFSET,
> LAST_ENTERED_AT_OFFSET, LAST_EXITED_AT_OFFSET, ACCUMULATED_OFFSET)
> that are defined but never referenced, as identified by -Wunused-macros.
>
> Patch 2 removes CLIENT_VOTES_OFFSET (0x20) and replaces its single
> use with sizeof(struct sleep_stats), making the MSG_RAM memory layout
> relationship self-documenting: appended_stats immediately follows
> sleep_stats in the shared memory structure.
>
> [...]

Applied, thanks!

[1/2] soc: qcom: qcom_stats: Remove unused macro definitions
commit: 2d361087e8f662c7846e34451ebe19b42bb86db6
[2/2] soc: qcom: qcom_stats: Replace CLIENT_VOTES_OFFSET macro with sizeof()
commit: 8463421f20f67168132fb1b47571741266d872fb

Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>