mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 15:40:56 +07:00
3fc4147653
Shifting the integer value 1 is evaluated using 32-bit arithmetic and then used in an expression that expects a 64-bit value, so there is potentially an integer overflow. Fix this by using the BIT_ULL macro to perform the shift. [ Note: as of the time being, no actual integer overflow hits because all values are less than 32bit, not including the extended 3-byte or DSD formats. But this is the right fix for future usage, of course. -- tiwai ] Addresses-Coverity: ("Unintentional integer overflow") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
xen_snd_front_alsa.c | ||
xen_snd_front_alsa.h | ||
xen_snd_front_cfg.c | ||
xen_snd_front_cfg.h | ||
xen_snd_front_evtchnl.c | ||
xen_snd_front_evtchnl.h | ||
xen_snd_front.c | ||
xen_snd_front.h |