Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf beauty: Update copy of linux/socket.h with the kernel sources

To pick the changes in:

b5f0de6df6dce8d6 ("net: dev: Convert sa_data to flexible array in struct sockaddr")

That don't result in any changes in the tables generated from that
header.

This silences this perf build warning:

Warning: Kernel ABI header at 'tools/perf/trace/beauty/include/linux/socket.h' differs from latest version at 'include/linux/socket.h'
diff -u tools/perf/trace/beauty/include/linux/socket.h include/linux/socket.h

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

+4 -1
+4 -1
tools/perf/trace/beauty/include/linux/socket.h
··· 33 33 34 34 struct sockaddr { 35 35 sa_family_t sa_family; /* address family, AF_xxx */ 36 - char sa_data[14]; /* 14 bytes of protocol address */ 36 + union { 37 + char sa_data_min[14]; /* Minimum 14 bytes of protocol address */ 38 + DECLARE_FLEX_ARRAY(char, sa_data); 39 + }; 37 40 }; 38 41 39 42 struct linger {