Message ID | 4FFD8831.4000202@dev.mellanox.co.il (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Ira Weiny |
Headers | show |
On Wed, 11 Jul 2012 10:05:37 -0400 Hal Rosenstock <hal@dev.mellanox.co.il> wrote: > > src/perfquery.c: In function main: > src/perfquery.c:662: warning: integer constant is too large for long type > > Signed-off-by: Hal Rosenstock <hal@mellanox.com> Thanks, applied. Ira > --- > diff --git a/src/perfquery.c b/src/perfquery.c > index e85b14e..32dd98f 100644 > --- a/src/perfquery.c > +++ b/src/perfquery.c > @@ -659,7 +659,7 @@ int main(int argc, char **argv) > int mgmt_classes[2] = { IB_SA_CLASS, IB_PERFORMANCE_CLASS }; > ib_portid_t portid = { 0 }; > int mask = 0xffff; > - uint64_t ext_mask = 0xffffffffffffffff; > + uint64_t ext_mask = 0xffffffffffffffffULL; > uint16_t cap_mask; > int all_ports_loop = 0; > int node_type, num_ports = 0; > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/src/perfquery.c b/src/perfquery.c index e85b14e..32dd98f 100644 --- a/src/perfquery.c +++ b/src/perfquery.c @@ -659,7 +659,7 @@ int main(int argc, char **argv) int mgmt_classes[2] = { IB_SA_CLASS, IB_PERFORMANCE_CLASS }; ib_portid_t portid = { 0 }; int mask = 0xffff; - uint64_t ext_mask = 0xffffffffffffffff; + uint64_t ext_mask = 0xffffffffffffffffULL; uint16_t cap_mask; int all_ports_loop = 0; int node_type, num_ports = 0;
src/perfquery.c: In function main: src/perfquery.c:662: warning: integer constant is too large for long type Signed-off-by: Hal Rosenstock <hal@mellanox.com> --- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html