[PATCH 0/2] remove __typeof__ from expansion of per lcore macros
    Tyler Retzlaff 
    roretzla at linux.microsoft.com
       
    Tue Dec 19 18:27:42 CET 2023
    
    
  
The design of the macros requires a type to be provided to the macro.
By expanding the type parameter inside of typeof it also inadvertently
allows an expression to be used which appears not to have been intended
after evaluating the parameter name and existing macro use.
Technically this is an API break but only for applications that were
using these macros outside of the original design intent.
Tyler Retzlaff (2):
  eal: provide type instead of expression to per lcore macro
  eal: remove typeof from per lcore macros
 lib/eal/common/eal_common_errno.c | 2 +-
 lib/eal/include/rte_per_lcore.h   | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
-- 
1.8.3.1
    
    
More information about the dev
mailing list