Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1942684lqp; Tue, 16 Apr 2024 02:33:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWZmhhMJ536CGkMButIld8zintRPm9XTCqWD0ohCJpayefWllnEqHdjd0VY3I2YTMgSYBc6G8HjP69jvCN4h7iWD2I8t+vvRIUy1QKImQ== X-Google-Smtp-Source: AGHT+IFfK6JNoBLlGKuX9zkUli7FAVQbr5n/sOwlv845MNA9/7zGGsSbzufAM3P/9wG/LvfAB06w X-Received: by 2002:a05:620a:b99:b0:78e:d2df:abb1 with SMTP id k25-20020a05620a0b9900b0078ed2dfabb1mr10007410qkh.78.1713259993485; Tue, 16 Apr 2024 02:33:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713259993; cv=pass; d=google.com; s=arc-20160816; b=ibSzydv4eRjbzOzEzpiFIUviDBZiLHD3drMoAt6hPZzLRve6qBEDh8IOLeRqeNoddk ttGsZmJb3j4NEAyw0wSb3jJ4H4J6A53FTDbMMO+ovz16zU9xdg3o8rbA9TGBiw5wqYen b4KPFkmp6i3uzspXX0dO/g6Wqv0fuRSjUCrYrDpb5ijk8U8cq1KPJrQL/XbegzfkYsiV qHj0D8ZQJvAvEg2c5uaZAoTiuZWMKzmwwXAIDPqqbZQEw78cPcuDTa0c3rfrNp1FvVst cDKEIkKpyhIR4CFqajgQ3wNY9LY6dpQwKBqTa+hPymxVkRYxfPmQleEdVh8e7Sgn97AA a9Fg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=Ndrnd625fhH+o+1Q6bsYpoaFuC2gIYmA4glyfnWSIIc=; fh=W1JvQOBuhP976KEoZ5LhsvZQ/FL2gvgSUrsJWDx9ky0=; b=nC/vu5CmRgy6pbg61aM3M8NWmwe2JlMkmY9i+4lckzIIWdKaDomdrSfmQzHsZVOu7K CTy6pQrf9YxfWhgwt2q8RGnEOgN2PW8KW352YoZfAQ/dqKFNrZeasLpELnKYWXQHT2NQ Auq3A0J7/I4BLELCJ3SgE37KYyOpv/qOnieKxp72HKJh+2sn5nT+jYxZ/amHrUy1MpZk lMd/ZK5WyKktS7IY1dA6zRB9jGrk3FshXBSm6cS1S2ww/zeKnUusOAebucb90WTA7jKP v1nm0fr2mzlFs9QhHLiu3LVZFYMzylGWYvwBkDK5W5M6BXpxwaw8euK4VirrFOj8OArY ZOKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zi0gv0rF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-146557-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146557-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id xz21-20020a05620a5e1500b0078ed7225573si7259117qkn.721.2024.04.16.02.33.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 02:33:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146557-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zi0gv0rF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-146557-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146557-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 37D171C20FAB for ; Tue, 16 Apr 2024 09:33:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD18D8594A; Tue, 16 Apr 2024 09:33:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="zi0gv0rF" Received: from mail-vk1-f182.google.com (mail-vk1-f182.google.com [209.85.221.182]) (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 6D28085291 for ; Tue, 16 Apr 2024 09:33:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713259986; cv=none; b=fxbf3R+aftgHgxewXykoBZbXn9KDVbCxzLquFhcm6J79VigqiS9nEZ05uCmvdvE5mL0r29RWOT3IT6z9iIhljWcX9vDugDWEduLzEt7RhNt7RP8Hx98/U9onqyjlyBQbSBKv2tYhkmWGEUd7iP8isfWzTxvUs+T5tEifu33oodw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713259986; c=relaxed/simple; bh=0Gl50EmCLVOMt6kqv6vYCIWrekR2zOz/+FuL5NWpOck=; h=MIME-Version:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=RBcFZ232fLyKIAOCPAGKZPBPznKEOIBLeCBAHDzV3UFcjUsK93gCul/yNXJ0pzM8yCUbFaTZUVclGG1yn60WRf3yUlf686emEtzxA7SgCMqa/OTej3JUFApfNIpKAx1881EUDNCgp/VUdvbP/DbZP1VQyJ/HT1fGK/LvYVh6N9c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=zi0gv0rF; arc=none smtp.client-ip=209.85.221.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-vk1-f182.google.com with SMTP id 71dfb90a1353d-4daa8e14afbso1378460e0c.3 for ; Tue, 16 Apr 2024 02:33:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713259984; x=1713864784; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Ndrnd625fhH+o+1Q6bsYpoaFuC2gIYmA4glyfnWSIIc=; b=zi0gv0rFcFHpeVzSvAnEkOZYSw3kWnzKjhntH1ZEt7gib2GxVunWldFFwt7dQBB84T BCz72A8o4V2bk5Bu//f9nz0KPl4XxpTYd88CsodYsGwwBXqjnwgEcpf7qhPYsegD4mZY PWA1OYMXoWGxJ/Xa1dh7Xq+ti/vhss3X2BB31vrPzKanr+HyIPGIUDJsJmoizhL+8Gtp YcBUQsPZYNw91iD+2I6zVicIKd1xEZ9ki4U3yCiZMCNLP2wCivqHU6b3RcI3KoDQ2D2L 83qqHOUxN259pa3fhJulaN/zTU8q7XTGfpSumtkn49iiMeLk/4f4XQx7Cb991S8iLJe2 6w6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713259984; x=1713864784; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Ndrnd625fhH+o+1Q6bsYpoaFuC2gIYmA4glyfnWSIIc=; b=Lg8QsdvzpynXs0fvrAHxbqiTqiW8N/F9zE7yp0aMn5h7Z+WlOwZUS/iI8HHUXZOZdp dYHlPlGzzHNt3HGAf3Sh9jRURLuEQErwbjEJhZfj1w2hTtj1Vcn/f5a53MEZVIh63F+s ldhze1Wi1rgS+pgnfaJVMf9hmipVdYCP2NxwNuW4aAhUfqD8I2SIB/AZm0+sMmh0WC/z wWFHNhaww+GZpc1/Niy3/71cS2xE21xlVXzj+Ko4tGQlS83XgrQj132/9XXMDipTsVu1 vgfjDneh17GeRvmPjRbbZoXnMpCwA6KDRRUQbOZ4tvokmEKzWT7h7IwJ1n/dpUb0TCXl ugKw== X-Gm-Message-State: AOJu0Yyrphm7BtAIvVSJOM8Qp7kshGAJZEqHVeKd+aze+rQjLZ66zDIM W3FpEbahFuNc22eEqP/sJxVPWj+7OQbpROu9czZaiuzbGJmBx6n1S64jfLR1Bk8+V4s9TsCU4gx qqEpVTEiyHtSXd0zH+vZVyzG1GVG65rfMaYujWO2ono6U/UGcrVY= X-Received: by 2002:a05:6122:31a9:b0:4da:aabe:6f6c with SMTP id ch41-20020a05612231a900b004daaabe6f6cmr10367344vkb.7.1713259983821; Tue, 16 Apr 2024 02:33:03 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Naresh Kamboju Date: Tue, 16 Apr 2024 15:02:52 +0530 Message-ID: Subject: powerpc: io-defs.h:43:1: error: performing pointer arithmetic on a null pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic] To: open list , lkft-triage@lists.linaro.org, Linux Regressions , linuxppc-dev Cc: Arnd Bergmann , Anders Roxell , Dan Carpenter , clang-built-linux , Nathan Chancellor , Nick Desaulniers , "Naveen N. Rao" , "Aneesh Kumar K.V" , Jeff Xu , Kees Cook Content-Type: text/plain; charset="UTF-8" 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 Build log: -------- In file included from arch/powerpc/kernel/ptrace/ptrace.c:19: In file included from include/linux/syscalls.h:93: In file included from include/trace/syscall.h:7: In file included from include/linux/trace_events.h:9: In file included from include/linux/hardirq.h:11: In file included from arch/powerpc/include/asm/hardirq.h:6: In file included from include/linux/irq.h:20: In file included from include/linux/io.h:14: In file included from arch/powerpc/include/asm/io.h:672: arch/powerpc/include/asm/io-defs.h:43:1: error: performing pointer arithmetic on a null pointer has undefined behavior [-Werror,-Wnull-pointer-arithmetic] 43 | DEF_PCI_AC_NORET(insb, (unsigned long p, void *b, unsigned long c), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 | (p, b, c), pio, p) | ~~~~~~~~~~~~~~~~~~ Links: - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240416/testrun/23495171/suite/build/test/clang-17-tqm8xx_defconfig/details/ - https://storage.tuxsuite.com/public/linaro/lkft/builds/2fAvI3mKJ0dTHcazPrLl2zNF9JO/ -- Linaro LKFT https://lkft.linaro.org