diff options
author | Takashi Iwai <tiwai@suse.de> | 2024-02-27 11:49:12 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-02-28 15:00:18 +0100 |
commit | 9301a412303725ae511229c22ea0f326ad47ad07 (patch) | |
tree | 083778621960a0d8ceb09e803ff6a24a7385d1d9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | a55bc334d3dfbfdc075632a144e821a564da38d5 (diff) |
ALSA: kunit: Fix sparse warnings
There were a few sparse warnings about the cast of strong-typed
snd_pcm_format_t. Fix them with cast with __force.
For spreading the ugly mess, put them in the definitions
WRONG_FORMAT_1 and WRONG_FORMAT_2 and use them in the callers.
Fixes: 3e39acf56ede ("ALSA: core: Add sound core KUnit test")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/r/202402270303.PmvmQrJV-lkp@intel.com
Link: https://lore.kernel.org/r/20240227104912.18921-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions