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=hJa2jLf8; 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 CC7775A0262 for ; Tue, 12 May 2026 07:45:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1778564736; 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=YKSE8nvATTlD6r+wEHuZkkKAyViCIB8kPBHe0S1dKKw=; b=hJa2jLf8Ul8W3vxkDZLdEepwU2TP2wQI2eOWkaB46hGWf5eml4gAzXOORS1oEjBY+UyIbJ kWj4AV4Iyc9tQebfvQc/3KcTAoc5cMsKo4e6AVDQMvqmINhoHeBYylftYUzVtcc4sY93Sk XZtzMpQWgopUFFwEhy+yuvH0DNW4vnk= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-637-nhDPbboRO1yu8NVlljQ6zA-1; Tue, 12 May 2026 01:45:35 -0400 X-MC-Unique: nhDPbboRO1yu8NVlljQ6zA-1 X-Mimecast-MFC-AGG-ID: nhDPbboRO1yu8NVlljQ6zA_1778564734 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-48e79219704so14209695e9.1 for ; Mon, 11 May 2026 22:45:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778564734; x=1779169534; h=date:content-transfer-encoding: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; bh=YKSE8nvATTlD6r+wEHuZkkKAyViCIB8kPBHe0S1dKKw=; b=OeFkXyCtfOQV/3bXua7ocmZp5DpbrdEUSfhyH9r31Ghx5jjVBw4+wR+2348bPOzMDx QQsJVkBGFnKiK4ci4P3SdncZTFgEl38ZpOoyaUQzAsi3YrWwyoHxnYXbgtc2t3gEPLHC bLn2VWDeT4fj9lbkPWdzIVzGTzEcP7MESC84Z4uaL20WhKVLMaqsdUc2d8gKntN1u1OZ 8aG+VaFUJJeMB94bTDtTDfB+rH3YIY+gThzoGgg7GR5IIIAPxa4nMUXnstzAJWrJVUij 8XzVn0lVGFgQsBlLt+syv/0EulAQ8Nk6GnT6CaGcwikDn5ueaC6owgK/nzA3MRGswOA/ xMZA== X-Gm-Message-State: AOJu0YzE++xq8kcykgFPuZw3WselvPfVGCqcH6ZMse2xqzDS0i4HceAP UmkUYKYDnk7YDwGFVzxiBn6wTe8xiasYdv6P2+Ko04k7n7b//L7tshATaLVpcsGHt0BWy0XdL4v 4YRDJOmrLCEpWjJci3bQXOusam0wEKu1pjoGlQlhbWLc7Qzj0Epfj7A== X-Gm-Gg: Acq92OGy2o7GGig0YhB0eZLMfnCYIM7DjDDYExZZ3t6x4YM/4Nwmqr4UAuN4KYOiGEo BUS7yTXSs7f+gjRHjicRyv8HYIWcaQwAoRCKZ/lXDTPZ/gl8wKLHexwu7oUUsP0eBXLFnWf78KY fWNWuAntyrA1Bt+a077FemjLxSD8KISm9LDEJSBrZo/NBwxKVprZ1dPDqm3DiOJokC6dfYQa1YZ ub2tZxHJqyOvmMPMnz6pscIu5EBj/Nm57IVVzOBTKAnk1oFB4k4X6XEzpL1pS+w6MRAt/nJRY5w DKTcx0cPhlLZ+8pMb3xMawtAiPKE5OB4rTlPebo1G96CT9CebGv79Fl3t+3JIzvcyvj0kq8ZS0C YQXIECZV2YyT5ReVu+xSJYbELKiLmhD+n/ofLb/mTsY4jl4bBDw== X-Received: by 2002:a05:600c:c0cf:b0:48a:66a8:9981 with SMTP id 5b1f17b1804b1-48e8fe82535mr15111895e9.27.1778564734075; Mon, 11 May 2026 22:45:34 -0700 (PDT) X-Received: by 2002:a05:600c:c0cf:b0:48a:66a8:9981 with SMTP id 5b1f17b1804b1-48e8fe82535mr15111545e9.27.1778564733529; Mon, 11 May 2026 22:45:33 -0700 (PDT) Received: from maya.myfinge.rs (ifcgrfdd.trafficplex.cloud. [176.103.220.4]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48e8f3f5174sm13391505e9.5.2026.05.11.22.45.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 May 2026 22:45:32 -0700 (PDT) From: Stefano Brivio To: David Gibson Subject: Re: [PATCH 0/8] Fix assorted warnings Message-ID: <20260512074531.7e095e7c@elisabeth> In-Reply-To: <20260511100322.1016757-1-david@gibson.dropbear.id.au> References: <20260511100322.1016757-1-david@gibson.dropbear.id.au> Organization: Red Hat X-Mailer: Claws Mail 4.2.0 (GTK 3.24.49; x86_64-pc-linux-gnu) MIME-Version: 1.0 Date: Tue, 12 May 2026 07:45:32 +0200 (CEST) X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: IXGSnsVPOdP0rLOgCsqvcV5kMigot_QQDGo270N8Rq8_1778564734 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID-Hash: CAKXZT5ZLEVSNCELDLE6MLLI7C4RO67H X-Message-ID-Hash: CAKXZT5ZLEVSNCELDLE6MLLI7C4RO67H 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, Laurent Vivier 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 Mon, 11 May 2026 20:03:14 +1000 David Gibson wrote: > With Fedora 44, I'm hitting a bunch of new warnings, one from the > compiler, a few from cppcheck and many from clang-tidy. Fix them. > > David Gibson (8): > netlink: erromsg should be const in nl_status() > virtio: Reduce scope of variable > conf: Fix not-actually-const parameter to conf_runas() and conf_ugid() > clang-tidy: Squash inconsistent brace warnings in foreach macros > clang-tidy: Suppress sscanf() warning harder > packet, clang-tidy: Packet pool buffers are not NULL > treewide: Make some additional variables static > clang-tidy: Suppress some new unhelpful new warnings Applied. -- Stefano