DPDK usage discussions
 help / color / mirror / Atom feed
From: fwefew 4t4tg <7532yahoo@gmail.com>
To: users@dpdk.org
Subject: drivers/common/cnxk warning
Date: Sun, 12 Dec 2021 15:29:33 -0500	[thread overview]
Message-ID: <CA+Tq66VSg2FStM+W3WrxkQVQthYaw-dC7cRAps4jjQOPUPiJiw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 505 bytes --]

In recent versions of DPDK:

../drivers/common/cnxk/roc_irq.c:53:7: note: limit is 9223372036854775807
bytes, but argument is 18446744073709551548
[2920/3102] Linking target app/dpdk-testpmd.
../drivers/common/cnxk/roc_irq.c: In function ‘irq_config’:
../drivers/common/cnxk/roc_irq.c:53:7: warning: argument to variable-length
array is too large [-Wvla-larger-than=]
   53 |  char irq_set_buf[MSIX_IRQ_SET_BUF_LEN];
      |       ^

I don't use this driver but shouldn't it be corrected?

[-- Attachment #2: Type: text/html, Size: 581 bytes --]

                 reply	other threads:[~2021-12-12 20:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CA+Tq66VSg2FStM+W3WrxkQVQthYaw-dC7cRAps4jjQOPUPiJiw@mail.gmail.com \
    --to=7532yahoo@gmail.com \
    --cc=users@dpdk.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).