[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20130214145703.GA24129@opensource.wolfsonmicro.com>
Date: Thu, 14 Feb 2013 14:57:03 +0000
From: Dimitris Papastamos <dp@...nsource.wolfsonmicro.com>
To: Mark Brown <broonie@...nsource.wolfsonmicro.com>
Cc: linux-kernel@...r.kernel.org, patches@...nsource.wolfsonmicro.com
Subject: Re: [PATCH 2/2] regmap: debugfs: Ensure proper locking of
`debugfs_off_cache' list
On Thu, Feb 14, 2013 at 02:54:17PM +0000, Mark Brown wrote:
> On Thu, Feb 14, 2013 at 12:31:48PM +0000, Dimitris Papastamos wrote:
>
> > There is a possible race between the read operations of the `registers'
> > file and the `range' file. Close that down by taking the appropriate
> > locks when modifying/accessing the list.
>
> This seems like an incremental fix on the previous change; the previous
> change introduced the ranges file with a race condition. If splitting
> them up add the lock first and then add the ranges file that made it
> needed.
>
> Please do also thread patch series together.
Aw yes, cool.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists