[PATCH v1 0/3] soc: mediatek: mtk-cmdq-helper: Various cleanups
Matthias Brugger
matthias.bgg at gmail.com
Wed Oct 2 06:00:17 PDT 2024
On 02/10/2024 11:08, AngeloGioacchino Del Regno wrote:
> On Wed, 18 Sep 2024 12:06:17 +0200, AngeloGioacchino Del Regno wrote:
>> This series performs various cleanups to the MediaTek CMDQ Helper lib,
>> reducing code duplication and enhancing human readability.
>>
>> This also avoids double initialization struct cmdq_instruction as,
>> in some cases, it was stack-initialized to zero and then overwritten
>> completely anyway a bit later.
>> I'd expect compilers to be somehow smart about that, but still, while
>> at it ... why not :-)
>>
>> [...]
>
> Applied to v6.12-next/soc, thanks!
>
> [1/3] soc: mediatek: mtk-cmdq: Move mask build and append to function
> https://git.kernel.org/mediatek/c/2400e830
> [2/3] soc: mediatek: mtk-cmdq: Mark very unlikely branches as such
> https://git.kernel.org/mediatek/c/21ab3dae
> [3/3] soc: mediatek: mtk-cmdq: Move cmdq_instruction init to declaration
> https://git.kernel.org/mediatek/c/66705b89
>
You probably oversaw the sparse warning email on 3/3?
As I oversaw that you already merged this.
Regards,
Matthias
More information about the Linux-mediatek
mailing list