Re: [PATCH] pci: fix a missing check of snd_i2c_sendbytes

2019-01-01 Thread Takashi Iwai
On Wed, 26 Dec 2018 06:12:04 +0100, Kangjie Lu wrote: > > snd_i2c_sendbytes could fail. The fix checks its return value: if it > fails, issues an error message and returns with its error code. > > Signed-off-by: Kangjie Lu > --- > sound/pci/ice1712/ews.c | 5 - > 1 file changed, 4 insertion

[PATCH] pci: fix a missing check of snd_i2c_sendbytes

2018-12-25 Thread Kangjie Lu
snd_i2c_sendbytes could fail. The fix checks its return value: if it fails, issues an error message and returns with its error code. Signed-off-by: Kangjie Lu --- sound/pci/ice1712/ews.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sound/pci/ice1712/ews.c b/sound/pci/i