linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: u.kleine-koenig@pengutronix.de (Uwe Kleine-König)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] clk: efm32: fix build warning
Date: Mon, 8 Sep 2014 19:48:05 +0200	[thread overview]
Message-ID: <20140908174805.GL23009@pengutronix.de> (raw)
In-Reply-To: <3456522.oqa7pbstSD@wuerfel>

On Mon, Sep 08, 2014 at 05:19:40PM +0200, Arnd Bergmann wrote:
> The normal prototype for of clk init functions is to return void,
> while efm32gg_cmu_init return an int, resulting in this harmless
> build warning:
> 
> drivers/clk/clk-efm32gg.c:81:189: warning: comparison of distinct pointer types lacks a cast [enabled by default]
>  CLK_OF_DECLARE(efm32ggcmu, "efm32gg,cmu", efm32gg_cmu_init);
> 
> This changes the return type to avoid the warning.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
I already sent the exact same patch some time ago, even the sha1 sums in
the diff match.

	Subject: [PATCH] clk/efm32gg: fix dt init prototype
	Message-Id: <1406558301-17866-1-git-send-email-u.kleine-koenig@pengutronix.de>
	Date: Mon, 28 Jul 2014 16:38:21 +0200

Thanks
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-K?nig            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

  reply	other threads:[~2014-09-08 17:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-08 15:19 [PATCH] clk: efm32: fix build warning Arnd Bergmann
2014-09-08 17:48 ` Uwe Kleine-König [this message]
2014-09-08 18:18   ` Arnd Bergmann
2014-09-09 20:52     ` Mike Turquette

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=20140908174805.GL23009@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.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 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).