On Mon, Nov 9, 2015 at 9:18 PM, Leon Romanovsky <l...@leon.nu> wrote:
> On Mon, Nov 09, 2015 at 06:30:55PM +0200, Matan Barak wrote:
>>
>> +static inline bool ib_is_udata_cleared(struct ib_udata *udata,
>> +                                    char cleared_char,
>> +                                    size_t offset,
>> +                                    size_t len)
>> +{
>> +     short i;
>> +
>> +     for (i = 0; i < len; i++) {
> You are comparing "len" which is declared as size_t which is "unsigned" int 
> and "i" which is "short".

Thanks, I'll change i to be unsigned.

> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to