diff options
author | Arnd Bergmann <arnd@arndb.de> | 2020-10-26 17:52:18 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-10-26 20:28:59 +0100 |
commit | 2a6eca16f376f6b83aaf73c57f0b6547907a5ed3 (patch) | |
tree | e89e334963158a3f65c0e54e11fb01dbf12eada0 /sound/usb | |
parent | f7b6603c666798a1f8379e692d11d500885f32d8 (diff) |
ALSA: make snd_kcontrol_new name a normal string
When building with W=2, there are lots of warnings about the
snd_kcontrol_new name field being an array of 'unsigned char'
but initialized to a string:
include/sound/soc.h:93:48: warning: pointer targets in initialization of 'const unsigned char *' from 'char *' differ in signedness [-Wpointer-sign]
Make it a regular 'char *' to avoid flooding the build log with this.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20201026165715.3723704-1-arnd@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions