[PATCH AUTOSEL 4.14 78/89] ALSA: pcm: Fix sparse warning wrt PCM format type

2018-09-02 Thread Sasha Levin
From: Takashi Iwai [ Upstream commit f8b6c0cfbdd7359db9bb4da38dd54217296f9264 ] 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:

[PATCH AUTOSEL 4.14 78/89] ALSA: pcm: Fix sparse warning wrt PCM format type

2018-09-02 Thread Sasha Levin
From: Takashi Iwai [ Upstream commit f8b6c0cfbdd7359db9bb4da38dd54217296f9264 ] 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: