Re: [PATCH 3/5] Make set_wrprotect() value safe

From: Chris Wright
Date: Wed Aug 24 2005 - 14:56:40 EST


* Zachary Amsden (zach@xxxxxxxxxx) wrote:
> The macro set_wrprotect() should not be defined to have a value. Make it
> a do {} while(0) instead of ({}).
> Noticed by Chris Wright.

I already fixed that one in the virt-2.6 git tree.

thanks,
-chris
-
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/