summaryrefslogtreecommitdiffstats
path: root/Documentation/filesystems/erofs.rst
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2023-10-12 14:08:56 +0200
committerPaolo Abeni <pabeni@redhat.com>2023-10-12 15:34:08 +0200
commit2f0968a030f2a5dd4897a0151c8395bf5babe5b0 (patch)
tree34987c112d1c0f0683861d387ae6a99dca1731ba /Documentation/filesystems/erofs.rst
parentnfp: add support CHACHA20-POLY1305 offload for ipsec (diff)
downloadlinux-2f0968a030f2a5dd4897a0151c8395bf5babe5b0.tar.xz
linux-2f0968a030f2a5dd4897a0151c8395bf5babe5b0.zip
net: gso_test: fix build with gcc-12 and earlier
gcc 12 errors out with: net/core/gso_test.c:58:48: error: initializer element is not constant 58 | .segs = (const unsigned int[]) { gso_size }, This version isn't old (2022), so switch to preprocessor-bsaed constant instead of 'static const int'. Cc: Willem de Bruijn <willemb@google.com> Reported-by: Tasmiya Nalatwad <tasmiya@linux.vnet.ibm.com> Closes: https://lore.kernel.org/netdev/79fbe35c-4dd1-4f27-acb2-7a60794bc348@linux.vnet.ibm.com/ Fixes: 1b4fa28a8b07 ("net: parametrize skb_segment unit test to expand coverage") Signed-off-by: Florian Westphal <fw@strlen.de> Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://lore.kernel.org/r/20231012120901.10765-1-fw@strlen.de Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'Documentation/filesystems/erofs.rst')
0 files changed, 0 insertions, 0 deletions