linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Gustavo F. Padovan" <padovan@profusion.mobi>
To: Jiejing Zhang <kzjeef@gmail.com>
Cc: Marcel Holtmann <marcel@holtmann.org>,
	linux-bluetooth@vger.kernel.org,
	Jiejing Zhang <jiejing.zhang@freescale.com>
Subject: Re: [PATCH] Bluetooth: hci_uart: check the return value of recv()
Date: Thu, 7 Apr 2011 18:48:49 -0300	[thread overview]
Message-ID: <20110407214849.GC2366@joana> (raw)
In-Reply-To: <1302179826-15745-1-git-send-email-kzjeef@gmail.com>

Hi Jiejing,

* Jiejing Zhang <kzjeef@gmail.com> [2011-04-07 20:37:06 +0800]:

> Check the return value of hu->proto->recv() in hci_uart_tty_receive()
> the recv() may return error, check it, not add this to statistics.
> 
> Signed-off-by: Jiejing Zhang <jiejing.zhang@freescale.com>
> ---
>  drivers/bluetooth/hci_ath.c   |    6 +++++-
>  drivers/bluetooth/hci_ldisc.c |    6 ++++--
>  2 files changed, 9 insertions(+), 3 deletions(-)

Patch has been applied. Thanks.

-- 
Gustavo F. Padovan
http://profusion.mobi

      reply	other threads:[~2011-04-07 21:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 12:37 [PATCH] Bluetooth: hci_uart: check the return value of recv() Jiejing Zhang
2011-04-07 21:48 ` Gustavo F. Padovan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110407214849.GC2366@joana \
    --to=padovan@profusion.mobi \
    --cc=jiejing.zhang@freescale.com \
    --cc=kzjeef@gmail.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcel@holtmann.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).