From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=pass (p=quarantine 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=J/62iwKT; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by passt.top (Postfix) with ESMTPS id AD8ED5A0265 for ; Thu, 09 Jul 2026 18:59:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1783616386; 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=gNfjXbacRNQR5+ZVKUqvoO15XpzsSZ7ESz7YsqORSO0=; b=J/62iwKTxBI9G9H0yD8XyOOedBvMc46cHeKKNsqWnkxmTK5FNtiQEowChQsvnQf7t9srYo 6ajCCewcRqDUmubmGFoBj/CmPeQqPYg53UrkUolGjICnUwGZdLAG2FFgXgTM6fFVqvV+4F elqjfqPXoquFZog2ChpD6qfcbV9utqA= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-313-Kj6wHxDOOq2ofveUJyOXAQ-1; Thu, 09 Jul 2026 12:59:45 -0400 X-MC-Unique: Kj6wHxDOOq2ofveUJyOXAQ-1 X-Mimecast-MFC-AGG-ID: Kj6wHxDOOq2ofveUJyOXAQ_1783616384 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-490a767b782so162415e9.2 for ; Thu, 09 Jul 2026 09:59:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783616384; x=1784221184; h=date:content-transfer-encoding:content-type:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=gNfjXbacRNQR5+ZVKUqvoO15XpzsSZ7ESz7YsqORSO0=; b=DqhYUc4HevduaTjV+VAHD6uryfMnZDPczGHcz5MlQfX30bRuVuxMs1j/Df4w6rSLmv 4Bgo7N/ZisMDOAaJ9rt7wZSodzU69q1j4+nPUdxI4NBsmn8qghS6ehklZTUOuE3m/rzF +w7JS8mSzNQ7CjCtVAhxA5dXa77qaR8Gfv1UOIqSmg9W0exiA95nKbbG44NRD4fvMGsg sGpgRu1+jKVxRdyO5FYj/XsHlVFhp9u3dKeTSBtmg4rmNALvxrX73IzPXkbAy+wsCQ1D vJ9SWyIVZ4cJBxZ3sHIiZv2Bkj9v0Ahym4COgkhFKsNWgf0yXu7wgHLTWO1yrQFgJe8Q azsg== X-Forwarded-Encrypted: i=1; AHgh+RqxGAptnKPkGZH9xQ6me41PMuL6XD6k4nr/2y9GeOkdtHaLYE0nu0eZpmBhPAHENj8r/HFpjQ+ci0I=@passt.top X-Gm-Message-State: AOJu0YztzTkDfXRNrwwU5DwixfWR2pSbif/kojQfJ+r8Z8nVq5Ts+0Ku F0kMxy8Byf3wgZb/rsH4j2QtnxU7xWHLAQCm0PznU4PmLD6XlZIwUHWfEQ27zaFxYYFhXN7TfiL VaKK7hQpAtQsQBtkkh2GwyVlTMzTz4+gvYRVYyOTJ95TbX/LG16pAAA== X-Gm-Gg: AfdE7cmWSlAtkfR9zrCtZEks5DWgBL/FOV2T5JpM4oMy8BfUkVsRUheS8TSiz2adzXs GLNS6xmG1rlujCrFLJZqADOBuoHw6W0juPBBp6gHN/1aNnz3eFsKcw60YckCzBctdK5j+8z1kw6 RuZfUw/TtrpeAf8OU/+DSzCVSuMTypua7kCht1LrjA5P9xWsICXEMMpx7JQodNOsjn4NKAhu1da /eAm3MjJlVDUbG3jpmw7C72giibLq0ucLDq0CZsUYGennm0oTd/+yMZQuylPciNO07ODatWlNCX 1L+AF2iqmpXJlOggDfP3zF2N5qmNhnFITVZ91EJaikpALH/FnHBQ4tZ0LYr9psdbnecwELrvtBb x/UYvuvyrHu64iVT6vPA1hQLpJ8mZy7JyPtMXAEA= X-Received: by 2002:a05:600c:4fc6:b0:493:b729:3a9 with SMTP id 5b1f17b1804b1-493e68cbf1dmr81170215e9.27.1783616383733; Thu, 09 Jul 2026 09:59:43 -0700 (PDT) X-Received: by 2002:a05:600c:4fc6:b0:493:b729:3a9 with SMTP id 5b1f17b1804b1-493e68cbf1dmr81169975e9.27.1783616383197; Thu, 09 Jul 2026 09:59:43 -0700 (PDT) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [176.103.220.4]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-493eb73b161sm66473125e9.9.2026.07.09.09.59.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jul 2026 09:59:42 -0700 (PDT) From: Stefano Brivio To: Jon Maloy Subject: Re: [PATCH 6/7] doc/platform-requirements: Initialise va_list before va_start() Message-ID: <20260709185941.4a23534a@elisabeth> In-Reply-To: References: <20260708223203.885345-1-jmaloy@redhat.com> <20260708223203.885345-7-jmaloy@redhat.com> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 Date: Thu, 09 Jul 2026 18:59:42 +0200 (CEST) X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: _DSPhNXaTnFbo4p1JJgH5gfq7lyYxSnNbhHD_NA1lXg_1783616384 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: UWVJNRRJG7Z3W4OAEJESDLF5F4VHVBR3 X-Message-ID-Hash: UWVJNRRJG7Z3W4OAEJESDLF5F4VHVBR3 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: David Gibson , 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 Thu, 9 Jul 2026 12:49:10 -0400 Jon Maloy wrote: > On 2026-07-08 22:40, David Gibson wrote: > > On Wed, Jul 08, 2026 at 06:32:02PM -0400, Jon Maloy wrote: > >> va_start() initialises the va_list, but zero-initialise it at > >> declaration as well to make it clear the variable is not used > >> uninitialised. > > > > I really dislike this approach to suppressing uninitialised variable > > warnings. A decent tool should be able to tell that va_start() > > initialises ap, and pre-initialising means that tool will no longer > > warning if we accidentally deleted the va_start(). > > > > Is there really no other way for the warning in question? > > TBH I dislike it too. I still decided to post it just to see the > feedback. I cannot see any other way to get rid of this warning, > but maybe somebody else has? I don't think we need to get rid of any warnings here as we don't run static checkers on the code in platform-requirements/ anyway, it's just there as documentation, proof of concept, or test code. -- Stefano