diff options
author | Jose E. Marchesi <[email protected]> | 2024-05-07 09:42:26 +0200 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2024-05-07 14:31:20 -0700 |
commit | 2ce987e1650216638b2b5f44948c6efea67038ae (patch) | |
tree | bbbf2a0a74ed23ada895ab0b7fdafc3b2a02ec3d /drivers/usb/cdns3/cdns3-trace.c | |
parent | 75b0fbf15d8466be618a997cae774eef445c0c7d (diff) |
bpf: Avoid __hidden__ attribute in static object
An object defined as `static' defaults to hidden visibility. If
additionally the visibility(__weak__) compiler attribute is applied to
the declaration of the object, GCC warns that the attribute gets
ignored.
This patch removes the only instance of this problem among the BPF
selftests.
Tested in bpf-next master.
Signed-off-by: Jose E. Marchesi <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions