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 41D0EC77B60 for ; Sun, 23 Apr 2023 16:35:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229456AbjDWQfT (ORCPT ); Sun, 23 Apr 2023 12:35:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjDWQfS (ORCPT ); Sun, 23 Apr 2023 12:35:18 -0400 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18A44E74 for ; Sun, 23 Apr 2023 09:35:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682267717; x=1713803717; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hzO7VB7ThmmtvuOzr/ov1Ionhi5MfpQ3nTgowpMQSEU=; b=X1CA9vsok3N3zy+hGSVDhqh++OETO3PSITZttdvRVPvIXNna1BrUfpzK ZX9pzFlIslr7sTY5Vuu3D693haJaVG9D0Akzpe2CL4aTGJeZ/Oz54+6NX Qg9y21sZY+lqNJFkbwtLSoQnkHn7IGE2qx8aNKDqHBn74LxuuOHY30FiK 7L4I6x3yMF+oMcxLzCQR2guObi/iCZFChbZMWw5mQ9ct19xwdSDKRdROh tf+boogXO8/Wdt4OqisxWWGKFTKg8LJ/I0peRK867FXc4rQbucSaqa4lz 84cpBQ9FExImiCDrxnEk0EYTREzigQai/2Mccyg/CVJBvrXI4KKeEgc7f A==; X-IronPort-AV: E=McAfee;i="6600,9927,10689"; a="330505633" X-IronPort-AV: E=Sophos;i="5.99,220,1677571200"; d="scan'208";a="330505633" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2023 09:35:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10689"; a="939051419" X-IronPort-AV: E=Sophos;i="5.99,220,1677571200"; d="scan'208";a="939051419" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 23 Apr 2023 09:35:12 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pqcgC-000hyQ-0N; Sun, 23 Apr 2023 16:35:12 +0000 Date: Mon, 24 Apr 2023 00:34:28 +0800 From: kernel test robot To: Max Gurtovoy , martin.petersen@oracle.com, hch@lst.de, sagi@grimberg.me, linux-nvme@lists.infradead.org Cc: oe-kbuild-all@lists.linux.dev, kbusch@kernel.org, axboe@kernel.dk, linux-block@vger.kernel.org, oren@nvidia.com, oevron@nvidia.com, israelr@nvidia.com, Max Gurtovoy Subject: Re: [PATCH v1 1/2] block: bio-integrity: export bio_integrity_free func Message-ID: <202304240022.AvNPfDhp-lkp@intel.com> References: <20230423141330.40437-2-mgurtovoy@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230423141330.40437-2-mgurtovoy@nvidia.com> Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org Hi Max, kernel test robot noticed the following build errors: [auto build test ERROR on axboe-block/for-next] [also build test ERROR on hch-configfs/for-next linus/master v6.3-rc7 next-20230421] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Max-Gurtovoy/block-bio-integrity-export-bio_integrity_free-func/20230423-222054 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next patch link: https://lore.kernel.org/r/20230423141330.40437-2-mgurtovoy%40nvidia.com patch subject: [PATCH v1 1/2] block: bio-integrity: export bio_integrity_free func config: alpha-allnoconfig (https://download.01.org/0day-ci/archive/20230424/202304240022.AvNPfDhp-lkp@intel.com/config) compiler: alpha-linux-gcc (GCC) 12.1.0 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://github.com/intel-lab-lkp/linux/commit/1459ddb310ef47b008de7669cc2c57e02edf4edb git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Max-Gurtovoy/block-bio-integrity-export-bio_integrity_free-func/20230423-222054 git checkout 1459ddb310ef47b008de7669cc2c57e02edf4edb # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304240022.AvNPfDhp-lkp@intel.com/ All error/warnings (new ones prefixed by >>): In file included from include/linux/blkdev.h:17, from init/main.c:86: >> include/linux/bio.h:768:6: warning: no previous prototype for 'bio_integrity_free' [-Wmissing-prototypes] 768 | void bio_integrity_free(struct bio *bio) | ^~~~~~~~~~~~~~~~~~ init/main.c:779:20: warning: no previous prototype for 'arch_post_acpi_subsys_init' [-Wmissing-prototypes] 779 | void __init __weak arch_post_acpi_subsys_init(void) { } | ^~~~~~~~~~~~~~~~~~~~~~~~~~ init/main.c:791:20: warning: no previous prototype for 'mem_encrypt_init' [-Wmissing-prototypes] 791 | void __init __weak mem_encrypt_init(void) { } | ^~~~~~~~~~~~~~~~ init/main.c:793:20: warning: no previous prototype for 'poking_init' [-Wmissing-prototypes] 793 | void __init __weak poking_init(void) { } | ^~~~~~~~~~~ -- In file included from include/linux/blkdev.h:17, from init/do_mounts.h:3, from init/do_mounts.c:28: >> include/linux/bio.h:768:6: warning: no previous prototype for 'bio_integrity_free' [-Wmissing-prototypes] 768 | void bio_integrity_free(struct bio *bio) | ^~~~~~~~~~~~~~~~~~ -- In file included from include/linux/blkdev.h:17, from kernel/exit.c:52: >> include/linux/bio.h:768:6: warning: no previous prototype for 'bio_integrity_free' [-Wmissing-prototypes] 768 | void bio_integrity_free(struct bio *bio) | ^~~~~~~~~~~~~~~~~~ kernel/exit.c:1915:32: warning: no previous prototype for 'abort' [-Wmissing-prototypes] 1915 | __weak __function_aligned void abort(void) | ^~~~~ -- In file included from include/linux/blkdev.h:17, from block/bdev.c:14: >> include/linux/bio.h:768:6: warning: no previous prototype for 'bio_integrity_free' [-Wmissing-prototypes] 768 | void bio_integrity_free(struct bio *bio) | ^~~~~~~~~~~~~~~~~~ In file included from block/bdev.c:31: >> block/blk.h:248:20: error: redefinition of 'bio_integrity_free' 248 | static inline void bio_integrity_free(struct bio *bio) | ^~~~~~~~~~~~~~~~~~ include/linux/bio.h:768:6: note: previous definition of 'bio_integrity_free' with type 'void(struct bio *)' 768 | void bio_integrity_free(struct bio *bio) | ^~~~~~~~~~~~~~~~~~ -- In file included from include/linux/blkdev.h:17, from lib/vsprintf.c:46: >> include/linux/bio.h:768:6: warning: no previous prototype for 'bio_integrity_free' [-Wmissing-prototypes] 768 | void bio_integrity_free(struct bio *bio) | ^~~~~~~~~~~~~~~~~~ lib/vsprintf.c: In function 'va_format': lib/vsprintf.c:1681:9: warning: function 'va_format' might be a candidate for 'gnu_printf' format attribute [-Wsuggest-attribute=format] 1681 | buf += vsnprintf(buf, end > buf ? end - buf : 0, va_fmt->fmt, va); | ^~~ -- In file included from include/linux/blkdev.h:17, from block/partitions/check.h:3, from block/partitions/core.c:13: >> include/linux/bio.h:768:6: warning: no previous prototype for 'bio_integrity_free' [-Wmissing-prototypes] 768 | void bio_integrity_free(struct bio *bio) | ^~~~~~~~~~~~~~~~~~ In file included from block/partitions/check.h:4: >> block/partitions/../blk.h:248:20: error: redefinition of 'bio_integrity_free' 248 | static inline void bio_integrity_free(struct bio *bio) | ^~~~~~~~~~~~~~~~~~ include/linux/bio.h:768:6: note: previous definition of 'bio_integrity_free' with type 'void(struct bio *)' 768 | void bio_integrity_free(struct bio *bio) | ^~~~~~~~~~~~~~~~~~ vim +/bio_integrity_free +248 block/blk.h 43b729bfe9cf30 Christoph Hellwig 2018-09-24 240 5a48fc147d7f27 Dan Williams 2015-10-21 241 static inline void blk_flush_integrity(void) 5a48fc147d7f27 Dan Williams 2015-10-21 242 { 5a48fc147d7f27 Dan Williams 2015-10-21 243 } 7c20f11680a441 Christoph Hellwig 2017-07-03 244 static inline bool bio_integrity_endio(struct bio *bio) 7c20f11680a441 Christoph Hellwig 2017-07-03 245 { 7c20f11680a441 Christoph Hellwig 2017-07-03 246 return true; 7c20f11680a441 Christoph Hellwig 2017-07-03 247 } ece841abbed2da Justin Tee 2019-12-05 @248 static inline void bio_integrity_free(struct bio *bio) ece841abbed2da Justin Tee 2019-12-05 249 { ece841abbed2da Justin Tee 2019-12-05 250 } 614310c9c8ca15 Luis Chamberlain 2021-08-18 251 static inline int blk_integrity_add(struct gendisk *disk) 581e26004a09c5 Christoph Hellwig 2020-03-25 252 { 614310c9c8ca15 Luis Chamberlain 2021-08-18 253 return 0; 581e26004a09c5 Christoph Hellwig 2020-03-25 254 } 581e26004a09c5 Christoph Hellwig 2020-03-25 255 static inline void blk_integrity_del(struct gendisk *disk) 581e26004a09c5 Christoph Hellwig 2020-03-25 256 { 581e26004a09c5 Christoph Hellwig 2020-03-25 257 } 43b729bfe9cf30 Christoph Hellwig 2018-09-24 258 #endif /* CONFIG_BLK_DEV_INTEGRITY */ 8324aa91d1e11a Jens Axboe 2008-01-29 259 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests