kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [broonie-misc:spi-next 28/43] drivers/spi/spi-gpio.c:389:79: error: parameter name omitted
@ 2012-09-20 21:22 Fengguang Wu
  2012-09-21 21:20 ` Daniel Mack
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2012-09-20 21:22 UTC (permalink / raw)
  To: kernel-janitors

Hi Daniel,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git spi-next
head:   337c422cf74b1ae46969395847795de953e66958
commit: 38ab18caa0ad9c844ba60f9618c5de6d6954da3e [28/43] spi: spi-gpio: Add DT bindings
config: x86_64-allmodconfig

All related error/warning messages:

drivers/spi/spi-gpio.c: In function 'spi_gpio_setup':
drivers/spi/spi-gpio.c:255:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
drivers/spi/spi-gpio.c: In function 'spi_probe_dt':
drivers/spi/spi-gpio.c:389:79: error: parameter name omitted
drivers/spi/spi-gpio.c: In function 'spi_gpio_probe':
drivers/spi/spi-gpio.c:404:2: error: implicit declaration of function 'spi_gpio_probe_dt' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors

vim +389 drivers/spi/spi-gpio.c
   383	
   384	error_free:
   385		devm_kfree(&pdev->dev, pdata);
   386		return ret;
   387	}
   388	#else
 > 389	static inline int spi_probe_dt(struct platform_device *)
   390	{
   391		return 0;
   392	}

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu, Yuanhan Liu                              Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [broonie-misc:spi-next 28/43] drivers/spi/spi-gpio.c:389:79: error: parameter name omitted
  2012-09-20 21:22 [broonie-misc:spi-next 28/43] drivers/spi/spi-gpio.c:389:79: error: parameter name omitted Fengguang Wu
@ 2012-09-21 21:20 ` Daniel Mack
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Mack @ 2012-09-21 21:20 UTC (permalink / raw)
  To: kernel-janitors

On 20.09.2012 23:22, Fengguang Wu wrote:
> Hi Daniel,
> 
> FYI, kernel build failed on
> 
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc.git spi-next
> head:   337c422cf74b1ae46969395847795de953e66958
> commit: 38ab18caa0ad9c844ba60f9618c5de6d6954da3e [28/43] spi: spi-gpio: Add DT bindings
> config: x86_64-allmodconfig
> 
> All related error/warning messages:
> 
> drivers/spi/spi-gpio.c: In function 'spi_gpio_setup':
> drivers/spi/spi-gpio.c:255:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> drivers/spi/spi-gpio.c: In function 'spi_probe_dt':
> drivers/spi/spi-gpio.c:389:79: error: parameter name omitted
> drivers/spi/spi-gpio.c: In function 'spi_gpio_probe':
> drivers/spi/spi-gpio.c:404:2: error: implicit declaration of function 'spi_gpio_probe_dt' [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors
> 
> vim +389 drivers/spi/spi-gpio.c
>    383	
>    384	error_free:
>    385		devm_kfree(&pdev->dev, pdata);
>    386		return ret;
>    387	}
>    388	#else
>  > 389	static inline int spi_probe_dt(struct platform_device *)
>    390	{
>    391		return 0;
>    392	}

Yes, I'm sorry about that. Mark already kindly fixed this one for me
some weeks ago:


https://git.kernel.org/?p=linux/kernel/git/broonie/misc.git;a=commit;h¬2cb30b479


Daniel

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-21 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-20 21:22 [broonie-misc:spi-next 28/43] drivers/spi/spi-gpio.c:389:79: error: parameter name omitted Fengguang Wu
2012-09-21 21:20 ` Daniel Mack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).