From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753015Ab1GZJah (ORCPT ); Tue, 26 Jul 2011 05:30:37 -0400 Received: from metis.ext.pengutronix.de ([92.198.50.35]:38805 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750900Ab1GZJab (ORCPT ); Tue, 26 Jul 2011 05:30:31 -0400 Date: Tue, 26 Jul 2011 11:30:29 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Frank Rowand Cc: Thomas Gleixner , LKML , linux-rt-users Subject: Re: [ANNOUNCE] 3.0-rt3 Message-ID: <20110726093029.GR16561@pengutronix.de> References: <4E2E306A.6040007@am.sony.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4E2E306A.6040007@am.sony.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: 2001:6f8:1178:2:215:17ff:fe12:23b0 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 25, 2011 at 08:11:38PM -0700, Frank Rowand wrote: > On 07/24/11 03:33, Thomas Gleixner wrote: > > Dear RT Folks, > > > > I'm pleased to announce the 3.0-rt3 release. > > ARM panda board boots for PREEMPT_NONE. > > New compile warning for ARM pandaboard, PREEMPT_NONE: > > kernel/softirq.c: In function 'softirq_check_pending_idle': > kernel/softirq.c:119: warning: format '%02lx' expects type 'long unsigned int', but argument 2 has type 'unsigned int' This happens on x86, too. The obvious fix is: diff --git a/kernel/softirq.c b/kernel/softirq.c index 99620ec..af749f6 100644 --- a/kernel/softirq.c +++ b/kernel/softirq.c @@ -77,7 +77,7 @@ char *softirq_to_name[NR_SOFTIRQS] = { void softirq_check_pending_idle(void) { static int rate_limit; - u32 warnpending = 0, pending = local_softirq_pending(); + unsigned warnpending = 0, pending = local_softirq_pending(); if (rate_limit >= 10) return; @@ -101,7 +101,7 @@ void softirq_check_pending_idle(void) } if (warnpending) { - printk(KERN_ERR "NOHZ: local_softirq_pending %02lx\n", + printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n", pending); rate_limit++; } @@ -115,7 +115,7 @@ void softirq_check_pending_idle(void) static int rate_limit; if (rate_limit < 10) { - printk(KERN_ERR "NOHZ: local_softirq_pending %02lx\n", + printk(KERN_ERR "NOHZ: local_softirq_pending %02x\n", local_softirq_pending()); rate_limit++; } Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |