[ovs-dev] [PATCH] dpif-netdev: Fix -Wformat warning on 32-bit build.

Daniele Di Proietto diproiettod at vmware.com
Sat Aug 13 00:58:03 UTC 2016






On 12/08/2016 16:24, "Joe Stringer" <joe at ovn.org> wrote:

>On 12 August 2016 at 15:44, Daniele Di Proietto <diproiettod at vmware.com> wrote:
>> Use the appropriate format specifier for size_t, otherwise the 32-bit
>> build fails.
>>
>> Reported-at: https://travis-ci.org/openvswitch/ovs/jobs/151938383
>> Fixes: 3453b4d62a98("dpif-netdev: dpcls per in_port with sorted
>> subtables")
>> Signed-off-by: Daniele Di Proietto <diproiettod at vmware.com>
>
>Don't we have some kind of checker or build step that's supposed to
>pick up on things like this?

I'm not sure, but I think it's not easy to forbid %lu. It might be used for unsigned long.

>
>Anyway, LGTM:
>
>Acked-by: Joe Stringer <joe at ovn.org>

Thanks, applied to master


More information about the dev mailing list