Re: [PATCH] nvmem: core: Allow ignoring length when reading a cell

From: Srinivas Kandagatla
Date: Thu Jan 05 2017 - 04:42:53 EST




On 05/01/17 05:34, Vivek Gautam wrote:
Hi Srinivas,

On Tue, Dec 20, 2016 at 3:17 AM, Stephen Boyd <sboyd@xxxxxxxxxxxxxx> wrote:
On 12/19, Vivek Gautam wrote:
nvmem_cell_read() API fills in the argument 'len' with
the number of bytes read from the cell. Many users don't
care about this length value. So allow users to pass a
NULL pointer to this len field.

Signed-off-by: Vivek Gautam <vivek.gautam@xxxxxxxxxxxxxx>
---

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>

Can you please pick this patch as well, adding Stephen's 'Reviewed-by' tag.

This is already in my queue for 4.11 release, as this is an enhancement. I will send them to Greg once we hit rc4 or rc5.

thanks,
srini


Regards
Vivek