Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1609882 > unrolled thread

Re: [PATCH] Bluetooth: fix assignments on error variable err

Started byMarcel Holtmann <marcel@holtmann.org>
First post2017-03-27 16:30 +0200
Last post2017-03-27 16:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] Bluetooth: fix assignments on error variable err Marcel Holtmann <marcel@holtmann.org> - 2017-03-27 16:30 +0200

#1609882 — Re: [PATCH] Bluetooth: fix assignments on error variable err

FromMarcel Holtmann <marcel@holtmann.org>
Date2017-03-27 16:30 +0200
SubjectRe: [PATCH] Bluetooth: fix assignments on error variable err
Message-ID<tpDOG-Ur-17@gated-at.bofh.it>
Hi Colin,

> Variable err is being initialized to zero and then later being
> set to the error return from the call to hci_req_run_skb; hence
> we can remove the redundant initialization to zero.
> 
> Also on two occassions err is not being set from the error return
> from the call to hci_req_run_skb, so add these missing assignments.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
> net/bluetooth/amp.c | 10 +++++-----
> 1 file changed, 5 insertions(+), 5 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web