diff options
| author | Takashi Iwai <tiwai@suse.de> | 2018-07-25 23:00:51 +0200 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2018-07-26 08:31:41 +0200 |
| commit | ebd836edfc4324da016ce0c09f809f882a133f50 (patch) | |
| tree | 7679fd1a4ffdaa6e618dcaf0639630dafa3a3831 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | ALSA: msnd: Use NULL instead of 0 (diff) | |
| download | linux-ebd836edfc4324da016ce0c09f809f882a133f50.tar.gz linux-ebd836edfc4324da016ce0c09f809f882a133f50.zip | |
ALSA: hda - Fix a sparse warning about snd_ctl_elem_iface_t
The knew->iface field is in snd_ctl_elem_iface_t, which is with
__bitwise, hence it can't be converted implicitly from integer.
Give an explicit cast for the invalid type.
Spotted by sparse:
sound/pci/hda/hda_codec.c:3280:25: warning: restricted snd_ctl_elem_iface_t degrades to integer
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
