aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2025-03-18 10:57:14 +0000
committerLinus Walleij <[email protected]>2025-03-20 08:14:09 +0000
commit113ec87b0f26a17b02c58aa2714a9b8f1020eed9 (patch)
treeb203e94ad9e672b9a76695ecc3db02e68428184d /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentpinctrl: tegra: Fix off by one in tegra_pinctrl_get_group() (diff)
downloadkernel-113ec87b0f26a17b02c58aa2714a9b8f1020eed9.tar.gz
kernel-113ec87b0f26a17b02c58aa2714a9b8f1020eed9.zip
pinctrl: npcm8xx: Fix incorrect struct npcm8xx_pincfg assignment
Sparse is not happy about implementation of the NPCM8XX_PINCFG() pinctrl-npcm8xx.c:1314:9: warning: obsolete array initializer, use C99 syntax pinctrl-npcm8xx.c:1315:9: warning: obsolete array initializer, use C99 syntax ... pinctrl-npcm8xx.c:1412:9: warning: obsolete array initializer, use C99 syntax pinctrl-npcm8xx.c:1413:9: warning: too many warnings which uses index-based assignment in a wrong way, i.e. it missed the equal sign and hence the index is simply ignored, while the entries are indexed naturally. This is not a problem as the pin numbering repeats the natural order, but it might be in case of shuffling the entries. Fix this by adding missed equal sign and reformat a bit for better readability. Fixes: acf4884a5717 ("pinctrl: nuvoton: add NPCM8XX pinctrl and GPIO driver") Signed-off-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions