ALSA: pcm: Fix sparse warning wrt PCM format type
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Jul 2018 21:19:38 +0000 (23:19 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 27 Jul 2018 07:05:27 +0000 (09:05 +0200)
commitf8b6c0cfbdd7359db9bb4da38dd54217296f9264
tree685c2d824b998d800983c00f07f8f06d09d6c9f6
parent94dfee0c1a33baa974cba0bd8b83021b1d801297
ALSA: pcm: Fix sparse warning wrt PCM format type

The PCM format type is with __bitwise, hence it needs the explicit
cast with __force.  It's ugly, but there is a reason for that cost...

This fixes the sparse warning:
  sound/core/oss/pcm_oss.c:1854:55: warning: incorrect type in argument 1 (different base types)

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/oss/pcm_oss.c