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 63077C71133 for ; Fri, 25 Aug 2023 14:13:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343684AbjHYONI (ORCPT ); Fri, 25 Aug 2023 10:13:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343807AbjHYOMm (ORCPT ); Fri, 25 Aug 2023 10:12:42 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 175192688 for ; Fri, 25 Aug 2023 07:12:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692972738; x=1724508738; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=6LfVs46EWrUq21ponp+1uRTAdaFTtgzgJC5q+zmT464=; b=gT8zjASCjjv8rgzwSZVwtYxTr+Nm8jFHN1krad6fHzqcRpBVQE9la+t4 1i46dIPltl+NFCOR9zsMIZxWmgcjT6Tzm0B9LiZwMtPBPsGNE6y9dx3uH pH6SH8eA9J2OK2wklF1Rs5BM1d7Vet2FLb6trqLAkGHKCR8lWJzDYZ1XY gIPhg/KC8CiHEHrjcGBUW8rtK+KZRZ/Q5lQ+Ju/4QY1HKcdo1LcRNe9jS ZIIk1uoe1ny2KAJjtNkUkuAgbULUawhtWrVwZz1Geje2CwDE6nIXtKGzK Grc8qRmD/ix3MJkOtSdqVGrllK/yk37WX4neguMRv75cbJrIYwQxtc65l A==; X-IronPort-AV: E=McAfee;i="6600,9927,10813"; a="354249814" X-IronPort-AV: E=Sophos;i="6.02,195,1688454000"; d="scan'208";a="354249814" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Aug 2023 07:12:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10813"; a="911289687" X-IronPort-AV: E=Sophos;i="6.02,195,1688454000"; d="scan'208";a="911289687" Received: from lkp-server02.sh.intel.com (HELO daf8bb0a381d) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 25 Aug 2023 07:11:58 -0700 Received: from kbuild by daf8bb0a381d with local (Exim 4.96) (envelope-from ) id 1qZXXN-0003fF-0M; Fri, 25 Aug 2023 14:11:49 +0000 Date: Fri, 25 Aug 2023 22:10:46 +0800 From: kernel test robot To: Valentine Sinitsyn , Greg Kroah-Hartman , Tejun Heo Cc: oe-kbuild-all@lists.linux.dev, Daniel Vetter , Bjorn Helgaas , Dan Williams , linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 2/2] PCI: Implement custom llseek for sysfs resource entries Message-ID: <202308252133.YO5zs5rv-lkp@intel.com> References: <20230823125834.492298-2-valesini@yandex-team.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230823125834.492298-2-valesini@yandex-team.ru> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Valentine, kernel test robot noticed the following build warnings: [auto build test WARNING on 89bf6209cad66214d3774dac86b6bbf2aec6a30d] url: https://github.com/intel-lab-lkp/linux/commits/Valentine-Sinitsyn/PCI-Implement-custom-llseek-for-sysfs-resource-entries/20230823-210101 base: 89bf6209cad66214d3774dac86b6bbf2aec6a30d patch link: https://lore.kernel.org/r/20230823125834.492298-2-valesini%40yandex-team.ru patch subject: [PATCH v5 2/2] PCI: Implement custom llseek for sysfs resource entries config: arc-randconfig-r023-20230824 (https://download.01.org/0day-ci/archive/20230825/202308252133.YO5zs5rv-lkp@intel.com/config) compiler: arc-elf-gcc (GCC) 13.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230825/202308252133.YO5zs5rv-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202308252133.YO5zs5rv-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/pci/pci-sysfs.c:1268:12: warning: no previous prototype for 'pci_create_resource_files' [-Wmissing-prototypes] 1268 | int __weak pci_create_resource_files(struct pci_dev *dev) { return 0; } | ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/pci/pci-sysfs.c:1269:13: warning: no previous prototype for 'pci_remove_resource_files' [-Wmissing-prototypes] 1269 | void __weak pci_remove_resource_files(struct pci_dev *dev) { return; } | ^~~~~~~~~~~~~~~~~~~~~~~~~ >> drivers/pci/pci-sysfs.c:838:15: warning: 'pci_llseek_resource' defined but not used [-Wunused-function] 838 | static loff_t pci_llseek_resource(struct file *filep, | ^~~~~~~~~~~~~~~~~~~ vim +/pci_llseek_resource +838 drivers/pci/pci-sysfs.c 837 > 838 static loff_t pci_llseek_resource(struct file *filep, 839 struct kobject *kobj __always_unused, 840 struct bin_attribute *attr, 841 loff_t offset, int whence) 842 { 843 return fixed_size_llseek(filep, offset, whence, attr->size); 844 } 845 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki