From: Paolo Abeni <[email protected]> Such annotation is present into the kernel uAPI headers since v6.7, and will be used soon by the vhost_type.h. Deal with it just stripping it.
Reviewed-by: Akihiko Odaki <[email protected]> Acked-by: Jason Wang <[email protected]> Acked-by: Stefano Garzarella <[email protected]> Signed-off-by: Paolo Abeni <[email protected]> Tested-by: Lei Yang <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Message-ID: <a1430f43cc954d2a931fa60581bda6d6af4bc771.1758549625.git.pab...@redhat.com> Signed-off-by: Michael S. Tsirkin <[email protected]> --- scripts/update-linux-headers.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh index 717c379f9e..64c0d7c4eb 100755 --- a/scripts/update-linux-headers.sh +++ b/scripts/update-linux-headers.sh @@ -90,6 +90,7 @@ cp_portable() { -e 's/<linux\/\([^>]*\)>/"standard-headers\/linux\/\1"/' \ -e "$arch_cmd" \ -e 's/__bitwise//' \ + -e 's/__counted_by(\w*)//' \ -e 's/__attribute__((packed))/QEMU_PACKED/' \ -e 's/__inline__/inline/' \ -e 's/__BITS_PER_LONG/HOST_LONG_BITS/' \ -- MST
