[PATCH 3.2 026/140] ALSA: usb-audio: Add check return value for usb_string()

2018-02-28 Thread Ben Hutchings
3.2.100-rc1 review patch. If anyone has any objections, please let me know. -- From: Jaejoong Kim commit 89b89d121ffcf8d9546633b98ded9d18b8f75891 upstream. snd_usb_copy_string_desc() returns zero if usb_string() fails. In case of failure, we need to

[PATCH 3.2 026/140] ALSA: usb-audio: Add check return value for usb_string()

2018-02-28 Thread Ben Hutchings
3.2.100-rc1 review patch. If anyone has any objections, please let me know. -- From: Jaejoong Kim commit 89b89d121ffcf8d9546633b98ded9d18b8f75891 upstream. snd_usb_copy_string_desc() returns zero if usb_string() fails. In case of failure, we need to check the