Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756381AbcLSVrK (ORCPT ); Mon, 19 Dec 2016 16:47:10 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:51580 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754032AbcLSVrH (ORCPT ); Mon, 19 Dec 2016 16:47:07 -0500 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org EAE196145C Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=sboyd@codeaurora.org Date: Mon, 19 Dec 2016 13:47:05 -0800 From: Stephen Boyd To: Vivek Gautam Cc: srinivas.kandagatla@linaro.org, maxime.ripard@free-electrons.com, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH] nvmem: core: Allow ignoring length when reading a cell Message-ID: <20161219214705.GA5423@codeaurora.org> References: <1482130389-3164-1-git-send-email-vivek.gautam@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1482130389-3164-1-git-send-email-vivek.gautam@codeaurora.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 469 Lines: 14 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 > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project