From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Date: Tue, 18 Dec 2012 18:42:56 +0000 Subject: Re: [PATCH RESEND 0/6] Remove incorrect usage of IS_ERR_OR_NULL on clk_get Message-Id: <20121218184256.GI5032@mwanda> List-Id: References: <1355852048-23188-1-git-send-email-linux@prisktech.co.nz> In-Reply-To: <1355852048-23188-1-git-send-email-linux@prisktech.co.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-arm-kernel@lists.infradead.org On Wed, Dec 19, 2012 at 06:34:02AM +1300, Tony Prisk wrote: > Resend to include mailing lists. > > As per the kernel docs, clk_get() cannot return NULL. > It returns NULL if CONFIG_HAVE_CLK is disabled. regards, dan carpenter From mboxrd@z Thu Jan 1 00:00:00 1970 From: dan.carpenter@oracle.com (Dan Carpenter) Date: Tue, 18 Dec 2012 21:42:56 +0300 Subject: [PATCH RESEND 0/6] Remove incorrect usage of IS_ERR_OR_NULL on clk_get In-Reply-To: <1355852048-23188-1-git-send-email-linux@prisktech.co.nz> References: <1355852048-23188-1-git-send-email-linux@prisktech.co.nz> Message-ID: <20121218184256.GI5032@mwanda> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Dec 19, 2012 at 06:34:02AM +1300, Tony Prisk wrote: > Resend to include mailing lists. > > As per the kernel docs, clk_get() cannot return NULL. > It returns NULL if CONFIG_HAVE_CLK is disabled. regards, dan carpenter From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755488Ab2LRSnG (ORCPT ); Tue, 18 Dec 2012 13:43:06 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:26844 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752100Ab2LRSnE (ORCPT ); Tue, 18 Dec 2012 13:43:04 -0500 Date: Tue, 18 Dec 2012 21:42:56 +0300 From: Dan Carpenter To: Tony Prisk Cc: kernel-janitors@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH RESEND 0/6] Remove incorrect usage of IS_ERR_OR_NULL on clk_get Message-ID: <20121218184256.GI5032@mwanda> References: <1355852048-23188-1-git-send-email-linux@prisktech.co.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1355852048-23188-1-git-send-email-linux@prisktech.co.nz> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: acsinet21.oracle.com [141.146.126.237] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 19, 2012 at 06:34:02AM +1300, Tony Prisk wrote: > Resend to include mailing lists. > > As per the kernel docs, clk_get() cannot return NULL. > It returns NULL if CONFIG_HAVE_CLK is disabled. regards, dan carpenter