From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8B2CE3590C2 for ; Thu, 4 Dec 2025 17:56:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764870999; cv=none; b=bflaeLGm8eNOfw4zWA9ew6Nx//1LxM3nT4vs1YaNE0cGCb/1Eoq1SgMtQ1rMXLV0wDwOfo0BByp7r2X0fCF2mBFnEQtvKnFitzhJHDYGvrmF2tC5CZxZOhFriHmpFPWJ0EsRhPgwcM9UxZ7s/FbBkDLtJIgir4pJZl2d4FZOANo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764870999; c=relaxed/simple; bh=LssZyxnB/Qt9JOrc1wZ9fPSlCWdCRitPmmyrurmq8kE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gTG8oCz1L498+DHQJGBS1bLxBzoHS2a13NfLK3tXbtkjo4bp+GBjfZvv3NS4KhpC1Kj1MysxLGZtbBrX0uFeG8z2myor1vDGf9m+58X7SdkYWCJLcvdoXzL9dEyOTRxMn+/phgmmoGzDF0ibPt94I1Am6SdsTuSYsc0PFcuzJFg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=HEFIw/ay; arc=none smtp.client-ip=209.85.210.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HEFIw/ay" Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-7baf61be569so1483965b3a.3 for ; Thu, 04 Dec 2025 09:56:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764870996; x=1765475796; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=lRdN5rrU2peC6f2Ho/CsA9zM52zEMWOlMu7pxRw/JVQ=; b=HEFIw/ayyhHN8KhM6O47o3ytvOcTKfR4wcPQ+DbAc8FZpt84Ejwyp/pXj/rraBRcVk G795k7cu6Gs1uOnmQWc+HXG3C8UxJ4+z64LAtszbwRzgGnrCPJomRVcXGJpoOSSYT1UE fAyefQCFn/3nnbF66t8aecoDTjOcaLar8CnZspzpc+d70UEcAYW9G8D/I/ZKHQIbM/vg bs9VuL+Z3VBUACQHzIfQ01WSA0c0Q1G0dt4QEK+ukUl2jFxVTNOsF6qkBQU6axesywRW pqlMpS1Tl9qZ/FJaB/6YfS26hptQACIQH+RT6iVTLDU2EuMqRVp1xRnymTmjBG4tKeG3 vfkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764870996; x=1765475796; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=lRdN5rrU2peC6f2Ho/CsA9zM52zEMWOlMu7pxRw/JVQ=; b=C9tgM4kgBg4G2EOM6FQtGVcoJPBLYXTPJxRv/zk7Ck36saHuMOX7/i7pzCi1q1mQUa pu4nXGgSCmZ+2D4F5ktTg4c4BjJm4xv4Uw6FsM8n9pNXpg495mEj7KJmGLq5+zlqrbGP LUtWfzTvPOzFDTE9blb+p4Zp/VrJc49794Q519AWHge5jdPgwrLfofluag2Ne3SAQovg bnLFAgz6qbxwWoVDMyq4fppge/uGAehVV2IMt5dEWUC/UsSBfXCrGQvRFiCNZlREZSyJ TtADHIKmLL20m1x1/Mz2WpXCshjve5fmNxjzGupHu0tfx0xd9S5gAOeoRCAA6kogmjoK +FPw== X-Forwarded-Encrypted: i=1; AJvYcCW4Nj0I1GmQhPaKnRnBdWdVLTz6yo4Wl6j/FuJK1wj/Fu/vChlC/c0I3MrCciLibaKVRizNbrKZzIfkXJo=@vger.kernel.org X-Gm-Message-State: AOJu0YxDC5QsyFUzIO6zIqYePJfy7A+EEVd4UJPdivc4HxSU7gZy9aH1 yo+hUDby394ftayLp4E5EOzhy9wPYrQ6hdt5UO83J/eOYbTEazcZn/bp X-Gm-Gg: ASbGncu1fYLF0xcOF/NFm+q1rsqaoDf3Pkuz7Hu/BeaBckYjEx2O6xE6VjCoUAnAqIj /dK5oRtmerLueBJkhnCfJE5vqO5VhSvscOwIvdpzWrQm5ybJ+3b7NKOAzDpqpRoRtIDhp9jeghr w0Jl+BIvFMHiZyiaDsaRpVt/H8A5SQRlioNaVCyeuw+wVPaKZXnlCw+Tw8CJ3XGckSxyRF+yBgU nY9DuAZ6RfdgZA7HVcIYWLY/oxDO2XCr0QTfew00NCelU5dPa6jyUhEHFAx1/Xco013Sy8c4EFM jM+79yWBI29oBADMce1pbwnrvPW0Db2/hdHeRmN0dKCa9fzOsP1N6hwsTb7EGh2V6FkrzGnLVeJ YlkrAUuIXwWSPrvGmgKEz3QCSYHw4rTp6h6iSoSWdDgfc3cu7XY5Wsg4eGm/kZwAMvo0xrf1E8z H4IdHSHoPpV1xaTFQ6UcT9NMM= X-Google-Smtp-Source: AGHT+IErVS2JOE3R5hBQa8n4PbPRX0Rck8OX69DTgD6n4Zc+qBzm/AdH+8FlYt/3YOXPNZAECFyIAw== X-Received: by 2002:a05:7022:6094:b0:11b:ceee:b760 with SMTP id a92af1059eb24-11df0c3b2ebmr5592261c88.23.1764870996269; Thu, 04 Dec 2025 09:56:36 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:da43:aeff:fecc:bfd5]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-11df76ff44asm9415387c88.9.2025.12.04.09.56.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Dec 2025 09:56:35 -0800 (PST) Sender: Guenter Roeck Date: Thu, 4 Dec 2025 09:56:34 -0800 From: Guenter Roeck To: Jakub Kicinski Cc: Shuah Khan , Christian Brauner , Elizabeth Figura , Thomas Gleixner , Eric Dumazet , Kees Cook , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, wine-devel@winehq.org, netdev@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH 00/13] selftests: Fix problems seen when building with -Werror Message-ID: <2e069056-645e-46a5-b1a1-44583885e63a@roeck-us.net> References: <20251204161729.2448052-1-linux@roeck-us.net> <20251204082754.66daa1c3@kernel.org> <536d47f4-25b1-430a-820d-c22eb8a92c80@roeck-us.net> <20251204094320.7d4429d1@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251204094320.7d4429d1@kernel.org> On Thu, Dec 04, 2025 at 09:43:20AM -0800, Jakub Kicinski wrote: > On Thu, 4 Dec 2025 09:16:16 -0800 Guenter Roeck wrote: > > On Thu, Dec 04, 2025 at 08:27:54AM -0800, Jakub Kicinski wrote: > > > On Thu, 4 Dec 2025 08:17:14 -0800 Guenter Roeck wrote: > > > > This series fixes build errors observed when trying to build selftests > > > > with -Werror. > > > > > > If your intention is to make -Werror the default please stop. > > > Defaulting WERROR to enabled is one of the silliest things we have done > > > in recent past. > > > > No, that is not the idea, and not the intention. > > > > The Google infrastructure builds the kernel, including selftests, with > > -Werror enabled. This triggers a number of build errors when trying to > > build selftests with the 6.18 kernel. That means I have three options: > > 1) Disable -Werror in selftest builds and accept that some real problems > > will slip through. Not really a good option, and not acceptable. > > 2) Fix the problems in the upstream kernel and backport. > > 3) Fix the problems downstream only. Not really a good option but I guess > > we'll have to do it if this series (and/or follow-up patches needed to > > support glibc older than 2.36) is rejected. > > > > We'll have to carry the patches downstream if 2) is rejected, but at > > the very least I wanted to give it a try. > > Understood, of course we should fix the warnings! > If we're fixing warnings, tho, I wouldn't have mentioned -Werror in > the _subject_. It doesn't affect which warnings are enabled, AFAIK? I'll update the subjects and descriptions accordingly. Thanks, Guenter