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

From: Marcel Holtmann
Date: Wed Nov 08 2017 - 02:34:50 EST


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 <elfring@xxxxxxxxxxxxxxxxxxxxx>
> ---
> net/bluetooth/af_bluetooth.c | 38 +++++++++++++++++---------------------
> 1 file changed, 17 insertions(+), 21 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel