mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: David Jander <david@protonic.nl>
Cc: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH V2] drivers: regmap: regcache-rbtree.c: Fix overlapping rbnodes.
Date: Wed, 21 Aug 2013 17:10:57 +0100	[thread overview]
Message-ID: <20130821161057.GG26118@sirena.org.uk> (raw)
In-Reply-To: <1377099442-13884-1-git-send-email-david@protonic.nl>

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

On Wed, Aug 21, 2013 at 05:37:22PM +0200, David Jander wrote:
> Avoid overlapping register regions by making the initial blklen of a new
> node 1. If a register write occurs to a yet uncached register, that is
> lower than but near an existing node's base_reg, a new node is created
> and it's blklen is set to an arbitrary value (sizeof(*rbnode)). That may
> cause this node to overlap with another node. Those nodes should be merged,
> but this merge doesn't happen yet, so this patch at least makes the initial
> blklen small enough to avoid hitting the wrong node, which may otherwise
> lead to severe breakage.

Applied, thanks.

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

      reply	other threads:[~2013-08-21 16:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-21 15:37 David Jander
2013-08-21 16: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=20130821161057.GG26118@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=david@protonic.nl \
    --cc=dp@opensource.wolfsonmicro.com \
    --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

all inboxes | Powered by JetHome®