mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-07 09:40:44 +00:00
Fix Sparse warning about invalid access past the end of 'mode'
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
284b08f174
commit
16d55035d7
@ -3007,7 +3007,7 @@ static void omap_prcm_apll_update(struct omap_prcm_s *s)
|
|||||||
s->apll_lock[1] = (mode[1] == 3);
|
s->apll_lock[1] = (mode[1] == 3);
|
||||||
/* TODO: update clocks */
|
/* TODO: update clocks */
|
||||||
|
|
||||||
if (mode[0] == 1 || mode[0] == 2 || mode[1] == 1 || mode[2] == 2)
|
if (mode[0] == 1 || mode[0] == 2 || mode[1] == 1 || mode[1] == 2)
|
||||||
fprintf(stderr, "%s: bad EN_54M_PLL or bad EN_96M_PLL\n",
|
fprintf(stderr, "%s: bad EN_54M_PLL or bad EN_96M_PLL\n",
|
||||||
__FUNCTION__);
|
__FUNCTION__);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user