Merge branch 'bpf-avoid-attribute-ignored-warnings-in-gcc'
authorAndrii Nakryiko <andrii@kernel.org>
Tue, 7 May 2024 21:31:20 +0000 (14:31 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 7 May 2024 21:31:21 +0000 (14:31 -0700)
commiteda80aacd00c016d7c03a2bfe231fafdce0e16b0
tree62e0a5e4524fc533da84a074294bff604acd5577
parent75b0fbf15d8466be618a997cae774eef445c0c7d
parentb0fbdf759da05a35b67fd27b8859738b79af25d6
Merge branch 'bpf-avoid-attribute-ignored-warnings-in-gcc'

Jose E. Marchesi says:

====================
bpf: avoid `attribute ignored' warnings in GCC

These two patches avoid warnings (turned into errors) when building
the BPF selftests with GCC.

[Changes from V1:
- As requested by reviewer, an additional patch has been added in
  order to remove __hidden from the `private' macro in
  cpumask_common.h.
- Typo bening -> benign fixed in the commit message of the second
  patch.]
====================

Link: https://lore.kernel.org/r/20240507074227.4523-1-jose.marchesi@oracle.com
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>