Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2925547rdh; Mon, 27 Nov 2023 02:25:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCtKsw/BvrVrKrziYiwIEyxDaWkyac/0Bat212dXnBl3aspQmyF8Qpe+EBWi3X7Ua0b7xk X-Received: by 2002:a05:6a00:10d2:b0:6cb:8c70:4790 with SMTP id d18-20020a056a0010d200b006cb8c704790mr11556040pfu.1.1701080704740; Mon, 27 Nov 2023 02:25:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701080704; cv=none; d=google.com; s=arc-20160816; b=rMBVPayQ1yEmzc7Bi3HseioLyJhDoXci1G+EOGyt9+V/KIglyj/8rQ3q7UBKruc0SM PWJU3JTW8fGkeyKSl4XOIRnASdN7okkUUVA6Y61S8v2oQoXxJKl7nkKSYm6F9gfOpsfN ObrV4MqI4d3uRaKaB/hxOtwu6ZLxzCwnxiWLzDN+rCx6EuhN0AdB4YSRk0bdQFG0D52I nrbkSQTZqH0m8b5tay4m6TbEAESS/HeggF62U4InfyKW+DhEBvXWQ1zFaubRwNLO42lc ojJ0/1aapxOjoqwMriJedARyIfpe3akn0ZDjMmnz7QJafmR8j1LItmbi0R9vV90QVYW5 IJQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=cdp8QAZn1D8I/rEQSBUvbPEDzykyHAXvOt5qwyXf2M0=; fh=3yPJwCuOxTENI0jSp8pXcZQ3703BbEXEBnTAOMEbP0c=; b=ZVIisUtOsFWm8mVL+DgCpihdYlBR0oJONWkyZx1XMrNf+dv06h0aXJC/tgsJj20jBh aV74T4ntUoWprUVmc/fMvKS41C9eqw9OGG0d0VXEtchKL+6acWWQP2hcMvsQZEuQivm8 lGy70/AVk/lnt3EdrJMa+Y1Z6Rt8DEdDGOglp2GlyMNiOETxsIuznFDk01FW+gWisJA4 a+8nL5EYsNaDvgfMdmA5wt/jOcBNM5IJC+WLQ17URkSCdlG+Ii3tdwYT2C+yZJZjo/di 02RK15oQd7n8HD+x0nltY8EyUpaMVKU8OpCrJcziFoVbuDSBs8gIWuqsKQqxIWQi0mkk Tbjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sCHbsyJB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id 23-20020a631057000000b005b368301d97si9554984pgq.305.2023.11.27.02.25.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Nov 2023 02:25:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sCHbsyJB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id F19FA80677FF; Mon, 27 Nov 2023 02:25:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232920AbjK0KYa (ORCPT + 99 others); Mon, 27 Nov 2023 05:24:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232919AbjK0KY2 (ORCPT ); Mon, 27 Nov 2023 05:24:28 -0500 Received: from mail-vs1-xe2f.google.com (mail-vs1-xe2f.google.com [IPv6:2607:f8b0:4864:20::e2f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 375E8136 for ; Mon, 27 Nov 2023 02:24:34 -0800 (PST) Received: by mail-vs1-xe2f.google.com with SMTP id ada2fe7eead31-462c6f436e4so1299133137.2 for ; Mon, 27 Nov 2023 02:24:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701080673; x=1701685473; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=cdp8QAZn1D8I/rEQSBUvbPEDzykyHAXvOt5qwyXf2M0=; b=sCHbsyJBxRCafQdmiXaSwhMVaqbAI4baQbQyjX8X47txRm8s/rZ9Svgf60rvD8bERK Kyaeebaao3UoiyMeKKDQNxZ1rlDXGgOqWq60DiJ1VY5BPIuQ7Z42pJVbL9sjHkhh0tLG vhsGBMUaGo05YuIK3r7DB04eUKxs6BfDzfh6nOCygt7EPMTUwJi58F1Ml7ahwk+qwVbc cB2WmWJU8Ugn3hrXKUmEfGsfhu4PpFDiuOlcnVIGaG3xWqMcBXXZeicHAnaMY/hSWIGw O+13y+hNqD6NT/Kv94FzA4MoC8N8miENBsFxGPC6BpeKb5u0raHy8pgI+rFO4Zg/g7t3 MqYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701080673; x=1701685473; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=cdp8QAZn1D8I/rEQSBUvbPEDzykyHAXvOt5qwyXf2M0=; b=lqbbGm/EC5mxlrTyqLXPIX8ZB2UXimSD7jM+UtPDrGInpP+pi4xwnVBwz5ZrocLPUH fHsFIsYITCFLKWZfxbuAVLKKMBNyhaeLsnyHctvGJNcY8BWB9kv5jiRp0VjuNaCnWHSq bRGqqA+spQkTlGCZ+hQ0KBu8VqZXh/bNtVLC/UMszz66Do+L7x7ywMgYyG94OnCdUxfg UuDF8HfWejJOnD84zR+ZQ9ybmiSjORupkxzaRZ0vTCn61WbJ/gtEQjlTGBJFvUokEhmu 7WFx7ExYxxTPFmn9LsgY+ARG/51ANvIcHH4mdAG36EJ0JVt4y3sh1oxAifnJbHFHc8Ez Zm+Q== X-Gm-Message-State: AOJu0YxezNz7yZcrDks6UqnHw0yIZ5WZnRwduy4dHLE6JrIiCQXaYI02 kPAce/8roaQA9s0YK6EEhLkW3xbmOfrOS8lAv6FUWg== X-Received: by 2002:a05:6102:3e95:b0:45f:4e67:4423 with SMTP id m21-20020a0561023e9500b0045f4e674423mr15393245vsv.0.1701080673247; Mon, 27 Nov 2023 02:24:33 -0800 (PST) MIME-Version: 1.0 From: Naresh Kamboju Date: Mon, 27 Nov 2023 15:54:22 +0530 Message-ID: Subject: Powerpc: maple_defconfig: kernel/rtas_pci.c:46:5: error: no previous prototype for function 'rtas_read_config' [-Werror,-Wmissing-prototypes] To: linuxppc-dev , lkft-triage@lists.linaro.org, clang-built-linux , regressions@lists.linux.dev, open list Cc: Benjamin Gray , Nathan Lynch , Arnd Bergmann , Nathan Chancellor , Anders Roxell , Dan Carpenter Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 27 Nov 2023 02:25:02 -0800 (PST) Following Powerpc maple_defconfig and other builds failed with gcc-13 / 8 and clang toolchains on Linux next-20231127 tag. build: * gcc-8-cell_defconfig * gcc-8-maple_defconfig * gcc-8-tinyconfig * gcc-13-tinyconfig * gcc-13-cell_defconfig * gcc-13-maple_defconfig * clang-17-cell_defconfig * clang-17-tinyconfig * clang-17-maple_defconfig * clang-nightly-cell_defconfig * clang-nightly-maple_defconfig * clang-nightly-tinyconfig Reported-by: Linux Kernel Functional Testing Build logs: ----------- arch/powerpc/kernel/rtas_pci.c:46:5: error: no previous prototype for function 'rtas_read_config' [-Werror,-Wmissing-prototypes] 46 | int rtas_read_config(struct pci_dn *pdn, int where, int size, u32 *val) | ^ arch/powerpc/kernel/rtas_pci.c:46:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 46 | int rtas_read_config(struct pci_dn *pdn, int where, int size, u32 *val) | ^ | static arch/powerpc/kernel/rtas_pci.c:98:5: error: no previous prototype for function 'rtas_write_config' [-Werror,-Wmissing-prototypes] 98 | int rtas_write_config(struct pci_dn *pdn, int where, int size, u32 val) | ^ arch/powerpc/kernel/rtas_pci.c:98:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 98 | int rtas_write_config(struct pci_dn *pdn, int where, int size, u32 val) | ^ | static 2 errors generated. make[5]: *** [scripts/Makefile.build:243: arch/powerpc/kernel/rtas_pci.o] Error 1 steps to reproduce: # tuxmake --runtime podman --target-arch powerpc --toolchain clang-17 --kconfig maple_defconfig LLVM=1 LLVM_IAS=0 LD=powerpc64le-linux-gnu-ld Links: - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231127/testrun/21324129/suite/build/test/clang-17-maple_defconfig/log - https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20231127/testrun/21324129/suite/build/test/clang-17-maple_defconfig/history/ - https://storage.tuxsuite.com/public/linaro/lkft/builds/2Yk9XaK95NuGJL9barjaXrOWxib/ -- Linaro LKFT https://lkft.linaro.org