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 A5B2EC433F5 for ; Fri, 1 Apr 2022 23:34:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353396AbiDAXf4 (ORCPT ); Fri, 1 Apr 2022 19:35:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235236AbiDAXfy (ORCPT ); Fri, 1 Apr 2022 19:35:54 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85BEF522EC for ; Fri, 1 Apr 2022 16:34:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1648856043; x=1680392043; h=date:from:to:cc:subject:message-id:mime-version; bh=KtWDZBoZ9HU0GQJUhsn93GzpAZmBgdqKwRs7SJ1Z7S8=; b=l7mYUUpFRfhtv5tk7oCq9zW1hSWw7oklso7umjnMhV16vtVzuo/heEeH 5raf1wl3bbT8EqFm0VTetD71xxR4l9S8e6LdRl4urXbdUYcHq/khguroP 0+kz6OHOmJ2vHuRwTxuk0r7IyN0vLoc+i+2DF3Mn76BzlADuXVHFBnK8j WBoJV4aoR6sXq6mCR0hJw+4yUvy+LhkEyjLg3gjQzLHQ94j7Ojhry29Q0 5+tOC6Ocl0+dnPgrFiTeWGF/xWrlMjMjU8bIJaxXQgUcmmDm1ELyZyxBg 9V96HN0X2HkpDLZY8NLuFTxcJ6nEv86mak2gApf2NEn26hueQSyAhsNAE A==; X-IronPort-AV: E=McAfee;i="6200,9189,10304"; a="346690908" X-IronPort-AV: E=Sophos;i="5.90,229,1643702400"; d="scan'208";a="346690908" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Apr 2022 16:34:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,229,1643702400"; d="scan'208";a="721050141" Received: from lkp-server02.sh.intel.com (HELO 3231c491b0e2) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 01 Apr 2022 16:34:01 -0700 Received: from kbuild by 3231c491b0e2 with local (Exim 4.95) (envelope-from ) id 1naQmG-0001b4-TK; Fri, 01 Apr 2022 23:34:00 +0000 Date: Sat, 2 Apr 2022 07:33:02 +0800 From: kernel test robot To: Dafna Hirschfeld Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Oded Gabbay Subject: [ogabbay:habanalabs-next 25/28] drivers/misc/habanalabs/goya/goya.c:4265:5: warning: no previous prototype for function 'goya_debugfs_read_dma' Message-ID: <202204020715.RF7P32XV-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org tree: https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git habanalabs-next head: fa59c43c5c906277ab3b753d782488ef4fd3ba62 commit: cb162eee0d9f31c21860a9f454563abde2ff30aa [25/28] habanalabs: remove debugfs read/write callbacks config: x86_64-randconfig-a014 (https://download.01.org/0day-ci/archive/20220402/202204020715.RF7P32XV-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project cc2e2b80a1f36a28fa7c96c38c2674b10868f09f) 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 # https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git/commit/?id=cb162eee0d9f31c21860a9f454563abde2ff30aa git remote add ogabbay https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git git fetch --no-tags ogabbay habanalabs-next git checkout cb162eee0d9f31c21860a9f454563abde2ff30aa # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/misc/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> drivers/misc/habanalabs/goya/goya.c:4265:5: warning: no previous prototype for function 'goya_debugfs_read_dma' [-Wmissing-prototypes] int goya_debugfs_read_dma(struct hl_device *hdev, u64 addr, u32 size, ^ drivers/misc/habanalabs/goya/goya.c:4265:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int goya_debugfs_read_dma(struct hl_device *hdev, u64 addr, u32 size, ^ static 1 warning generated. vim +/goya_debugfs_read_dma +4265 drivers/misc/habanalabs/goya/goya.c 4264 > 4265 int goya_debugfs_read_dma(struct hl_device *hdev, u64 addr, u32 size, 4266 void *blob_addr) 4267 { 4268 dev_err(hdev->dev, "Reading via DMA is unimplemented yet\n"); 4269 return -EPERM; 4270 } 4271 -- 0-DAY CI Kernel Test Service https://01.org/lkp