Re: [PATCH v8 net-next 0/5] net: ethernet: ti: cpsw: Add XDP support

From: David Miller
Date: Sun Jul 07 2019 - 21:35:23 EST


From: David Miller <davem@xxxxxxxxxxxxx>
Date: Sun, 07 Jul 2019 18:31:46 -0700 (PDT)

> From: Ivan Khoronzhuk <ivan.khoronzhuk@xxxxxxxxxx>
> Date: Fri, 5 Jul 2019 18:04:57 +0300
>
>> This patchset adds XDP support for TI cpsw driver and base it on
>> page_pool allocator. It was verified on af_xdp socket drop,
>> af_xdp l2f, ebpf XDP_DROP, XDP_REDIRECT, XDP_PASS, XDP_TX.
>>
>> It was verified with following configs enabled:
> ...
>
> I'm applying this to net-next, please deal with whatever follow-ups are
> necessary.

Nevermind, you really have to fix this:

drivers/net/ethernet/ti/davinci_cpdma.c: In function ʽcpdma_chan_submit_siʼ:
drivers/net/ethernet/ti/davinci_cpdma.c:1047:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
buffer = (u32)si->data;
^
drivers/net/ethernet/ti/davinci_cpdma.c: In function ʽcpdma_chan_idle_submit_mappedʼ:
drivers/net/ethernet/ti/davinci_cpdma.c:1114:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
si.data = (void *)(u32)data;
^
drivers/net/ethernet/ti/davinci_cpdma.c: In function ʽcpdma_chan_submit_mappedʼ:
drivers/net/ethernet/ti/davinci_cpdma.c:1164:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
si.data = (void *)(u32)data;
^