summaryrefslogtreecommitdiff
path: root/drivers/net/irda
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2015-10-24 02:27:43 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-06 23:27:46 -0800
commitb1209983d2c012be8d253ed118f9281ed9f46af6 (patch)
tree20524ddad2ad10fcf54ccc9266469bedfb32e366 /drivers/net/irda
parent1051937d465665e3360ea7d9a3d2adfd86f47dd4 (diff)
tty: synclinkmp: do not ignore errors in probe()
synclinkmp_init_one() ignores all errors and does not release all resources if something fails. The patch adds returned code to device_init() and add_device() and proper error handling. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/irda')
0 files changed, 0 insertions, 0 deletions