From: Christian Lamparter <chunkeey@web.de>
To: Roel Kluin <roel.kluin@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH] ar9170: wrong test on outlen in ar9170_usb_exec_cmd() ?
Date: Sun, 26 Apr 2009 21:13:20 +0200 [thread overview]
Message-ID: <200904262113.20544.chunkeey@web.de> (raw)
In-Reply-To: <49F4565B.2000201@gmail.com>
On Sunday 26 April 2009 14:40:59 Roel Kluin wrote:
> remove redundant test: outlen is unsigned
>
> Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Christian Lamparter <chunkeey@web.de>
> ---
> Maybe you want to test outlen < MAX, but what should MAX be?
Not necessary, there is no hard limit for the size of cmd response.
The firmware will scatter the cmd responses into ~64 bytes packages, if needed.
Regards,
Chr
prev parent reply other threads:[~2009-04-26 19:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-26 12:40 [PATCH] ar9170: wrong test on outlen in ar9170_usb_exec_cmd() ? Roel Kluin
2009-04-26 19:13 ` Christian Lamparter [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=200904262113.20544.chunkeey@web.de \
--to=chunkeey@web.de \
--cc=linux-wireless@vger.kernel.org \
--cc=roel.kluin@gmail.com \
/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).