From: Richard Knutsson <ricknu-0@student.ltu.se>
To: Samuel Ortiz <samuel@sortiz.org>
Cc: davem@davemloft.net, linux-kernel@vger.kernel.org,
irda-users@lists.sourceforge.net
Subject: Re: [PATCH] net/irda/parameters.c: Trivial fixes
Date: Mon, 26 Nov 2007 03:59:40 +0100 [thread overview]
Message-ID: <474A369C.4000101@student.ltu.se> (raw)
In-Reply-To: <20071126091747.GB3165@sortiz.org>
Samuel Ortiz wrote:
> Hi Richard,
>
> On Sat, Nov 24, 2007 at 09:44:05PM +0100, Richard Knutsson wrote:
>
>> Make a single va_start() -> va_end() path + fixing:
>>
> Ok, this should be 2 separate patches then.
>
Thought about it, but they were so simple, I believed they would better
be merged...
> The warning fixes are all good, but I fail to see the point of the va_end()
> one. That doesn't seem to bring any sort of improvement while adding one
> variable to the stack and one loop test. Any explanation here ?
>
Not really. Many seem to like a single return and since this made it one
va_end() to every va_start(), I thought it would be appropriate. But if
not, then I will only filter this hit out from the
va_start()->va_end()-testing and get going.
> I'll push the warning fix for now, thanks.
>
Alright, thank you.
> Cheers,
> Samuel.
>
>
cu
Richard Knutsson
prev parent reply other threads:[~2007-11-26 3:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-24 20:44 [PATCH] net/irda/parameters.c: Trivial fixes Richard Knutsson
2007-11-26 9:17 ` Samuel Ortiz
2007-11-26 2:59 ` Richard Knutsson [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=474A369C.4000101@student.ltu.se \
--to=ricknu-0@student.ltu.se \
--cc=davem@davemloft.net \
--cc=irda-users@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=samuel@sortiz.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.