]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: silence a static checker warning
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 29 Mar 2018 09:03:19 +0000 (12:03 +0300)
committerTakashi Iwai <tiwai@suse.de>
Thu, 29 Mar 2018 09:08:04 +0000 (11:08 +0200)
commitc326b3ddd00160cbe0d6346f948728c673c3e3d0
tree5cdfda6bf3c74e317e73046934c605b5a7b14acb
parentace89693010570ceef068477c9b8fe05cd9ec1e2
ALSA: usb-audio: silence a static checker warning

We recently made "format" a u64 variable so now static checkers complain
that this shift will wrap around if format is more than 31.  I don't
think it makes a difference for runtime, but it's simple to silence the
warning.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/format.c