From: Hemant Agrawal <hemant.agrawal@oss.nxp.com>
To: Stephen Hemminger <stephen@networkplumber.org>, dev@dpdk.org
Cc: Hemant Agrawal <hemant.agrawal@nxp.com>,
Sachin Saxena <sachin.saxena@nxp.com>
Subject: Re: [RFT 2/3] net/dpaa2: make local array static
Date: Thu, 16 Oct 2025 10:44:55 +0530 [thread overview]
Message-ID: <a9731c85-129f-4169-8e8c-246f1c4b90ad@oss.nxp.com> (raw)
In-Reply-To: <20251015230933.875860-3-stephen@networkplumber.org>
On 16-10-2025 04:37, Stephen Hemminger wrote:
> The table wriop_bytecode can be static to avoid name conflicts.
>
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
> drivers/net/dpaa2/dpaa2_sparser.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/dpaa2/dpaa2_sparser.c b/drivers/net/dpaa2/dpaa2_sparser.c
> index 0b3e9f1920..6c3e6eb573 100644
> --- a/drivers/net/dpaa2/dpaa2_sparser.c
> +++ b/drivers/net/dpaa2/dpaa2_sparser.c
> @@ -23,7 +23,7 @@
> #include <stdint.h>
> #include <inttypes.h>
>
> -uint8_t wriop_bytecode[] = {
> +static uint8_t wriop_bytecode[] = {
> 0x00, 0x04, 0x29, 0x42, 0x03, 0xe0, 0x12, 0x00, 0x29, 0x02,
> 0x18, 0x00, 0x87, 0x3c, 0x00, 0x02, 0x18, 0x00, 0x00, 0x00
> };
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
next prev parent reply other threads:[~2025-10-16 5:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-15 23:07 [RFT 0/3] net/dpaa2: global symbol fixes Stephen Hemminger
2025-10-15 23:07 ` [RFT 1/3] net/dpaa2: remove unused frame array Stephen Hemminger
2025-10-16 5:19 ` Hemant Agrawal
2025-10-15 23:07 ` [RFT 2/3] net/dpaa2: make local array static Stephen Hemminger
2025-10-16 5:14 ` Hemant Agrawal [this message]
2025-10-15 23:07 ` [RFT 3/3] net/dpaa2: make total rx descriptors per device Stephen Hemminger
2025-10-16 5:18 ` Hemant Agrawal
2025-10-16 22:09 ` [PATCH v2 0/3] net/dpaa2: make symbols static Stephen Hemminger
2025-10-16 22:09 ` [PATCH v2 1/3] net/dpaa2: remove unused frame array Stephen Hemminger
2025-10-16 22:09 ` [PATCH v2 2/3] net/dpaa2: make local array static Stephen Hemminger
2025-10-16 22:09 ` [PATCH v2 3/3] net/dpaa2: make total_rx_descriptors static Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a9731c85-129f-4169-8e8c-246f1c4b90ad@oss.nxp.com \
--to=hemant.agrawal@oss.nxp.com \
--cc=dev@dpdk.org \
--cc=hemant.agrawal@nxp.com \
--cc=sachin.saxena@nxp.com \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).