Re: [PATCH] bluetooth:Fix variable assignment for switch case in the function a2mp_chan_recv_cb

From: Marcel Holtmann
Date: Tue Aug 18 2015 - 13:43:41 EST


Hi Nicholas,

> This fixes the issue with not assigning the variable err to the return
> value of the call to the function a2mp_command_rej for the switch case
> A2MP_COMMAND_REJ as this function call can fail and thus callers of
> a2mp_chan_recv_cb should be signaled when this internal function call
> fails in order for them to handle this failure when calling the function
> a2mp_chan_recv_cb.
>
> Signed-off-by: Nicholas Krause <xerofoify@xxxxxxxxx>
> ---
> net/bluetooth/a2mp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/