Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1209407
| From | Marcel Holtmann <marcel@holtmann.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] bluetooth:Fix variable assignment for switch case in the function a2mp_chan_recv_cb |
| Date | 2015-08-18 19:50 +0200 |
| Message-ID | <pYTbj-4Se-1@gated-at.bofh.it> (permalink) |
| References | <pYTbj-4Se-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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@gmail.com> > --- > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH] bluetooth:Fix variable assignment for switch case in the function a2mp_chan_recv_cb Marcel Holtmann <marcel@holtmann.org> - 2015-08-18 19:50 +0200
csiph-web