From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: passt.top; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=R73pchjV; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTP id 4D2AA5A061B for ; Thu, 07 Nov 2024 15:55:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1730991307; 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=QJpL86DVaDoMgZjAJd0WYNlD7TjrciUlMDPWtuES4E8=; b=R73pchjV7VVELaAdoZgXX55qhI12QLu/0BH9xPnEcWNMnagwoV8jQrneiCg2FTgTDCuEvK vG9KZui1zZ6MmrNmMW7Z7eYGzatxHxqrS3kMz8UVKdl8bXF5bYkQup+CmID9ExBkuWdLEb RF2iUbZM0j6X5TbVZWYM6P/e/uJa/ao= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-126-jrAV1t9VOdqZckaBIyvWIw-1; Thu, 07 Nov 2024 09:55:05 -0500 X-MC-Unique: jrAV1t9VOdqZckaBIyvWIw-1 X-Mimecast-MFC-AGG-ID: jrAV1t9VOdqZckaBIyvWIw Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-43151e4ef43so7151385e9.3 for ; Thu, 07 Nov 2024 06:55:05 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730991304; x=1731596104; 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=QJpL86DVaDoMgZjAJd0WYNlD7TjrciUlMDPWtuES4E8=; b=X2LdyfK+hb6Sv/STVc77zCvrcF8jw/RPn8IAWtgH4o3kFR7KEYtyHAaJpUHOeCbCki RHx2lZFmVNH+J9QwfzH63CJji5N9+/lbPVHM/aLkh6gpzzZ9Oj+2E4l51XyMYo1uIN6B Uqu8NJhAwTvEcUa584qdp/v+yv2okgTEajdgPMVSrVH5UTYMlI7u3ovV6LBUY5yms8NE 320/0nsEeyrBxm+d2SZh8hfiRHLUdQKez5VtoF3Lf9DZ9hcVpTVDiIyR9HKpzbPL2nhu q4es/S9XjZSPAcCp7nmZD6QygSM8tsTe7oESmAnrOhE79KdH8OO309vLAU98p2N0zRcV JW2A== X-Gm-Message-State: AOJu0YxVjUlc4uTQ/rkLu49l7YK9C6ubuOpgS0Xk4qelbGL6gg1G/UTN 1/u8Kz4H0Ckb7jUXny6BdiO+RsN3DYHzCf1mE88Kl/Zag/st4y2bkV0Lty2JxN3xgwb/Hrsnd3Z hch3wOzt4X7E8bqlBILf8htivTf9rj3NMXYKURPqFDumyAzzLMA== X-Received: by 2002:a05:600c:3b11:b0:431:51e5:22fb with SMTP id 5b1f17b1804b1-432b5f8873bmr2782875e9.14.1730991304729; Thu, 07 Nov 2024 06:55:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IEMn3UyBVyKsisckQjUqGcW4xuB1o0AiWgPdk5yl2GhtptMLbsHauL0K5T/W5Q+DlLYlNKDSQ== X-Received: by 2002:a05:600c:3b11:b0:431:51e5:22fb with SMTP id 5b1f17b1804b1-432b5f8873bmr2782675e9.14.1730991304391; Thu, 07 Nov 2024 06:55:04 -0800 (PST) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [2a10:fc81:a806:d6a9::1]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381eda0517csm1926206f8f.96.2024.11.07.06.55.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Nov 2024 06:55:03 -0800 (PST) Date: Thu, 7 Nov 2024 15:55:01 +0100 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH 00/12] Minor fixups for or inspired by clangd and related tools Message-ID: <20241107155501.5e308bdf@elisabeth> In-Reply-To: <20241105232528.1408144-1-david@gibson.dropbear.id.au> References: <20241105232528.1408144-1-david@gibson.dropbear.id.au> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 0L9P9c4th5ROLGZg8yHoXQX-WyhAL5j9TC4xiybyzuo_1730991305 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: 6CFT3S7HEQA44MWTF7FA3KC43B42536C X-Message-ID-Hash: 6CFT3S7HEQA44MWTF7FA3KC43B42536C 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 Wed, 6 Nov 2024 10:25:16 +1100 David Gibson wrote: > I've been experimenting with Zed and clangd recently. Currently it > generates an enormous number of largely spurious errors and warnings > on the passt code base. Mostly that's due to its default > configurations not suiting us. This series adds some configuration > that addresses a number of those warnings, though there remain many > more for now. > > Some of the warnings also look reasonable, so I have a grab bag of > fixes or workarounds for some of those two. Applied. -- Stefano