[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4B8A0AAA.6090607@kernel.org>
Date: Sun, 28 Feb 2010 15:18:18 +0900
From: Tejun Heo <tj@...nel.org>
To: Anton Blanchard <anton@...ba.org>
CC: torvalds@...ux-foundation.org, mingo@...e.hu, peterz@...radead.org,
awalls@...ix.net, linux-kernel@...r.kernel.org, jeff@...zik.org,
akpm@...ux-foundation.org, jens.axboe@...cle.com,
rusty@...tcorp.com.au, cl@...ux-foundation.org,
dhowells@...hat.com, arjan@...ux.intel.com, avi@...hat.com,
johannes@...solutions.net, andi@...stfloor.org, oleg@...hat.com
Subject: Re: [PATCH] workqueue: Fix a compile warning in work_busy
Hello,
On 02/28/2010 10:00 AM, Anton Blanchard wrote:
> Ensure ret is initialised to avoid the following warning:
>
> kernel/workqueue.c: In function ‘work_busy’:
> kernel/workqueue.c:2697: warning: ‘ret’ may be used uninitialized in this function
Thanks a lot for catching this. gcc 4.4.1 building for x86_64 doesn't
seem to notice that. gcc has been relatively reliable in catching
these mistakes. I wonder what made it slip. My cross gcc 4.3.3 for
powerpc catches it. Strange. Anyways, fix folded into
0035-workqueue-implement-several-utility-APIs.patch
Thank you.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists