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 2758A455D5 for ; Wed, 10 Jul 2024 17:07:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 217E942DCD; Wed, 10 Jul 2024 17:07:50 +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 891BD410ED 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=1720624067; 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=X1WAQv1WOA9XXk45d4O2bu9oLpmdM1LM7d3PveeMj1yPleTWCqKXyA8kC3FsCN3okE93Fw O9W96UXwl/EI3msXD5oaUrRR9bm4rDUcKSvttryjsb/MxOfBwTMqj/X7+Z18EfCWm0YKdG LnZTx+5SDaw4SRVPX2B6QfciTmSX8o8= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-15-prc7J62qN9C7ortK69NVLQ-1; Wed, 10 Jul 2024 11:07:45 -0400 X-MC-Unique: prc7J62qN9C7ortK69NVLQ-1 Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-2eea217cb21so7164771fa.1 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=F/Gks3ctlhCjMm6bm0mgfYz67UCcuzTA5bUqiLKLR3DSjmQTaZTh2Z4mELdXebyF4S 8W3MhRaK49aZukBezilnCNBk043bU0rKiwVDUB4QcZztVLI26wMq6/E6Pn/6wGbxiXrh vSGafKQR6Nz+urY9J/chbxfFboF+WJUn2c1bP889MGMISVXWYuXz8/+W3DeNHjquFJI4 rAsGbvxeQbfKkhCPOsLu4++0Re6Otq9YCR7dg+atLq+utAJ+Y/04ut1PD97XoZ32i34B OQI+4BzDSMFRtogjrmeCEkBR8+n8KY26xR+wLVXTS2h3rR+/IdmdtztSkv4aW6RnwxW/ +ZGw== X-Forwarded-Encrypted: i=1; AJvYcCWt9HpuhsthLDgNwO+sOU436Z6Ab8EJfIwTuw3RczvAur4ks/qNJS8uHu2hU9kY3LuCnvhWuTOerBC1kbtzWuE= X-Gm-Message-State: AOJu0YxohnEGKZLvSHcsxE5/oLUqEx5RZEUhR6jfbdsSHUDv2yQ2ceBI /165jO4GXLCQT5AVG3Kjwkfuz3oRTJaNxMoiUtKyxXuLUPFZYGa2Utnmw0Qbbgt9Tz1AXEHlbpv WrIrhBDoje351no7DBAXOc9ZO9mhHedAFqwYHPgWZORdaRSTlI36mQWs4kgo9IRWeE5uHzEd9bR 4V3GzNNedQQRU5sJlEQ8A= X-Received: by 2002:a2e:9b4b:0:b0:2ec:3f29:a0f1 with SMTP id 38308e7fff4ca-2eeb46d3da2mr16431221fa.19.1720624063885; 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: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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