[PATCH v3 0/5] use rte macros instead of GCC __attribute
Tyler Retzlaff
roretzla at linux.microsoft.com
Wed Mar 6 23:14:42 CET 2024
Clean up direct uses of GCC __attribute__((__pure__)) and
__attribute__((__may_alias__)). A checkpatch check already warns for
new additions.
v3:
* update series to clean app/drivers/lib
v2:
* fix typo __rte_pure -> __rte_may_alias in rcu commit message
Tyler Retzlaff (5):
eal: add rte pure attribute macro
lpm: use rte macro instead of GCC attribute
rcu: use rte macro instead of GCC attribute
app/test: use rte macro instead of GCC attribute
net/cxgbe: use rte macro instead of GCC attribute
app/test-fib/main.c | 4 ++--
drivers/net/cxgbe/base/common.h | 2 +-
drivers/net/cxgbe/base/t4_hw.c | 2 +-
drivers/net/cxgbe/base/t4vf_hw.c | 2 +-
lib/eal/include/rte_common.h | 9 +++++++++
lib/lpm/rte_lpm.c | 4 ++--
lib/lpm/rte_lpm6.c | 2 +-
lib/rcu/rcu_qsbr_pvt.h | 2 +-
8 files changed, 18 insertions(+), 9 deletions(-)
--
1.8.3.1
More information about the dev
mailing list