Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1144673rwr; Wed, 3 May 2023 10:44:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5GAsbGQHH70Kd4mxsfmYAn8Ltdhy0gYtJIwA6XH7eeOsK05f+qxT1Dj5TOm4QZsVHItLzT X-Received: by 2002:a17:902:b18e:b0:19a:9880:175f with SMTP id s14-20020a170902b18e00b0019a9880175fmr800131plr.51.1683135862241; Wed, 03 May 2023 10:44:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683135862; cv=none; d=google.com; s=arc-20160816; b=p5fKUZ+txyo/BPQ8dLnmYhWYwR3RL/VCJ4NKCgbtq4I6cWeQok0SrX6bQ8mJ5h94CN vQiY5D8wIWo/C1oVXnJjsToTC/9R/2W2Qsv8XMdB2syMZjDVx+Hu8S5UY/tAnvBA+A7Z ZU4LQgbau+8IpX8K2K3LFdKRK9FUmv466Y45U5SCgxAsGPqfwh0mGUUpwuGm3mYnp2hp SNtGMXoxzS3me3JkTYaTG601CqJaTCF47BQZtSALiW7M424bvNI+rn8NDWxmCZWcdmmI WwNTCbApyIHWQ6aQihrk7BrCM3yt0jjM1ll9miR7Y1PVvxZ7F+s4kGmOYDRZvj0wdDra LbPQ== 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:dkim-signature; bh=x/x/WI+ONNZWtWJ4zfRitu+T3rS1kgK1JzRquNefbQc=; b=WBdlYR8EME/3GB3z8IUYsafOKeHCLLhbb0Y/7QFUB1QGA0ve/L1+ibLJ6hllFcR2lO JZdP218bCq1/j9vKsjkFLessZ60mYG07KrjD1LY42PcxpcZFcCD7yxs4IBjJ8461Hhu1 V5pOmv8o6rzXJka2cp+FWDb1rQvbo0au3AENPF4A08BA4FByGjvB5oONnInp11x5WfrS xwWz8AC9v4B359zsjio3wQiEsfVyTeIXTYIK3kT46nZpQ0BSopiFb0/nzwe8oDqHByK4 9Bgre6EBD/qXrRv4HHjFPhfUKsgT68/nbk0+yhDXnPqO6IWXIFJlWQXzTQf5iBSR0KTq x4OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cpDDkIRF; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u9-20020a170902a60900b001a9770780d5si23823646plq.343.2023.05.03.10.44.10; Wed, 03 May 2023 10:44:22 -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; dkim=pass header.i=@intel.com header.s=Intel header.b=cpDDkIRF; 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=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229972AbjECRYe (ORCPT + 99 others); Wed, 3 May 2023 13:24:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229571AbjECRYd (ORCPT ); Wed, 3 May 2023 13:24:33 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38EFF5BAB; Wed, 3 May 2023 10:24:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683134671; x=1714670671; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hcKCVFXhx3yMViZSecHcsu0Oh2KFBf8Ahfru86Q4miE=; b=cpDDkIRFbEJuyEWvOOuRkSKwqeP6Eo2tGqX548FSQosEvldD9iLeiUPA pTWcpKXXZosQ++hhh6gQHk1UY+6aRCiexpEub8FA7C8JpYEEcihpAp24U jQSX2EHkHzsSXQEtGEOLWHNzJcCKNN7YXdLkjYTSWYq9hitVI25cWAOrH 07eaD42IQEl2NhAcL4p7h25FeX7GeJ2TwbfvGiRTDx9vwigyw4HgmzS1G ZVaY1B9dQKrsMmaybWxMij9W9nj0t818jGow9AenXHYnhCgqJ+hVNaU7d pa8t/2Pa7A2E3gOV/CZ2sYV20FStb8fbRyHCJf+VIUCd/By6f75q66/ZH g==; X-IronPort-AV: E=McAfee;i="6600,9927,10699"; a="328337466" X-IronPort-AV: E=Sophos;i="5.99,247,1677571200"; d="scan'208";a="328337466" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2023 10:24:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10699"; a="808353884" X-IronPort-AV: E=Sophos;i="5.99,247,1677571200"; d="scan'208";a="808353884" Received: from lkp-server01.sh.intel.com (HELO e3434d64424d) ([10.239.97.150]) by fmsmga002.fm.intel.com with ESMTP; 03 May 2023 10:24:26 -0700 Received: from kbuild by e3434d64424d with local (Exim 4.96) (envelope-from ) id 1puGDJ-0002AK-1e; Wed, 03 May 2023 17:24:25 +0000 Date: Thu, 4 May 2023 01:23:45 +0800 From: kernel test robot To: Jinyoung CHOI , "axboe@kernel.dk" , "hch@lst.de" , "martin.petersen@oracle.com" , "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH 05/15] block: fix not to apply bip information in blk_rq_bio_prep() Message-ID: <202305040157.ZWiorthB-lkp@intel.com> References: <20230503101048epcms2p61d61df1431955d9517c9939999ee3478@epcms2p6> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230503101048epcms2p61d61df1431955d9517c9939999ee3478@epcms2p6> X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi Jinyoung, kernel test robot noticed the following build errors: [auto build test ERROR on axboe-block/for-next] [also build test ERROR on mkp-scsi/for-next jejb-scsi/for-next linus/master v6.3 next-20230428] [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/Jinyoung-CHOI/block-blk-integiry-add-helper-functions-for-bio_integrity_add_page/20230503-183015 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next patch link: https://lore.kernel.org/r/20230503101048epcms2p61d61df1431955d9517c9939999ee3478%40epcms2p6 patch subject: [PATCH 05/15] block: fix not to apply bip information in blk_rq_bio_prep() config: riscv-randconfig-r042-20230503 (https://download.01.org/0day-ci/archive/20230504/202305040157.ZWiorthB-lkp@intel.com/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project b1465cd49efcbc114a75220b153f5a055ce7911f) 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 riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/584edc6ae9cb23e8a778ee73d711b9143038a047 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Jinyoung-CHOI/block-blk-integiry-add-helper-functions-for-bio_integrity_add_page/20230503-183015 git checkout 584edc6ae9cb23e8a778ee73d711b9143038a047 # 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=riscv olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash block/ drivers/mtd/ubi/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202305040157.ZWiorthB-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from block/bdev.c:15: In file included from include/linux/blk-integrity.h:5: >> include/linux/blk-mq.h:972:7: error: no member named 'nr_integrity_segments' in 'struct request' rq->nr_integrity_segments = bio_integrity(bio)->bip_vcnt; ~~ ^ >> include/linux/blk-mq.h:972:49: error: member reference base type 'void' is not a structure or union rq->nr_integrity_segments = bio_integrity(bio)->bip_vcnt; ~~~~~~~~~~~~~~~~~~^ ~~~~~~~~ 2 errors generated. vim +972 include/linux/blk-mq.h 962 963 static inline void blk_rq_bio_prep(struct request *rq, struct bio *bio, 964 unsigned int nr_segs) 965 { 966 rq->nr_phys_segments = nr_segs; 967 rq->__data_len = bio->bi_iter.bi_size; 968 rq->bio = rq->biotail = bio; 969 rq->ioprio = bio_prio(bio); 970 971 if (bio_integrity(bio)) { > 972 rq->nr_integrity_segments = bio_integrity(bio)->bip_vcnt; 973 rq->cmd_flags |= REQ_INTEGRITY; 974 } 975 } 976 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests