Re: [PATCH 1/8] drm/msm/a6xx: Check BX dependency vote index
From: Konrad Dybcio
Date: Mon Oct 26 2026 - 05:46:44 EST
On 10/24/26 12:30 PM, Akhil P Oommen wrote:
> a6xx_gmu_rpmh_arc_index() returns a signed error value. Check the result
> before passing it to FIELD_MODIFY(), which rejects a compiler-propagated
> negative value as too large for the field.
>
> Fixes: 020b8eaa1db8 ("drm/msm/a6xx: Add BX rail support to GMU dependency votes")
> Cc: stable@xxxxxxxxxxxxxxx
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202610070334.bYvBJSpj-lkp@xxxxxxxxx/
> Signed-off-by: Akhil P Oommen <akhilpo@xxxxxxxxxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad