diff options
author | Takashi Iwai <[email protected]> | 2024-02-27 11:49:12 +0100 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2024-02-28 15:00:18 +0100 |
commit | 9301a412303725ae511229c22ea0f326ad47ad07 (patch) | |
tree | 083778621960a0d8ceb09e803ff6a24a7385d1d9 /drivers/usb/cdns3/cdns3-trace.c | |
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 <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions