From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTP id 9EE9B5A02D2 for ; Mon, 13 May 2024 23:37:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1715636247; 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=gLEb5BFXK7npIFukN7aSyPHqpG2oIRSn+Z6iDjUEWac=; b=DHBopKMymeJxhYpKDnoimkxwpJLhy2wjJZZcTXeFjf/Y6xudsSvxLmPToPJ4cOguIKPADY ikEPRGbqwRTpLbHVSQ4RXG2d9qu1mQ5JpMmash0bdofrfumMVE0xIXaYgH3hmdzmEur09x 0oPEGJyKrd92woRDls0cG91dn6n3g4U= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-29-Yu_VNXzFP2GznW7qqMJLbQ-1; Mon, 13 May 2024 17:37:26 -0400 X-MC-Unique: Yu_VNXzFP2GznW7qqMJLbQ-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-a599b55056bso294947966b.0 for ; Mon, 13 May 2024 14:37:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715636244; x=1716241044; h=content-transfer-encoding:mime-version:organization: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=gLEb5BFXK7npIFukN7aSyPHqpG2oIRSn+Z6iDjUEWac=; b=wHyMRrcSKA7XkxiyXFVcCnjL8+WrG7UCO92gSQtD/VY5x+bgWubcw90Xq3PGCquDCR 3XFTqCWF+q86q7uKBaYBRF7/P1PQ7+muUgxN+Jp+Ueql0Avq9pCWdbsUdcWaApXtPmQi sGgcAhKyPLzk5aC20rRKg/T3AtA/bV971oCFKrRj4Y4h/UnnXSh/xpUOh0SSvSRth/uf 4FK5iiXSEd/N3xoF6ufcL3ukr6BvHKsIKLs9tqb91lD76oAWME3lqI6hg1A1MxN6WrKg 3F4ED54Kk/z0RozOOAeJIJUTxTN66VxdKjWBs8zO8Ct6HM22m0ThpGR7+evpr/KM2IqI XgKQ== X-Gm-Message-State: AOJu0YylEAITm+phByDjcRil1pE8SGLVWfZpy8Yice/2pt6MnE3JmE2H mpMpXYn5raf7qUaNVNjaOTxuYKm0OvjQJLmdKW/21kL+7lZHkemb9QWuqALTokfgeMFpNjctvWt GHLQK1SK3sLbvzVPty6MRSBDR6Le6geo0zaTXlNChLgCpFFrHeFylL7cH/TJK X-Received: by 2002:a17:906:4a95:b0:a5a:1df:a0b1 with SMTP id a640c23a62f3a-a5a2d536ba6mr738594266b.1.1715636243949; Mon, 13 May 2024 14:37:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHsu7Gxt8cwnKYDC57q4MHSBuBKFAsZyamFLPO9yNVJ6fo8wkcxglLojFMJCnmUUdDe2D0GXg== X-Received: by 2002:a17:906:4a95:b0:a5a:1df:a0b1 with SMTP id a640c23a62f3a-a5a2d536ba6mr738593366b.1.1715636243487; Mon, 13 May 2024 14:37:23 -0700 (PDT) Received: from maya.cloud.tilaa.com (maya.cloud.tilaa.com. [164.138.29.33]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a5a17b017a5sm644098766b.180.2024.05.13.14.37.22 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 May 2024 14:37:22 -0700 (PDT) Date: Mon, 13 May 2024 23:36:49 +0200 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH v2 2/2] clang-tidy: Suppress macro to enum conversion warnings Message-ID: <20240513233649.7eaecacc@elisabeth> In-Reply-To: <20240513145758.713647-3-david@gibson.dropbear.id.au> References: <20240513145758.713647-1-david@gibson.dropbear.id.au> <20240513145758.713647-3-david@gibson.dropbear.id.au> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.36; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: BXH42MX7DFHFAH6JLOO6NWNJKRAWL3WL X-Message-ID-Hash: BXH42MX7DFHFAH6JLOO6NWNJKRAWL3WL X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Tue, 14 May 2024 00:57:58 +1000 David Gibson wrote: > clang-tidy 18.1.1 in Fedora 40 complains about every #define of an integral > value, suggesting it be converted to an enum. Oh, wow, that's a bit heavy-handed. Series applied. -- Stefano