On gcc 4.4.4:
mm.c: In function \91create_grant_pv_mapping\92:
mm.c:3839: error: \91ol1e.l1\92 may be used uninitialized in this function
While ol1e would not be used uninitialized (because rc needs to be properly
set) we have to accommodate these older compliers.
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
{
struct vcpu *curr = current;
struct domain *currd = curr->domain;
- l1_pgentry_t nl1e, ol1e, *pl1e;
+ l1_pgentry_t nl1e, ol1e = { }, *pl1e;
struct page_info *page;
mfn_t gl1mfn;
int rc = GNTST_general_error;