From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 587B9455D4; Wed, 10 Jul 2024 17:07:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4C6B441109; Wed, 10 Jul 2024 17:07:49 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 209DA410ED for ; Wed, 10 Jul 2024 17:07:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1720624066; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vRHyTIg8UvNXLG4ZvDFp2iM9tHfZIr1VomatxSBuZVg=; b=hlG5gfuS84uNJ3ergn0MSDn9V/1nr8CDcXqiUVIOE+6M9c/P9YeofV2FI+Q7hZEG8p9zQE AZguRa5C6Njbzxf9q1H5CK10/r37eN0ewRBxIiCHXZQh0F5Uoge+pn4WoQesUd1C9JULM4 JOOJPCvK/8A+m0UeERHHysHepMfqEPA= Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-653-CyUWgInAP8y9YYnkbrPQ1A-1; Wed, 10 Jul 2024 11:07:45 -0400 X-MC-Unique: CyUWgInAP8y9YYnkbrPQ1A-1 Received: by mail-lj1-f198.google.com with SMTP id 38308e7fff4ca-2ee91b8addfso6303451fa.0 for ; Wed, 10 Jul 2024 08:07:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720624064; x=1721228864; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vRHyTIg8UvNXLG4ZvDFp2iM9tHfZIr1VomatxSBuZVg=; b=HLORjFKrIGBGlStt14yjON7RGYZq0vB4Pp5ONuL+y/+PM9Ph/4CJECwjPoh7ETBAKG sJzqVeWjzosUq04A+43o8fdrN2E8VmN6jcI4S3lNA9WHTRlku4EXwUpA60uruJfJQ8ND 7vvLAXBH7qI1AONhWFKqwIAGnU3URWw95SqT4W3laHXssk6nMwMcpRJGyrt4wFv5Tg+o YzerW04iKfADq4ChbPD1SGwhY3r9rEY0/sjCCarz9ZCFubxYtOo3iE4+ksd6/IPNJQCQ 560IiOKZBW05H2PNMQBzU8nuW1nyqRH0XGuoYtjNVYRMy3rvvofGHX9nEKtrXkGXPdSj c98g== X-Gm-Message-State: AOJu0YywZEHqs/yMAU91RUm4qB2hWiQnrweubMScu7RjINO3oXYfBMwH C9zWc9tN5pP2qS8xn1+1IwdeFTUpIhYfGWuW8VZKpJytzPN3K6js6QDZCi5sgjDh10aBlphXv5e z9fHldK05sOA4kY3gXaiXREgb70YDD/NqvgvJluym+/mrf0PFd5UCFX7+TDZ8cR4/ZiCMv6NSEq WuVs9o6HcwBCFHW3E= X-Received: by 2002:a2e:9b4b:0:b0:2ec:3f29:a0f1 with SMTP id 38308e7fff4ca-2eeb46d3da2mr16431201fa.19.1720624063880; Wed, 10 Jul 2024 08:07:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFzqUP4o6fYLnl1jLi+85lkLcKMVVzKz4byTcvJWzweoxltVMMT55G57Piv5UDQQUXVRqdCbiuX0CLVhZ2mTeA= X-Received: by 2002:a2e:9b4b:0:b0:2ec:3f29:a0f1 with SMTP id 38308e7fff4ca-2eeb46d3da2mr16431171fa.19.1720624063505; Wed, 10 Jul 2024 08:07:43 -0700 (PDT) MIME-Version: 1.0 References: <20240710145351.599031-1-bruce.richardson@intel.com> In-Reply-To: <20240710145351.599031-1-bruce.richardson@intel.com> From: David Marchand Date: Wed, 10 Jul 2024 17:07:30 +0200 Message-ID: Subject: Re: [PATCH] net/cpfl: fix build error for debian 32-bit To: Bruce Richardson Cc: dev@dpdk.org, stable@dpdk.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, Jul 10, 2024 at 4:54=E2=80=AFPM Bruce Richardson 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=3Dsign-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 Reviewed-by: David Marchand --=20 David Marchand