From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A499BC433F5 for ; Mon, 9 May 2022 11:48:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233258AbiEILwU (ORCPT ); Mon, 9 May 2022 07:52:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233127AbiEILwM (ORCPT ); Mon, 9 May 2022 07:52:12 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A0732044D2 for ; Mon, 9 May 2022 04:48:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652096892; x=1683632892; h=date:from:to:cc:subject:message-id:mime-version; bh=fFar3KClk1BmxDxCpPWcEt+L/UfzZwm2En91uS7R+og=; b=kN5vHjixTmjeqUnxeWPpdZf46f2TNVVbbOg5/fkPf8RZHu3layLdpVCD n9hR0lsFAgdOYrYlWZIzOF0dHQlcbecIcuRpS//g4EOnsKDfdHOMml1lw QINf2YFZ49LM9rDb1SM2TXTSb5H/tcQa9eiwoGO36nz+NWZxINjFwW6Ub jbv3sZOXBx4jYD6TFc2REKAe4Yj253JZ1aLY67mr87g+MMmUMWu7ouHcw 0npumgXfn3WvT9L37cpCk7qPSRZAimszeK/xdvxzFlAVw0lQIXPuNkte3 BaZX4p8JaRDx+tGXtsDzAU10yqw31kVznCdcZ7MaFIuPFn7vHT9xSr9a2 A==; X-IronPort-AV: E=McAfee;i="6400,9594,10341"; a="269163928" X-IronPort-AV: E=Sophos;i="5.91,211,1647327600"; d="scan'208";a="269163928" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 May 2022 04:48:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,211,1647327600"; d="scan'208";a="696452097" Received: from lkp-server01.sh.intel.com (HELO 5056e131ad90) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 09 May 2022 04:48:10 -0700 Received: from kbuild by 5056e131ad90 with local (Exim 4.95) (envelope-from ) id 1no1s1-000GU6-Dr; Mon, 09 May 2022 11:48:09 +0000 Date: Mon, 9 May 2022 19:47:09 +0800 From: kernel test robot To: Peter Collingbourne Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Will Deacon , Mark Rutland Subject: mm/kasan/sw_tags.c:211:6: warning: no previous prototype for function 'kasan_tag_mismatch' Message-ID: <202205091936.6zgAr885-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: c5eb0a61238dd6faf37f58c9ce61c9980aaffd7a commit: 1cbdf60bd1b74e397d48aa877367cfc621f45ffe kasan: arm64: support specialized outlined tag mismatch checks date: 12 months ago config: arm64-randconfig-r006-20220509 (https://download.01.org/0day-ci/archive/20220509/202205091936.6zgAr885-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a385645b470e2d3a1534aae618ea56b31177639f) 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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1cbdf60bd1b74e397d48aa877367cfc621f45ffe git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git fetch --no-tags linus master git checkout 1cbdf60bd1b74e397d48aa877367cfc621f45ffe # 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 drivers/gpu/drm/i915/ mm/kasan/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> mm/kasan/sw_tags.c:211:6: warning: no previous prototype for function 'kasan_tag_mismatch' [-Wmissing-prototypes] void kasan_tag_mismatch(unsigned long addr, unsigned long access_info, ^ mm/kasan/sw_tags.c:211:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void kasan_tag_mismatch(unsigned long addr, unsigned long access_info, ^ static 1 warning generated. vim +/kasan_tag_mismatch +211 mm/kasan/sw_tags.c 210 > 211 void kasan_tag_mismatch(unsigned long addr, unsigned long access_info, -- 0-DAY CI Kernel Test Service https://01.org/lkp