From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Schwidefsky Subject: Re: linux-next: cputime tree build warning Date: Tue, 19 May 2009 10:47:00 +0200 Message-ID: <20090519104700.57770120@skybase> References: <20090519173251.86d755c8.sfr@canb.auug.org.au> <4854F2500EA8C4478A508D2D92973E52046B8498@EXCHANGE25.fed.cclrc.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from mtagate5.de.ibm.com ([195.212.29.154]:34583 "EHLO mtagate5.de.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751804AbZESIrL (ORCPT ); Tue, 19 May 2009 04:47:11 -0400 In-Reply-To: <4854F2500EA8C4478A508D2D92973E52046B8498@EXCHANGE25.fed.cclrc.ac.uk> Sender: linux-next-owner@vger.kernel.org List-ID: To: "Abbott, MG (Michael)" Cc: Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org On Tue, 19 May 2009 08:39:32 +0100 "Abbott, MG (Michael)" wrote: > > Today's linux-next build (x86_64 allmodconfig) produced this warning: > > > > fs/proc/uptime.c: In function 'uptime_proc_show': > > fs/proc/uptime.c:14: warning: unused variable 'len' > > > > Introduced by commit ed7e789abfc433e46524419b7cc51d949552505e > > ("[PATCH] > > Fix idle time field in /proc/uptime") from the cputime tree. > > Ouch. I do apologise. The (now) bogus variable len must have been > preserved when I rebased from 2.6.29.3 to current git, and I guess I > didn't spot the warning among all the other warnings in the build. I'll fix the two problems with the patch: 1) remove len, 2) use cputime_zero to initialize idletime and update the cputime branch. -- blue skies, Martin. "Reality continues to ruin my life." - Calvin.