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 83FD342636; Mon, 25 Sep 2023 17:09:42 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 523A94069F; Mon, 25 Sep 2023 17:09:42 +0200 (CEST) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mails.dpdk.org (Postfix) with ESMTP id CC1314068E for ; Mon, 25 Sep 2023 17:09:40 +0200 (CEST) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1c39f2b4f5aso44342845ad.0 for ; Mon, 25 Sep 2023 08:09:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1695654580; x=1696259380; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=rsVMOgzp7A18oeb9AX8wleDZakS/1HGfqViL7LVeEy0=; b=yoLxPY0c85EYSUh0dNwiNBk6bZFlgN2foIZHhAX4QOgUgVxO4VE3hF1ZyUThTTPXPR fg8a+LiPAIPD5DFYb6jxqpJhTmAHAmouRt4ISpI0rhK0fALutzPWbpXFbzfKFpeQppJM Io16EzPfghAJTQF3DtBP4GSN7+uF4Ss0RcYMKfAw/lEyiCIbJljvykO7507oVpGyGJbj LBmFh0N+rxeRkfG+wZ13Mzoihi3jNV4Aw93Vt/aWPTLemaRqWEVFXWyWfrwhRoZi/3FL dQryZ6aWLs1toi+AdDJJWMA+ouolxUfkTUX0pIRC7ZmZgnEJeVC7A99zc47e6btJlddn +L+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695654580; x=1696259380; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rsVMOgzp7A18oeb9AX8wleDZakS/1HGfqViL7LVeEy0=; b=iBvAJLGgPAPqXiMIfo3teB/apI+UCCt5Wgz+roC4saOUubkiYwC2BCo7On1g16pM6D YlLjUGfCUwVZhqbGuBEa0BF1QMJV6Ar7DPUrMKafhwXehiOLCPHdAf6ECB0VZDXZhUq2 yrBuhbJymsxjo0J5l+30dHivnC2AuHpPkfN4RZse15U7lBhsAJDONLUqYodgVIr9HflA i2ppqi8x549OvA5v01Eaq/s/T7k+boAT+jkAZMyiwhDzwSVhTZNUbCzm+SAX/sAWEEPW YLUl7igTbB9m6H2S7lbL+eQoSTgpxbwtEPZ4wteMn9daIUs0a//1uMYnzA1eCyQ+Cnru 79fQ== X-Gm-Message-State: AOJu0YxKy7sPsVVku0Fwfvh58pxQwW1FxJ5Nx2R07StzRzySTgyOfm+S ILfmFW0KqDFyL20/NZArbi23qseeN1bVH1oL0zrr5w== X-Google-Smtp-Source: AGHT+IG2W3VaAXjxJdsf+gjkF/wpl3EeiudZft1Wwn3gD6WZpKmFy9+WTYzHdSGlTfzebjWtJdPqvA== X-Received: by 2002:a17:902:e743:b0:1b8:94e9:e7cb with SMTP id p3-20020a170902e74300b001b894e9e7cbmr5592397plf.21.1695654579942; Mon, 25 Sep 2023 08:09:39 -0700 (PDT) Received: from hermes.local (204-195-112-131.wavecable.com. [204.195.112.131]) by smtp.gmail.com with ESMTPSA id 21-20020a170902c25500b001c61073b076sm3160199plg.144.2023.09.25.08.09.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 08:09:39 -0700 (PDT) Date: Mon, 25 Sep 2023 08:09:37 -0700 From: Stephen Hemminger To: Morten =?UTF-8?B?QnLDuHJ1cA==?= Cc: "Tyler Retzlaff" , , "Bruce Richardson" , "Konstantin Ananyev" , "Ciara Power" , , Subject: Re: [PATCH v11 14/16] log: use standard ternary operator instead of GCC extension Message-ID: <20230925080937.6a754ba6@hermes.local> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35D87C02@smartserver.smartshare.dk> References: <1680558751-17931-1-git-send-email-roretzla@linux.microsoft.com> <1691781658-32520-1-git-send-email-roretzla@linux.microsoft.com> <1691781658-32520-15-git-send-email-roretzla@linux.microsoft.com> <98CBD80474FA8B44BF855DF32C47DC35D87C02@smartserver.smartshare.dk> MIME-Version: 1.0 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 Mon, 25 Sep 2023 08:24:58 +0200 Morten Br=C3=B8rup wrote: > I didn't know this GCC extension. >=20 > Someone please consider disallowing this in checkpatches. We don't need to make checkpatch more complex. When MSVC is in build system, it will catch it=20