diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-07-25 23:19:40 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-07-27 09:05:28 +0200 |
commit | 10d3d91e3bc4e152a580bf523e4fd6bf279ae532 (patch) | |
tree | 6ba713c5fec60a865d3e196be4473b18d6e37e0c /crypto/sha512_generic.c | |
parent | ALSA: ad1816a: Fix sparse warning wrt PCM format type (diff) | |
download | linux-10d3d91e3bc4e152a580bf523e4fd6bf279ae532.tar.xz linux-10d3d91e3bc4e152a580bf523e4fd6bf279ae532.zip |
ALSA: au88x0: 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 vortex_alsafmt_aspfmt() with the proper snd_pcm_format_t
type.
This fixes the sparse warning like:
sound/pci/au88x0/au88x0_core.c:2778:14: warning: restricted snd_pcm_format_t degrades to integer
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'crypto/sha512_generic.c')
0 files changed, 0 insertions, 0 deletions