Thread (1 message) flat view 1 message, 1 author, 2015-08-18

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

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2015-08-18 17:43:36
Also in: linux-bluetooth, lkml

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 <redacted>
---
net/bluetooth/a2mp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.

Regards

Marcel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help