From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1163340AbbKTRS0 (ORCPT ); Fri, 20 Nov 2015 12:18:26 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:57324 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1162738AbbKTRSX (ORCPT ); Fri, 20 Nov 2015 12:18:23 -0500 Date: Fri, 20 Nov 2015 09:18:22 -0800 From: Stephen Boyd To: Masahiro Yamada Cc: linux-clk@vger.kernel.org, Michael Turquette , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] clk: remove redundant negative index check in of_clk_get_parent_name() Message-ID: <20151120171822.GO32672@codeaurora.org> References: <1448004981-11133-1-git-send-email-yamada.masahiro@socionext.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1448004981-11133-1-git-send-email-yamada.masahiro@socionext.com> 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 On 11/20, Masahiro Yamada wrote: > This if-block can be dropped because the of_parse_phandle_with_args() > in the following line returns -EINVAL for negative index. > > Signed-off-by: Masahiro Yamada > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project