public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [patch] regmap: fix a potential leak in regmap_bulk_write()
Date: Thu, 9 Jan 2014 14:10:53 +0000	[thread overview]
Message-ID: <20140109141053.GA24418@sirena.org.uk> (raw)
In-Reply-To: <20140109054104.GH1265@elgon.mountain>

[-- Attachment #1: Type: text/plain, Size: 301 bytes --]

On Thu, Jan 09, 2014 at 08:41:04AM +0300, Dan Carpenter wrote:
> Static checkers complain that there is an error path where
> _regmap_raw_write() fails and we goto out without freeing the "wval"
> buffer.

This doesn't apply against current code (these functions got rewritten),
can you please check?

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      reply	other threads:[~2014-01-09 14:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-09  5:41 [patch] regmap: fix a potential leak in regmap_bulk_write() Dan Carpenter
2014-01-09 14:10 ` Mark Brown [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=20140109141053.GA24418@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=dan.carpenter@oracle.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@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