From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by casper.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1Pb9no-0003Nb-9A for barebox@lists.infradead.org; Fri, 07 Jan 2011 10:44:13 +0000 From: Sascha Hauer Date: Fri, 7 Jan 2011 11:43:58 +0100 Message-Id: <1294397044-5008-19-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1294397044-5008-1-git-send-email-s.hauer@pengutronix.de> References: <1294397044-5008-1-git-send-email-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 18/24] at91: fix printf compiler warnings To: barebox@lists.infradead.org Signed-off-by: Sascha Hauer --- arch/arm/mach-at91/clock.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-at91/clock.c b/arch/arm/mach-at91/clock.c index 6fd09d5..4d77a37 100644 --- a/arch/arm/mach-at91/clock.c +++ b/arch/arm/mach-at91/clock.c @@ -679,7 +679,7 @@ static int at91_clock_display(void) if (pll_overclock) pr_info("Clocks: PLLA overclocked, %ld MHz\n", plla.rate_hz / 1000000); - printf("Clocks: CPU %u MHz, master %u MHz, main %u.%03u MHz\n", + printf("Clocks: CPU %lu MHz, master %u MHz, main %u.%03u MHz\n", mck.parent->rate_hz / 1000000, (unsigned) mck.rate_hz / 1000000, (unsigned) main_clk.rate_hz / 1000000, ((unsigned) main_clk.rate_hz % 1000000) / 1000); -- 1.7.2.3 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox