From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753448Ab2JICXB (ORCPT ); Mon, 8 Oct 2012 22:23:01 -0400 Received: from avon.wwwdotorg.org ([70.85.31.133]:56122 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751833Ab2JICW6 (ORCPT ); Mon, 8 Oct 2012 22:22:58 -0400 Message-ID: <50738A81.9070308@wwwdotorg.org> Date: Mon, 08 Oct 2012 20:22:57 -0600 From: Stephen Warren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: linus.walleij@linaro.org CC: Wei Yongjun , grant.likely@secretlab.ca, rob.herring@calxeda.com, yongjun_wei@trendmicro.com.cn, linux-rpi-kernel@lists.infradead.org, devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] pinctrl: fix return value in bcm2835_pinctrl_probe() References: In-Reply-To: X-Enigmail-Version: 1.4.4 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 10/07/2012 08:01 AM, Wei Yongjun wrote: > From: Wei Yongjun > > In case of error, the function pinctrl_register() returns > NULL not ERR_PTR(). The PTR_ERR() in the return value > should be replaced with error no. > > dpatch engine is used to auto generate this patch. > (https://github.com/weiyj/dpatch) Linus, I assume this will go through the pinctrl tree.