Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp2005725lqp; Tue, 16 Apr 2024 04:56:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkrB1ShATOPTuHfpKtlCQm5Ud5xaUFOBOhmejxFlzdchbKrS05rZT4FZAzIlO/mXcybvCAceriIdV17IX7xhKiynmbzfw/SMmn5bfWEg== X-Google-Smtp-Source: AGHT+IFaDIUw8uHgF64H+C4sfWH89m4mJRrVfE7ToL0s9deHZEDTnscb0OHaoAPwIIaYajhXX7At X-Received: by 2002:a05:6512:401b:b0:516:9e97:d3ee with SMTP id br27-20020a056512401b00b005169e97d3eemr10068204lfb.53.1713268595419; Tue, 16 Apr 2024 04:56:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713268595; cv=pass; d=google.com; s=arc-20160816; b=PteVsjwVtdrs3EF98r1rabZwkKx6sC2k5WCbKgNbTlFk01QYLhKvyrUZVR+4bxHEwq dwtxuV9HlWgBYvbyDfXeY4Z8loLlbuG9zIhqLj5FDVisloePfcDQszxvfpJYKXYNW6Wo JUi64teEGkNl6sbbzcwfehvr2TWXG/NgVlOb39VlHTp/c6477y3Gw4knKy8Ac79k2RB/ x7V+HXL+/QvqlaW77fxUlPBHeTkESw5BeXvGoMZeg1AdqPe+Tn3iBcLgXKU1qkXBg6Bz qDrLL0RyTgsomoDZxUzwe5Y1WGcJktsfZPVVayt+0qVfd6yOmcYSGbCZaQ96ytBicuGo bNew== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature:dkim-signature; bh=h7Ln9pZ+NPUuES0mE7CzS9ETsJon3TNjqsNEMWr/MVg=; fh=XtDVDDKx70IS0Yl7d5rrMXSaZUwzDPN9TFEMKkj04ak=; b=ppduutJzl/7fYzmjxMWG2/mGONBL4rif59PbouMEqp8l8GlQwJ/adi8Ub1lXeu0d/J 5djmugAkqJVdcbBSUbRhFBSHgQSkDIRdXF7nA6ROVlec5N2sZJqe2Wq5JgK0QyTF0SOr YEOKEwpTG1zn3T88YO0XjZ10WikVgh1SVad+byU1OjJstHGqLupEiuLFm/uKsOAnQvgC EXDeTe1i2rkLZQQ49Fg9vXsPdfV3GrJqZriDZprB6xOxrRGQzC3D/Ugw4rVkIr5m1O4o ngHRZDpDl/HD/xIiI0ObdO+CzIrY+AQmCcNopY9wj0WiMAW1r5zp8eQAhWaCf702gT2z XtuQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=TZBJaeaO; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=YWD6x8Ms; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-146731-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146731-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id cs21-20020a170906dc9500b00a5227c8ede4si5575882ejc.38.2024.04.16.04.56.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 04:56:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146731-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=TZBJaeaO; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=YWD6x8Ms; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-146731-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146731-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4E5791F2180B for ; Tue, 16 Apr 2024 11:56:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3BCC612A175; Tue, 16 Apr 2024 11:56:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="TZBJaeaO"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="YWD6x8Ms" Received: from fout1-smtp.messagingengine.com (fout1-smtp.messagingengine.com [103.168.172.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B9B461292DB for ; Tue, 16 Apr 2024 11:56:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=103.168.172.144 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713268580; cv=none; b=OV6Gx9/nW3si6grFKXLz37kgil4OUI42owvvu5vKDog38QbCFerjrOmNUEweTbCYdyViarbOKPqtRRvinIkIzWfgiGOb9zQeZDkkZLur/tZqxgWasbtoYadVdePyoGGpK5fSCcPhQP2uPWpY2snBwE1LkUJCT1G0Op0gqpWYaDM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713268580; c=relaxed/simple; bh=bsPGy+NGN3PslT5YVV+jNDgdS2kXGSlLU5Q3qCgog9k=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=lwNr9dK9ruiuO4vMMpJIPW9qu11qNsJjun4PNjJ/cYifk8fTKOLnOd1TIDgAUUL4h+0yd616RJxDSoJNrVi0LysjNuCOouCAQRiaT2+14k0mEK9Ps4xscylU0mUSqQEwvMtk/XJmIavwb9p6iA8mNlh3uoE0II10sDLTMdH2d7M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=TZBJaeaO; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=YWD6x8Ms; arc=none smtp.client-ip=103.168.172.144 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfout.nyi.internal (Postfix) with ESMTP id C71911380923; Tue, 16 Apr 2024 07:56:17 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Tue, 16 Apr 2024 07:56:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1713268577; x=1713354977; bh=h7Ln9pZ+NP UuES0mE7CzS9ETsJon3TNjqsNEMWr/MVg=; b=TZBJaeaOb0soz5m3pqRKVJFAZ6 6izkxtQ1BDmlqo+a9lvABlWI6XZmJM8qlnZKzuMq8rea5riO39xA3OBN4tiahpGW efy9MR+77P2HzmVYrevSldIlU9fc5UEECnXiCA6U7pFSY12n2/ebCjTlIAHLy9DP EEPbqNrUOkIeFJxdPC4KEZRDMRcHw5ggujpkUUwlm/y4yZal8urYAuMTYcrewhm4 8pDsV2/teineypM1QjXrEmEV9etIThOBOBxYp77YVf/8DD/pzewhdiWREj7z8+MX 8jtSqPRqyYZDdE8wqobU8M1wwApTNcd7Pclztq2XxPE2C+eA4C/iGbND+icQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1713268577; x=1713354977; bh=h7Ln9pZ+NPUuES0mE7CzS9ETsJon 3TNjqsNEMWr/MVg=; b=YWD6x8MsxAjQlo1yywyXxb3v/kbjviAjfzyzz5IMQX7Y VJaaE3UTITJwIXJ6e52Eq+zWeAinVDNBWRenMLn64W1dv1iQRd1FWWW/xdy/s6nI c1gofNB7RhaIcHjYiqH69J9FJq8wtAKma0mcRbV/dJBAIGGouMFQWC1XemA4Dlyn BO2AwB4DkQEJ5tCLA3yoy4+vPOTBgEGWL6zlx5dOYkRuH1Pbjp/22Zy23hlo9n3L l5hZUk581ge5R5027gTa7CoEy53TD+Ew9pUYfslcEgC2kCO3NAziKb/agzg5XzCM wRNCSDhsIOjafW04RN2r7ImLnCApwjUCyIh21gqBUQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudejhedgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 4441BB6008D; Tue, 16 Apr 2024 07:56:17 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-379-gabd37849b7-fm-20240408.001-gabd37849 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: In-Reply-To: <3d139886-9549-4384-918a-2d18480eb758@app.fastmail.com> References: <3d139886-9549-4384-918a-2d18480eb758@app.fastmail.com> Date: Tue, 16 Apr 2024 13:55:57 +0200 From: "Arnd Bergmann" To: "Naresh Kamboju" , "open list" , lkft-triage@lists.linaro.org, "Linux Regressions" , linuxppc-dev Cc: "Aneesh Kumar K.V" , "Anders Roxell" , "Kees Cook" , "Niklas Schnelle" , clang-built-linux , "Nick Desaulniers" , "Nathan Chancellor" , "Jeff Xu" , "Naveen N. Rao" , "Dan Carpenter" Subject: Re: powerpc: io-defs.h:43:1: error: performing pointer arithmetic on a null pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic] Content-Type: text/plain On Tue, Apr 16, 2024, at 13:01, Arnd Bergmann wrote: > On Tue, Apr 16, 2024, at 11:32, Naresh Kamboju wrote: >> The Powerpc clang builds failed due to following warnings / errors on the >> Linux next-20240416 tag. >> >> Powerpc: >> - tqm8xx_defconfig + clang-17 - Failed >> - allnoconfig + clang-17 - Failed >> - tinyconfig + clang-17 - Failed >> >> Reported-by: Linux Kernel Functional Testing > > I'm not sure why this showed up now, but there is a series from > in progress that will avoid this in the future, as the same > issue is present on a couple of other architectures. > I see now, it was introduced by my patch to turn on -Wextra by default. I had tested that patch on all architectures with allmodconfig and defconfig, but I did not test any powerpc configs with PCI disabled. Arnd