[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] today's gcc4ism
New from yesterday night's snapshot. I'm not 100% sure, but it looks like __gnttab_map_grant_ref() might indeed return 0 without initialising va ... grant_table.c: In function 'do_grant_table_op': grant_table.c:348: warning: 'va' may be used uninitialized in this function make[3]: *** [grant_table.o] Error 1 Signed-off-by: Rik van Riel <riel@xxxxxxxxxx> --- xen-unstable/xen/common/grant_table.c.orig 2005-03-09 15:48:16.000000000 -0500 +++ xen-unstable/xen/common/grant_table.c 2005-03-09 16:57:38.000000000 -0500 @@ -345,7 +345,7 @@ gnttab_map_grant_ref_t *uop, unsigned int count) { int i, flush = 0; - unsigned long va; + unsigned long va = 0; for ( i = 0; i < count; i++ ) if ( __gnttab_map_grant_ref(&uop[i], &va) == 0) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |