Re: [PATCH 2/2] regmap: debugfs: improve regmap_reg_ranges_read_file()

From: Mark Brown
Date: Wed Sep 30 2015 - 13:19:08 EST


On Wed, Sep 30, 2015 at 11:51:33AM +0200, Rasmus Villemoes wrote:
> On Tue, Sep 29 2015, Mark Brown <broonie@xxxxxxxxxx> wrote:
> > On Tue, Sep 29, 2015 at 12:29:02AM +0200, Rasmus Villemoes wrote:

> > That said I think memcpy() is going to be the best way of getting to
> > that since one of the issues there (which currently doesn't work) is
> > slicing things off the front and memcpy() handles that nicely.

> I'm not sure I understand what you want to do. Should I resend as three
> separate patches (the four bullets minus the PAGE_SIZE thing), and then
> we can take it from there?

I'd like to while we're at optimising the code to make it more
functional by supporting copying out any chunk of data rather than just
complete lines as now.

In any case, please split up and resend as you suggest above.

Attachment: signature.asc
Description: Digital signature