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

From: Vivek Gautam
Date: Thu Jan 05 2017 - 04:49:21 EST



On 01/05/2017 03:10 PM, Srinivas Kandagatla wrote:


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.

Okay. Thanks for picking.


Regards
Vivek

--
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project