From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751519AbbJBDhy (ORCPT ); Thu, 1 Oct 2015 23:37:54 -0400 Received: from ozlabs.org ([103.22.144.67]:51466 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751124AbbJBDhx (ORCPT ); Thu, 1 Oct 2015 23:37:53 -0400 Date: Fri, 2 Oct 2015 13:37:51 +1000 From: Stephen Rothwell To: Linus Walleij Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Ludovic Desroches Subject: Re: linux-next: build failure after merge of the pinctrl tree Message-ID: <20151002133751.739bb08c@canb.auug.org.au> In-Reply-To: <20150925133410.3c9e2b03@canb.auug.org.au> References: <20150925133410.3c9e2b03@canb.auug.org.au> X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, On Fri, 25 Sep 2015 13:34:10 +1000 Stephen Rothwell wrote: > > After merging the pinctrl tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/pinctrl/pinctrl-at91-pio4.c: In function 'atmel_gpio_irq_set_type': > drivers/pinctrl/pinctrl-at91-pio4.c:170:3: error: implicit declaration of function '__irq_set_handler_locked' [-Werror=implicit-function-declaration] > __irq_set_handler_locked(d->irq, handle_edge_irq); > ^ > drivers/pinctrl/pinctrl-at91-pio4.c: In function 'atmel_pinctrl_probe': > drivers/pinctrl/pinctrl-at91-pio4.c:925:3: warning: passing argument 2 of 'irq_set_chained_handler' from incompatible pointer type > irq_set_chained_handler(res->start, atmel_gpio_irq_handler); > ^ > In file included from include/linux/gpio/driver.h:6:0, > from include/asm-generic/gpio.h:12, > from arch/arm/include/asm/gpio.h:9, > from include/linux/gpio.h:48, > from drivers/pinctrl/pinctrl-at91-pio4.c:18: > include/linux/irq.h:548:1: note: expected 'irq_flow_handler_t' but argument is of type 'void (*)(unsigned int, struct irq_desc *)' > irq_set_chained_handler(unsigned int irq, irq_flow_handler_t handle) > ^ > > Caused by commit > > 776180848b57 ("pinctrl: introduce driver for Atmel PIO4 controller") > > I have used the pinctrl tree from next-20150924 for today. I am still getting this error. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au