Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp2307582rwn; Fri, 9 Sep 2022 11:30:34 -0700 (PDT) X-Google-Smtp-Source: AA6agR712R/r2kXI59SYDSnSC0clZt+D6twmRNRDFc4u4DsfH1LrtwEuV9WYf6aHUXIZ1x4R0io4 X-Received: by 2002:a17:907:868f:b0:730:bc1f:a8d8 with SMTP id qa15-20020a170907868f00b00730bc1fa8d8mr11106948ejc.106.1662748234313; Fri, 09 Sep 2022 11:30:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662748234; cv=none; d=google.com; s=arc-20160816; b=g6EO8e4GcwGlwJ7qdI/dRxijkl8UoDuA+bRDPq3yrqUCnB4pDT2y/9pqtnMzB4Xahl pF4AbIi8vIcS+558l6Uw130ZJQsjw0ZH0EcACsTBqYClgrSPG/c5fo+WxTi8Gbq7vgg2 /pBCLJoYKV9tyNCPicVPdGkDZCrlBwHPGJjcJKCRFgmzN/15DCgJJ7HeOxWdGdYjjuma 4Nn+fobz2L0HPU9XlCfO4qkvdP7dE7+gX5WYID1I5AvWyN4s4TnLFrrHdxVoSE2VurNL QOsJoTVxkAJYQ5suKZjT8Kb+xZtOSdalyRpr+sRoU0Fx9WXni81LkPj9/OCxdO5gMP7w aEHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=4Vj5AmGYh0NcslEUChhELr7xPKsScVmVD0MisuAYMx8=; b=W+VTtHpclV8Nb5CygOOg/ehdWlU+gZwevxLYRDiOyedaN06XpmhxxNrTJbWyOR6cwx DoQpVEcWge89Aulogf2l/H+wXltSnG48pSkQXFQdCq7jPhb5lnoLhryeMuY4TJH/+vFX XMrWP2gyB/wKF9olsShCdjZZDHJOs3LKaQzE0b1AHkYTR/uUKFrYI1Z7OcBR3vgR9tb+ q2skfr6qlM79KwwyZhkN0mUubsypDVymkvwKF9GI5T5X9aMTCfxOR6xmfIonu3yFanhB W4K2KsxiHfR/u8aYQ3VnfwTKAqM2cg0LX5tjzTkvSqy3V8g6/zRD6nXM44ikHkacmkbP PkdA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 24-20020a170906311800b007703822e214si818627ejx.807.2022.09.09.11.30.09; Fri, 09 Sep 2022 11:30:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230466AbiIISA4 (ORCPT + 99 others); Fri, 9 Sep 2022 14:00:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229991AbiIISAY (ORCPT ); Fri, 9 Sep 2022 14:00:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAAB55F994 for ; Fri, 9 Sep 2022 11:00:11 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 447A662047 for ; Fri, 9 Sep 2022 18:00:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1A2B6C433C1; Fri, 9 Sep 2022 18:00:08 +0000 (UTC) Date: Fri, 9 Sep 2022 19:00:00 +0100 From: Catalin Marinas To: Qi Zheng Cc: Arnd Bergmann , kernel test robot , llvm@lists.linux.dev, kbuild-all@lists.01.org, Ammar Faizi , GNU/Weeb Mailing List , linux-kernel@vger.kernel.org Subject: Re: [ammarfaizi2-block:arm64/linux/for-next/misc 2/2] arch/arm64/kernel/irq.c:81:6: warning: no previous prototype for function 'do_softirq_own_stack' Message-ID: References: <202209091157.akimiv18-lkp@intel.com> <69409ea6-6daa-7973-c950-c6ca9ad96f50@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <69409ea6-6daa-7973-c950-c6ca9ad96f50@bytedance.com> X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 09, 2022 at 03:07:36PM +0800, Qi Zheng wrote: > On 2022/9/9 14:30, Arnd Bergmann wrote: > > On Fri, Sep 9, 2022, at 5:12 AM, kernel test robot wrote: > > > tree: https://github.com/ammarfaizi2/linux-block > > > arm64/linux/for-next/misc > > > head: 2d2f3bb897a3de4190b1b6b296c3429d01327554 > > > commit: 2d2f3bb897a3de4190b1b6b296c3429d01327554 [2/2] arm64: run > > > softirqs on the per-CPU IRQ stack > > > config: arm64-randconfig-r023-20220907 > > > compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project > > > 1546df49f5a6d09df78f569e4137ddb365a3e827) > > > reproduce (this is a W=1 build): > > > wget > > > https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross > > > -O ~/bin/make.cross > > > chmod +x ~/bin/make.cross > > > # install arm64 cross compiling tool for clang build > > > # apt-get install binutils-aarch64-linux-gnu > > > # > > > https://github.com/ammarfaizi2/linux-block/commit/2d2f3bb897a3de4190b1b6b296c3429d01327554 > > > git remote add ammarfaizi2-block > > > https://github.com/ammarfaizi2/linux-block > > > git fetch --no-tags ammarfaizi2-block arm64/linux/for-next/misc > > > git checkout 2d2f3bb897a3de4190b1b6b296c3429d01327554 > > > # save the config file > > > mkdir build_dir && cp config build_dir/.config > > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 > > > O=build_dir ARCH=arm64 SHELL=/bin/bash arch/arm64/kernel/ > > > > > > If you fix the issue, kindly add following tag where applicable > > > Reported-by: kernel test robot > > > > > > All warnings (new ones prefixed by >>): > > > > > > > > arch/arm64/kernel/irq.c:81:6: warning: no previous prototype for function 'do_softirq_own_stack' [-Wmissing-prototypes] > > > void do_softirq_own_stack(void) > > > ^ > > > arch/arm64/kernel/irq.c:81:1: note: declare 'static' if the function > > > is not intended to be used outside of this translation unit > > > void do_softirq_own_stack(void) > > > ^ > > > static > > > > > > I think we are missing an "#include " > > in arch/arm64/kernel/irq.c > > Indeed. Hi Catalin, do I need to resend the v4 version? Or can you help > me to apply the following code change to the for-next/misc directly? > Both are fine for me, depending on which way is convenient for you. :) I'll fold this in, that's the easiest. Thanks. -- Catalin