Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754710Ab0KZRpm (ORCPT ); Fri, 26 Nov 2010 12:45:42 -0500 Received: from mail-ey0-f174.google.com ([209.85.215.174]:57090 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751302Ab0KZRpk (ORCPT ); Fri, 26 Nov 2010 12:45:40 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=nZOpIu9oi0DsRE/5jpm+uqXPVCqb+N7ZLyXuf5GIH8etjnSp1B7K7mqtNmtRpzo0r5 2R4bT0c9j+/3liCZLegwUgZMGRgqjjxFMkUtv4zIB8CFvkLsFV+Jn8Xk1wvB2VDh6BOf 9bsItT6q+JWypul5nwbqz6QKYbb8f/d2JCxkM= Date: Fri, 26 Nov 2010 20:45:33 +0300 From: Vasiliy Kulikov To: Guennadi Liakhovetski Cc: kernel-janitors@vger.kernel.org, Paul Mundt , Kuninori Morimoto , Magnus Damm , linux-sh@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] sh: boards: mach-se: use IS_ERR() instead of NULL check Message-ID: <20101126174533.GA29507@albatros> References: <1290791190-21358-1-git-send-email-segoon@openwall.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 750 Lines: 24 Hi Guennadi, On Fri, Nov 26, 2010 at 18:38 +0100, Guennadi Liakhovetski wrote: > On Fri, 26 Nov 2010, Vasiliy Kulikov wrote: > > clk_get() returns ERR_PTR() on error, not NULL. > > > > Signed-off-by: Vasiliy Kulikov > > Yep, there are, probably, a couple more of these, similar to I found a bit more, but I'd like to get feedback on these or just see it applied first ;) Thanks, -- Vasiliy Kulikov http://www.openwall.com - bringing security into open computing environments -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/