From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757498Ab2DFPcT (ORCPT ); Fri, 6 Apr 2012 11:32:19 -0400 Received: from avon.wwwdotorg.org ([70.85.31.133]:38454 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754204Ab2DFPcS (ORCPT ); Fri, 6 Apr 2012 11:32:18 -0400 Message-ID: <4F7F0C7E.6030407@wwwdotorg.org> Date: Fri, 06 Apr 2012 09:32:14 -0600 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 MIME-Version: 1.0 To: Dong Aisheng CC: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linus.walleij@stericsson.com, Viresh Kumar Subject: Re: [PATCH 1/1] pinctrl: fix pinmux_check_ops error checking References: <1333714689-22450-1-git-send-email-b29396@freescale.com> In-Reply-To: <1333714689-22450-1-git-send-email-b29396@freescale.com> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/06/2012 06:18 AM, Dong Aisheng wrote: > From: Dong Aisheng > > Do not use get_functions_count before checking. > > Signed-off-by: Dong Aisheng Acked-by: Stephen Warren IIRC, Viresh added some other get_*_count() functions in the same patch. Do we need any more fixes similar to the this for those too?