linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luciano Coelho <luciano.coelho@nokia.com>
To: linux-wireless@vger.kernel.org
Cc: j.de.gram@gmail.com
Subject: Re: [PATCH] wl12xx: fix illegal memset if debugfs is not enabled
Date: Thu, 02 Dec 2010 16:37:55 +0200	[thread overview]
Message-ID: <1291300675.16140.3.camel@chilepepper> (raw)
In-Reply-To: <1291122193-3409-1-git-send-email-luciano.coelho@nokia.com>

On Tue, 2010-11-30 at 15:03 +0200, luciano.coelho@nokia.com wrote:
> From: Luciano Coelho <luciano.coelho@nokia.com>
> 
> If we try to reset the debugfs statistics when debugfs is not configured in
> the kernel, we're memset an illegal pointer, because it has never been
> allocated.  So check whether we have debugfs enabled by looking into the
> wl->rootdir before trying to reset the fw_stats struct.
> 
> Reported-by: Joerie de Gram <j.de.gram@gmail.com>
> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
> ---

Applied and pushed to wl12xx.


-- 
Cheers,
Luca.


      reply	other threads:[~2010-12-02 14:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-30 13:03 [PATCH] wl12xx: fix illegal memset if debugfs is not enabled luciano.coelho
2010-12-02 14:37 ` Luciano Coelho [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=1291300675.16140.3.camel@chilepepper \
    --to=luciano.coelho@nokia.com \
    --cc=j.de.gram@gmail.com \
    --cc=linux-wireless@vger.kernel.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).