From: Daniel Mack <zonque@gmail.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [broonie-misc:spi-next 28/43] drivers/spi/spi-gpio.c:389:79: error: parameter name omitted
Date: Fri, 21 Sep 2012 21:20:41 +0000 [thread overview]
Message-ID: <505CDA29.5080202@gmail.com> (raw)
In-Reply-To: <20120920212248.GA5446@localhost>
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
prev parent reply other threads:[~2012-09-21 21:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=505CDA29.5080202@gmail.com \
--to=zonque@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.