Re: [PATCH] Bluetooth: Use common error handling code in bt_init()

2017-11-07 Thread Marcel Holtmann
Hi Markus, > * Improve jump targets so that a bit of exception handling can be better > reused at the end of this function. > > * Adjust five condition checks. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring > --- > net/bluetooth/af_bluetooth.c

[PATCH] Bluetooth: Use common error handling code in bt_init()

2017-11-07 Thread SF Markus Elfring
From: Markus Elfring Date: Wed, 8 Nov 2017 08:03:04 +0100 * Improve jump targets so that a bit of exception handling can be better reused at the end of this function. * Adjust five condition checks. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---