Re: [PATCH] regmap: Ensure regmap_register_patch() is compatible with fast_io
From: Mark Brown
Date: Tue Mar 18 2014 - 12:07:40 EST
On Tue, Mar 18, 2014 at 02:43:18PM +0100, Levente Kurusa wrote:
> 2014-03-18 13:02 GMT+01:00 Mark Brown <broonie@xxxxxxxxxx>:
> > + if (p) {
> > + memcpy(p + map->patch_regs, regs, num_regs * sizeof(*regs));
> > + map->patch = p;
> > + map->patch_regs += num_regs;
> > + } else {
> > + return -ENOMEM;
> > + }
> > +
> I think that is not checkpatch-safe :-)
What makes you say that? If you think there's some problem say what it
is please...
Attachment:
signature.asc
Description: Digital signature