Re: drivers/kvm/x86_emulate.c - address of 'twobyte_table' will alwaysevaluate as 'true' , warning
From: Avi Kivity
Date: Sun Jul 22 2007 - 08:47:52 EST
Gabriel C wrote:
Hi,
I got this warning on current git with gcc 4.2.1 :
...
drivers/kvm/x86_emulate.c: In function 'x86_emulate_memop':
drivers/kvm/x86_emulate.c:817: warning: the address of 'twobyte_table' will always evaluate as 'true'
...
Thanks! That's a real bug (though harmless at present). Will fix it up.
--
error compiling committee.c: too many arguments to function
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/