From: Jack Lange Date: Tue, 17 May 2011 15:51:22 +0000 (-0500) Subject: warning fix X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=22cd1f999322a2bdebe39d6ff56c16639557c308;hp=9b42eba2271981b4642c83cb520b68fe15f270fb;p=palacios.git warning fix --- diff --git a/linux_module/palacios-dev.c b/linux_module/palacios-dev.c index be62f33..78e50b5 100644 --- a/linux_module/palacios-dev.c +++ b/linux_module/palacios-dev.c @@ -61,7 +61,7 @@ static int register_vm( void ) { for (i = 0; i < sizeof(v3_minor_map); i++) { if (v3_minor_map[i] != 0xff) { for (j = 0; j < 8; j++) { - if (!v3_minor_map[i] & (0x1 << j)) { + if (!(v3_minor_map[i] & (0x1 << j))) { avail = 1; v3_minor_map[i] |= (0x1 << j); break;