summaryrefslogtreecommitdiff
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorThomas Preisner <thomas.preisner+linux@fau.de>2016-12-30 03:37:53 +0100
committerDavid S. Miller <davem@davemloft.net>2016-12-30 15:26:22 -0500
commit107fded7bf616ad6f46823d98b8ed6405d7adf2d (patch)
treea5f51356f922f3e6c6818fd3cc7db1a3b434968a /sound/soc/codecs
parent7bb387c5ab12aeac3d5eea28686489ff46b53ca9 (diff)
net: 3com: typhoon: typhoon_init_one: fix incorrect return values
In a few cases the err-variable is not set to a negative error code if a function call in typhoon_init_one() fails and thus 0 is returned instead. It may be better to set err to the appropriate negative error code before returning. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188841 Reported-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Thomas Preisner <thomas.preisner+linux@fau.de> Signed-off-by: Milan Stephan <milan.stephan+linux@fau.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/soc/codecs')
0 files changed, 0 insertions, 0 deletions