diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-07-26 00:19:44 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-07-27 10:05:33 +0300 |
commit | e5d3765b6c4cb3ba64295a4205a2f68a4e8fe083 (patch) | |
tree | a9fdf7009ee75eb7c3340c73f4bbf1008a740138 /Kbuild | |
parent | 55ff2d1ea5487fe131cce399baf4503dcf5cc8e1 (diff) | |
download | linux-e5d3765b6c4cb3ba64295a4205a2f68a4e8fe083.tar.xz |
ALSA: sb: Fix sparse warning wrt PCM format type
The PCM format type is with __bitwise, and it can't be converted from
integer implicitly. Instead of an ugly cast, declare the function
argument of snd_sb_csp_autoload() with the proper snd_pcm_format_t
type.
This fixes the sparse warnings like:
sound/isa/sb/sb16_csp.c:743:22: warning: restricted snd_pcm_format_t degrades to integer
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions