[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1J27Or-00012X-DF@be1.7eggert.dyndns.org>
Date: Tue, 11 Dec 2007 16:52:01 +0100
From: Bodo Eggert <7eggert@....de>
To: Jeremy Fitzhardinge <jeremy@...p.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Xen-devel <xen-devel@...ts.xensource.com>
Subject: Re: [PATCH] xen: relax signature check
Jeremy Fitzhardinge <jeremy@...p.org> wrote:
> Some versions of Xen 3.x set their magic number to "xen-3.[12]", so
> relax the test to match them.
> - BUG_ON(memcmp(xen_start_info->magic, "xen-3.0", 7) != 0);
> + BUG_ON(memcmp(xen_start_info->magic, "xen-3", 5) != 0);
Not BUG_ON(memcmp(xen_start_info->magic, "xen-3.", 6) != 0); ?
I don't thin Xen version 32 will be compatible ...
--
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