DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: Bruce Richardson <bruce.richardson@intel.com>
Cc: dev@dpdk.org, stable@dpdk.org
Subject: Re: [PATCH] net/cpfl: fix build error for debian 32-bit
Date: Wed, 10 Jul 2024 17:07:30 +0200	[thread overview]
Message-ID: <CAJFAV8yiTy9DO0S+CG__O6M6ervOA6ZoUHEegFf7KGtJ=8q1tQ@mail.gmail.com> (raw)
In-Reply-To: <20240710145351.599031-1-bruce.richardson@intel.com>

On Wed, Jul 10, 2024 at 4:54 PM Bruce Richardson
<bruce.richardson@intel.com> wrote:
>
> When building for debian 11 32-bit, errors were reported with cpfl
> driver[1]. The error is due to comparing signed and unsigned values:
>
> ../drivers/net/cpfl/cpfl_flow_parser.c:1699:29: error: comparison of
>   integer expressions of different signedness: 'long int' and
>   'uint32_t' {aka 'unsigned int'} [-Werror=sign-compare]
>
> Fix the issue by using an explicitly cast for the return value from
> atol.
>
> Fixes: c10881d3ee74 ("net/cpfl: support flow prog action")
> Cc: stable@dpdk.org
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>


-- 
David Marchand


  reply	other threads:[~2024-07-10 15:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-10 14:53 Bruce Richardson
2024-07-10 15:07 ` David Marchand [this message]
2024-07-10 16:10   ` Bruce Richardson

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='CAJFAV8yiTy9DO0S+CG__O6M6ervOA6ZoUHEegFf7KGtJ=8q1tQ@mail.gmail.com' \
    --to=david.marchand@redhat.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=stable@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).