diff options
| author | Arnd Bergmann <[email protected]> | 2016-10-12 14:54:01 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-10-13 15:02:25 +0000 |
| commit | f112be65fd3964ec2d56ddd0d5e6061b0fd502da (patch) | |
| tree | 37d2f1166601e98d8c51f3ef1f9df3fc99f3ec6c /net/ipv6/tcp_ipv6.c | |
| parent | stmmac: fix error check when init ptp (diff) | |
| download | kernel-f112be65fd3964ec2d56ddd0d5e6061b0fd502da.tar.gz kernel-f112be65fd3964ec2d56ddd0d5e6061b0fd502da.zip | |
xen-netback: fix type mismatch warning
Wiht the latest rework of the xen-netback driver, we get a warning
on ARM about the types passed into min():
drivers/net/xen-netback/rx.c: In function 'xenvif_rx_next_chunk':
include/linux/kernel.h:739:16: error: comparison of distinct pointer types lacks a cast [-Werror]
The reason is that XEN_PAGE_SIZE is not size_t here. There
is no actual bug, and we can easily avoid the warning using the
min_t() macro instead of min().
Fixes: eb1723a29b9a ("xen-netback: refactor guest rx")
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Paul Durrant <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
