../drivers/vhost/net.c:681:28: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:51: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/uapi/linux/const.h:49:41: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^ ../drivers/vhost/net.c:681:28: note: place parentheses around the '+' expression to silence this warning 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:51: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/uapi/linux/const.h:49:41: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^ ../drivers/vhost/net.c:681:28: note: place parentheses around the '?:' expression to evaluate it first 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:51: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/uapi/linux/const.h:49:41: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^ ../drivers/vhost/net.c:681:28: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../include/uapi/linux/const.h:49:47: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^~~~ ../drivers/vhost/net.c:681:28: note: place parentheses around the '+' expression to silence this warning 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../include/uapi/linux/const.h:49:47: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^~~~ ../drivers/vhost/net.c:681:28: note: place parentheses around the '?:' expression to evaluate it first 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../include/uapi/linux/const.h:49:47: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^~~~ ../drivers/vhost/net.c:681:28: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../include/uapi/linux/const.h:49:58: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^~~~ ../drivers/vhost/net.c:681:28: note: place parentheses around the '+' expression to silence this warning 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../include/uapi/linux/const.h:49:58: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^~~~ ../drivers/vhost/net.c:681:28: note: place parentheses around the '?:' expression to evaluate it first 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../include/uapi/linux/const.h:49:58: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^~~~ 3 warnings generated. ../drivers/vhost/net.c:681:28: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:51: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/uapi/linux/const.h:49:41: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^ ../drivers/vhost/net.c:681:28: note: place parentheses around the '+' expression to silence this warning 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:51: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/uapi/linux/const.h:49:41: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^ ../drivers/vhost/net.c:681:28: note: place parentheses around the '?:' expression to evaluate it first 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:51: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/uapi/linux/const.h:49:41: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^ ../drivers/vhost/net.c:681:28: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../include/uapi/linux/const.h:49:47: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^~~~ ../drivers/vhost/net.c:681:28: note: place parentheses around the '+' expression to silence this warning 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../include/uapi/linux/const.h:49:47: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^~~~ ../drivers/vhost/net.c:681:28: note: place parentheses around the '?:' expression to evaluate it first 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../include/uapi/linux/const.h:49:47: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^~~~ ../drivers/vhost/net.c:681:28: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../include/uapi/linux/const.h:49:58: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^~~~ ../drivers/vhost/net.c:681:28: note: place parentheses around the '+' expression to silence this warning 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../include/uapi/linux/const.h:49:58: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^~~~ ../drivers/vhost/net.c:681:28: note: place parentheses around the '?:' expression to evaluate it first 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) | ~~~~~~^~~~~~~~~~~~~~~~~~~ ../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) | ~~~~~~~~~~~~~~~~^~~~~~~~ ../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../include/uapi/linux/const.h:49:58: note: expanded from macro '__ALIGN_KERNEL_MASK' 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) | ^~~~ 3 warnings generated. New errors added --- /tmp/tmp.z0yJ5ZsIOS 2025-05-07 10:41:03.499713668 -0700 +++ /tmp/tmp.HQXdVAx2mM 2025-05-07 10:46:11.926201083 -0700 @@ -0,0 +1,154 @@ +../drivers/vhost/net.c:681:28: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' + 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' + 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) + | ~~~~~~~~~~~~~~~~^~~~~~~~ +../include/uapi/linux/const.h:48:51: note: expanded from macro '__ALIGN_KERNEL' + 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/uapi/linux/const.h:49:41: note: expanded from macro '__ALIGN_KERNEL_MASK' + 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) + | ^ +../drivers/vhost/net.c:681:28: note: place parentheses around the '+' expression to silence this warning + 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' + 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' + 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) + | ~~~~~~~~~~~~~~~~^~~~~~~~ +../include/uapi/linux/const.h:48:51: note: expanded from macro '__ALIGN_KERNEL' + 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/uapi/linux/const.h:49:41: note: expanded from macro '__ALIGN_KERNEL_MASK' + 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) + | ^ +../drivers/vhost/net.c:681:28: note: place parentheses around the '?:' expression to evaluate it first + 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' + 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' + 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) + | ~~~~~~~~~~~~~~~~^~~~~~~~ +../include/uapi/linux/const.h:48:51: note: expanded from macro '__ALIGN_KERNEL' + 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) + | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/uapi/linux/const.h:49:41: note: expanded from macro '__ALIGN_KERNEL_MASK' + 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) + | ^ +../drivers/vhost/net.c:681:28: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' + 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' + 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) + | ~~~~~~~~~~~~~~~~^~~~~~~~ +../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' + 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ +../include/uapi/linux/const.h:49:47: note: expanded from macro '__ALIGN_KERNEL_MASK' + 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) + | ^~~~ +../drivers/vhost/net.c:681:28: note: place parentheses around the '+' expression to silence this warning + 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' + 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' + 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) + | ~~~~~~~~~~~~~~~~^~~~~~~~ +../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' + 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ +../include/uapi/linux/const.h:49:47: note: expanded from macro '__ALIGN_KERNEL_MASK' + 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) + | ^~~~ +../drivers/vhost/net.c:681:28: note: place parentheses around the '?:' expression to evaluate it first + 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' + 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' + 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) + | ~~~~~~~~~~~~~~~~^~~~~~~~ +../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' + 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ +../include/uapi/linux/const.h:49:47: note: expanded from macro '__ALIGN_KERNEL_MASK' + 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) + | ^~~~ +../drivers/vhost/net.c:681:28: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses] + 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' + 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' + 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) + | ~~~~~~~~~~~~~~~~^~~~~~~~ +../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' + 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ +../include/uapi/linux/const.h:49:58: note: expanded from macro '__ALIGN_KERNEL_MASK' + 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) + | ^~~~ +../drivers/vhost/net.c:681:28: note: place parentheses around the '+' expression to silence this warning + 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' + 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' + 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) + | ~~~~~~~~~~~~~~~~^~~~~~~~ +../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' + 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ +../include/uapi/linux/const.h:49:58: note: expanded from macro '__ALIGN_KERNEL_MASK' + 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) + | ^~~~ +../drivers/vhost/net.c:681:28: note: place parentheses around the '?:' expression to evaluate it first + 680 | headroom = SKB_DATA_ALIGN(VHOST_NET_RX_PAD + sock_hlen + + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 681 | vhost_sock_xdp(sock) ? XDP_PACKET_HEADROOM : 0); + | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +../include/linux/skbuff.h:256:33: note: expanded from macro 'SKB_DATA_ALIGN' + 256 | #define SKB_DATA_ALIGN(X) ALIGN(X, SMP_CACHE_BYTES) + | ~~~~~~^~~~~~~~~~~~~~~~~~~ +../include/vdso/align.h:8:38: note: expanded from macro 'ALIGN' + 8 | #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) + | ~~~~~~~~~~~~~~~~^~~~~~~~ +../include/uapi/linux/const.h:48:66: note: expanded from macro '__ALIGN_KERNEL' + 48 | #define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (__typeof__(x))(a) - 1) + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ +../include/uapi/linux/const.h:49:58: note: expanded from macro '__ALIGN_KERNEL_MASK' + 49 | #define __ALIGN_KERNEL_MASK(x, mask) (((x) + (mask)) & ~(mask)) + | ^~~~ +3 warnings generated. Per-file breakdown --- /tmp/tmp.1GUH3SuYd3 2025-05-07 10:47:47.358419402 -0700 +++ /tmp/tmp.QLiSAINa1t 2025-05-07 10:47:47.370419303 -0700 @@ -0,0 +1 @@ + 6 ../drivers/vhost/net.c