]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sdp: define SDP_MAX_PAYLOAD as ulong instead of int, to comply with PAGE_SIZE
authorEldad Zinger <eldadz@mellanox.co.il>
Wed, 14 Jul 2010 04:50:43 +0000 (07:50 +0300)
committerMukesh Kacker <mukesh.kacker@oracle.com>
Tue, 6 Oct 2015 12:05:11 +0000 (05:05 -0700)
commit89d89b6e75e9106fd3a12aae586b57bb85e2e154
treedca009d65bed585004f0c51a4749274dba7ccc9d
parent5304099de43d83749c89929779fb9e7ab0fefa00
sdp: define SDP_MAX_PAYLOAD as ulong instead of int, to comply with PAGE_SIZE

SDP_MAX_PAYLOAD is compared a lot to PAGE_SIZE by min(), and on some kernels a
compilation warning of "comparison of distinct pointer types lacks a cast"
appears.

Signed-off-by: Eldad Zinger <eldadz@mellanox.co.il>
drivers/infiniband/ulp/sdp/sdp.h