| Date | Sun, 28 Feb 2010 15:18:18 +0900 | From | Tejun Heo <> | 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|