public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@lip6.fr>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Arend van Spriel <arend@broadcom.com>,
	Brett Rudley <brudley@broadcom.com>,
	Roland Vossen <rvossen@broadcom.com>,
	"Franky (Zhenhui) Lin" <frankyl@broadcom.com>,
	Kan Yan <kanyan@broadcom.com>,
	"John W. Linville" <linville@tuxdriver.com>,
	Pieter-Paul Giesberts <pieterpg@broadcom.com>,
	linux-wireless@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [patch] brcm80211: brcmu_pkt_buf_free_skb() should handle NULL
Date: Tue, 15 May 2012 15:07:33 +0000	[thread overview]
Message-ID: <alpine.DEB.2.02.1205151706360.2356@hadrien> (raw)
In-Reply-To: <20120515144443.GH16999@mwanda>

On Tue, 15 May 2012, Dan Carpenter wrote:

> On Tue, May 15, 2012 at 04:21:24PM +0200, Arend van Spriel wrote:
>> On 05/15/2012 11:00 AM, Dan Carpenter wrote:
>>> This is potentially called with NULL pointers, for example, look at
>>> brcmf_c_prec_enq().  Since it's a free() function, probably people
>>> expect it to handle NULL pointers.
>>
>> Acked-by: Arend van Spriel <arend@broadcom.com>
>>
>>> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
>>>
>>> diff --git a/drivers/net/wireless/brcm80211/brcmutil/utils.c b/drivers/net/wireless/brcm80211/brcmutil/utils.c
>>> index b45ab34..3e6405e 100644
>>
>> Is the diff command filtered properly here. In most patches I usually
>> see '---' immediatly after the Signed-off-by line.
>>
>
> Yeah.  Normally git puts the diffstat there, but my scripts leave
> it out.  All my patches are tiny anyway.  ;)

The documentation says:

The canonical patch message body contains the following:

   - A "from" line specifying the patch author.

   - An empty line.

   - The body of the explanation, which will be copied to the
     permanent changelog to describe this patch.

   - The "Signed-off-by:" lines, described above, which will
     also go in the changelog.

   - A marker line containing simply "---".

   - Any additional comments not suitable for the changelog.

   - The actual patch (diff output).


The --- is not attached to the diffstat, as far as I can see.

julia

  reply	other threads:[~2012-05-15 15:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-15  9:00 [patch] brcm80211: brcmu_pkt_buf_free_skb() should handle NULL Dan Carpenter
2012-05-15 14:21 ` Arend van Spriel
2012-05-15 14:28   ` Arend van Spriel
2012-05-15 14:44   ` Dan Carpenter
2012-05-15 15:07     ` Julia Lawall [this message]
2012-05-15 16:57       ` Arend van Spriel

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=alpine.DEB.2.02.1205151706360.2356@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=arend@broadcom.com \
    --cc=brudley@broadcom.com \
    --cc=dan.carpenter@oracle.com \
    --cc=frankyl@broadcom.com \
    --cc=kanyan@broadcom.com \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=pieterpg@broadcom.com \
    --cc=rvossen@broadcom.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