[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120531164148.GK2666@opensource.wolfsonmicro.com>
Date: Thu, 31 May 2012 17:41:49 +0100
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Krystian Garbaciak <krystian.garbaciak@...semi.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org,
Anthony Olech <Anthony.Olech@...semi.com>
Subject: Re: [PATCH 1/4] regmap: Reorganise internal read/write functions.
On Thu, May 31, 2012 at 04:11:12PM +0200, Krystian Garbaciak wrote:
> +static int _regmap_raw_write(struct regmap *map, unsigned int reg,
> + const void *val, size_t val_len)
> +{
> + void *_val = (void *)val;
This is scary... why are we casting away const here?
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists