[PATCH] bus/fslmc: fix shadowed variables in queue storage macros
Weijun Pan
wpan36 at wisc.edu
Sat Jun 27 18:24:25 CEST 2026
Thanks for the feedback.
I will prepare a v2 for this patch. For the queue storage helpers, I will replace the macros with static inline functions, based on Stephen's suggestion.
Thanks,
Weijun
________________________________
From: Thomas Monjalon <thomas at monjalon.net>
Sent: Wednesday, June 10, 2026 9:15 AM
To: Weijun Pan <wpan3636 at gmail.com>; Hemant Agrawal <hemant.agrawal at nxp.com>; Weijun Pan <wpan36 at wisc.edu>
Cc: dev at dpdk.org <dev at dpdk.org>; Sachin Saxena <sachin.saxena at nxp.com>; Jun Yang <jun.yang at nxp.com>; stable at dpdk.org <stable at dpdk.org>; Stephen Hemminger <stephen at networkplumber.org>
Subject: Re: [PATCH] bus/fslmc: fix shadowed variables in queue storage macros
07/04/2026 16:09, Stephen Hemminger:
> Why are these not inline functions.
> Macros with lower case names are likely place fore confusion like this?
Hemant, Sachin, Weijun, please could you consider this comment?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/dev/attachments/20260627/d17d63a9/attachment.htm>
More information about the dev
mailing list