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 427BDC433FE for ; Mon, 7 Feb 2022 18:19:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231587AbiBGSTO (ORCPT ); Mon, 7 Feb 2022 13:19:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344353AbiBGSMy (ORCPT ); Mon, 7 Feb 2022 13:12:54 -0500 X-Greylist: delayed 62 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 07 Feb 2022 10:12:53 PST Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CDC2C0401D9; Mon, 7 Feb 2022 10:12:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644257573; x=1675793573; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=9jtlciL9JDhXsZpBNGevebG0Pcet92BqXyuEzYTIPU8=; b=ML8cvVpRs8VbVgMGfU63I3TOLbvIr8lzXHWAhbHSoYtT8InWInmrvzuy ktzJsbvE9okzMhc9wuO8IK/UyhCkmzkDhKL9Ry4S58GBiGzuwM0yqJGV2 JXziBwJt4T/fBv7HZ1G4N5Bj4UIxDJaj/TZ3wH/oM6B/zyhIr5deiJo0s m1UA5pOlgQfqxIlyeevJfaFMcoLDMJiDpQ342U6paKdWgdduCbAcLqkE8 3wzEIzZDDAmZ9zv7uC8uku77+PYW+14JwTWuAsP4K4UjOot48GX7cYNN6 LivZbhcyBW+assdP6tOGs78FZlYuDCigWf01x6Xf+dHgHOvrC6ygBhpLk A==; X-IronPort-AV: E=McAfee;i="6200,9189,10250"; a="248725038" X-IronPort-AV: E=Sophos;i="5.88,350,1635231600"; d="scan'208";a="248725038" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2022 10:11:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,350,1635231600"; d="scan'208";a="481665736" Received: from lkp-server01.sh.intel.com (HELO 9dd77a123018) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 07 Feb 2022 10:11:47 -0800 Received: from kbuild by 9dd77a123018 with local (Exim 4.92) (envelope-from ) id 1nH8UN-0000qN-4m; Mon, 07 Feb 2022 18:11:47 +0000 Date: Tue, 8 Feb 2022 02:10:49 +0800 From: kernel test robot To: Nitesh Shetty , mpatocka@redhat.com Cc: kbuild-all@lists.01.org, javier@javigon.com, chaitanyak@nvidia.com, linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, dm-devel@redhat.com, linux-nvme@lists.infradead.org, linux-fsdevel@vger.kernel.org, axboe@kernel.dk, msnitzer@redhat.com Subject: Re: [PATCH v2 07/10] nvmet: add copy command support for bdev and file ns Message-ID: <202202080206.J6kilCeY-lkp@intel.com> References: <20220207141348.4235-8-nj.shetty@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220207141348.4235-8-nj.shetty@samsung.com> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org Hi Nitesh, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on axboe-block/for-next] [also build test WARNING on linus/master v5.17-rc3 next-20220207] [cannot apply to device-mapper-dm/for-next] [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] url: https://github.com/0day-ci/linux/commits/Nitesh-Shetty/block-make-bio_map_kern-non-static/20220207-231407 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next config: microblaze-buildonly-randconfig-r003-20220207 (https://download.01.org/0day-ci/archive/20220208/202202080206.J6kilCeY-lkp@intel.com/config) compiler: microblaze-linux-gcc (GCC) 11.2.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/0day-ci/linux/commit/6bb6ea64499e1ac27975e79bb2eee89f07861893 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Nitesh-Shetty/block-make-bio_map_kern-non-static/20220207-231407 git checkout 6bb6ea64499e1ac27975e79bb2eee89f07861893 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=microblaze SHELL=/bin/bash drivers/nvme/target/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from include/linux/byteorder/big_endian.h:5, from arch/microblaze/include/uapi/asm/byteorder.h:8, from include/asm-generic/bitops/le.h:6, from include/asm-generic/bitops.h:35, from ./arch/microblaze/include/generated/asm/bitops.h:1, from include/linux/bitops.h:33, from include/linux/log2.h:12, from include/asm-generic/div64.h:55, from ./arch/microblaze/include/generated/asm/div64.h:1, from include/linux/math.h:5, from include/linux/math64.h:6, from include/linux/time.h:6, from include/linux/stat.h:19, from include/linux/module.h:13, from drivers/nvme/target/admin-cmd.c:7: drivers/nvme/target/admin-cmd.c: In function 'nvmet_execute_identify_ns': >> include/uapi/linux/byteorder/big_endian.h:34:26: warning: conversion from 'unsigned int' to '__le16' {aka 'short unsigned int'} changes value from '524288' to '0' [-Woverflow] 34 | #define __cpu_to_le32(x) ((__force __le32)__swab32((x))) | ^ include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__cpu_to_le32' 88 | #define cpu_to_le32 __cpu_to_le32 | ^~~~~~~~~~~~~ drivers/nvme/target/admin-cmd.c:534:29: note: in expansion of macro 'cpu_to_le32' 534 | id->mssrl = cpu_to_le32(BIO_MAX_VECS << (PAGE_SHIFT - SECTOR_SHIFT)); | ^~~~~~~~~~~ vim +34 include/uapi/linux/byteorder/big_endian.h 5921e6f8809b161 David Howells 2012-10-13 15 5921e6f8809b161 David Howells 2012-10-13 16 #define __constant_htonl(x) ((__force __be32)(__u32)(x)) 5921e6f8809b161 David Howells 2012-10-13 17 #define __constant_ntohl(x) ((__force __u32)(__be32)(x)) 5921e6f8809b161 David Howells 2012-10-13 18 #define __constant_htons(x) ((__force __be16)(__u16)(x)) 5921e6f8809b161 David Howells 2012-10-13 19 #define __constant_ntohs(x) ((__force __u16)(__be16)(x)) 5921e6f8809b161 David Howells 2012-10-13 20 #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x))) 5921e6f8809b161 David Howells 2012-10-13 21 #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x)) 5921e6f8809b161 David Howells 2012-10-13 22 #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x))) 5921e6f8809b161 David Howells 2012-10-13 23 #define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x)) 5921e6f8809b161 David Howells 2012-10-13 24 #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x))) 5921e6f8809b161 David Howells 2012-10-13 25 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x)) 5921e6f8809b161 David Howells 2012-10-13 26 #define __constant_cpu_to_be64(x) ((__force __be64)(__u64)(x)) 5921e6f8809b161 David Howells 2012-10-13 27 #define __constant_be64_to_cpu(x) ((__force __u64)(__be64)(x)) 5921e6f8809b161 David Howells 2012-10-13 28 #define __constant_cpu_to_be32(x) ((__force __be32)(__u32)(x)) 5921e6f8809b161 David Howells 2012-10-13 29 #define __constant_be32_to_cpu(x) ((__force __u32)(__be32)(x)) 5921e6f8809b161 David Howells 2012-10-13 30 #define __constant_cpu_to_be16(x) ((__force __be16)(__u16)(x)) 5921e6f8809b161 David Howells 2012-10-13 31 #define __constant_be16_to_cpu(x) ((__force __u16)(__be16)(x)) 5921e6f8809b161 David Howells 2012-10-13 32 #define __cpu_to_le64(x) ((__force __le64)__swab64((x))) 5921e6f8809b161 David Howells 2012-10-13 33 #define __le64_to_cpu(x) __swab64((__force __u64)(__le64)(x)) 5921e6f8809b161 David Howells 2012-10-13 @34 #define __cpu_to_le32(x) ((__force __le32)__swab32((x))) 5921e6f8809b161 David Howells 2012-10-13 35 #define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x)) 5921e6f8809b161 David Howells 2012-10-13 36 #define __cpu_to_le16(x) ((__force __le16)__swab16((x))) 5921e6f8809b161 David Howells 2012-10-13 37 #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) 5921e6f8809b161 David Howells 2012-10-13 38 #define __cpu_to_be64(x) ((__force __be64)(__u64)(x)) 5921e6f8809b161 David Howells 2012-10-13 39 #define __be64_to_cpu(x) ((__force __u64)(__be64)(x)) 5921e6f8809b161 David Howells 2012-10-13 40 #define __cpu_to_be32(x) ((__force __be32)(__u32)(x)) 5921e6f8809b161 David Howells 2012-10-13 41 #define __be32_to_cpu(x) ((__force __u32)(__be32)(x)) 5921e6f8809b161 David Howells 2012-10-13 42 #define __cpu_to_be16(x) ((__force __be16)(__u16)(x)) 5921e6f8809b161 David Howells 2012-10-13 43 #define __be16_to_cpu(x) ((__force __u16)(__be16)(x)) 5921e6f8809b161 David Howells 2012-10-13 44 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org 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 us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E808DC433F5 for ; Tue, 8 Feb 2022 22:34:46 +0000 (UTC) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-311-1EmnzHOLMhCFarQ2DmHZfQ-1; Tue, 08 Feb 2022 17:34:42 -0500 X-MC-Unique: 1EmnzHOLMhCFarQ2DmHZfQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6BA9F94EEC; Tue, 8 Feb 2022 22:34:35 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4C1415BC25; Tue, 8 Feb 2022 22:34:35 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id EAD455B429; Tue, 8 Feb 2022 22:34:34 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 217IBtK1028638 for ; Mon, 7 Feb 2022 13:11:55 -0500 Received: by smtp.corp.redhat.com (Postfix) id E79B7C0809D; Mon, 7 Feb 2022 18:11:54 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E3837C0809C for ; Mon, 7 Feb 2022 18:11:54 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C9BF0800B26 for ; Mon, 7 Feb 2022 18:11:54 +0000 (UTC) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-596-_jbkaWW_O2WE2aK1t5scKw-1; Mon, 07 Feb 2022 13:11:53 -0500 X-MC-Unique: _jbkaWW_O2WE2aK1t5scKw-1 X-IronPort-AV: E=McAfee;i="6200,9189,10250"; a="309519537" X-IronPort-AV: E=Sophos;i="5.88,350,1635231600"; d="scan'208";a="309519537" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Feb 2022 10:11:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,350,1635231600"; d="scan'208";a="481665736" Received: from lkp-server01.sh.intel.com (HELO 9dd77a123018) ([10.239.97.150]) by orsmga003.jf.intel.com with ESMTP; 07 Feb 2022 10:11:47 -0800 Received: from kbuild by 9dd77a123018 with local (Exim 4.92) (envelope-from ) id 1nH8UN-0000qN-4m; Mon, 07 Feb 2022 18:11:47 +0000 Date: Tue, 8 Feb 2022 02:10:49 +0800 From: kernel test robot To: Nitesh Shetty , mpatocka@redhat.com Message-ID: <202202080206.J6kilCeY-lkp@intel.com> References: <20220207141348.4235-8-nj.shetty@samsung.com> MIME-Version: 1.0 In-Reply-To: <20220207141348.4235-8-nj.shetty@samsung.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.85 on 10.11.54.8 X-loop: dm-devel@redhat.com Cc: axboe@kernel.dk, javier@javigon.com, msnitzer@redhat.com, kbuild-all@lists.01.org, linux-scsi@vger.kernel.org, chaitanyak@nvidia.com, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, dm-devel@redhat.com, linux-fsdevel@vger.kernel.org Subject: Re: [dm-devel] [PATCH v2 07/10] nvmet: add copy command support for bdev and file ns X-BeenThere: dm-devel@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: device-mapper development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dm-devel-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Nitesh, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on axboe-block/for-next] [also build test WARNING on linus/master v5.17-rc3 next-20220207] [cannot apply to device-mapper-dm/for-next] [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] url: https://github.com/0day-ci/linux/commits/Nitesh-Shetty/block-make-bio_map_kern-non-static/20220207-231407 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next config: microblaze-buildonly-randconfig-r003-20220207 (https://download.01.org/0day-ci/archive/20220208/202202080206.J6kilCeY-lkp@intel.com/config) compiler: microblaze-linux-gcc (GCC) 11.2.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/0day-ci/linux/commit/6bb6ea64499e1ac27975e79bb2eee89f07861893 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Nitesh-Shetty/block-make-bio_map_kern-non-static/20220207-231407 git checkout 6bb6ea64499e1ac27975e79bb2eee89f07861893 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=microblaze SHELL=/bin/bash drivers/nvme/target/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from include/linux/byteorder/big_endian.h:5, from arch/microblaze/include/uapi/asm/byteorder.h:8, from include/asm-generic/bitops/le.h:6, from include/asm-generic/bitops.h:35, from ./arch/microblaze/include/generated/asm/bitops.h:1, from include/linux/bitops.h:33, from include/linux/log2.h:12, from include/asm-generic/div64.h:55, from ./arch/microblaze/include/generated/asm/div64.h:1, from include/linux/math.h:5, from include/linux/math64.h:6, from include/linux/time.h:6, from include/linux/stat.h:19, from include/linux/module.h:13, from drivers/nvme/target/admin-cmd.c:7: drivers/nvme/target/admin-cmd.c: In function 'nvmet_execute_identify_ns': >> include/uapi/linux/byteorder/big_endian.h:34:26: warning: conversion from 'unsigned int' to '__le16' {aka 'short unsigned int'} changes value from '524288' to '0' [-Woverflow] 34 | #define __cpu_to_le32(x) ((__force __le32)__swab32((x))) | ^ include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__cpu_to_le32' 88 | #define cpu_to_le32 __cpu_to_le32 | ^~~~~~~~~~~~~ drivers/nvme/target/admin-cmd.c:534:29: note: in expansion of macro 'cpu_to_le32' 534 | id->mssrl = cpu_to_le32(BIO_MAX_VECS << (PAGE_SHIFT - SECTOR_SHIFT)); | ^~~~~~~~~~~ vim +34 include/uapi/linux/byteorder/big_endian.h 5921e6f8809b161 David Howells 2012-10-13 15 5921e6f8809b161 David Howells 2012-10-13 16 #define __constant_htonl(x) ((__force __be32)(__u32)(x)) 5921e6f8809b161 David Howells 2012-10-13 17 #define __constant_ntohl(x) ((__force __u32)(__be32)(x)) 5921e6f8809b161 David Howells 2012-10-13 18 #define __constant_htons(x) ((__force __be16)(__u16)(x)) 5921e6f8809b161 David Howells 2012-10-13 19 #define __constant_ntohs(x) ((__force __u16)(__be16)(x)) 5921e6f8809b161 David Howells 2012-10-13 20 #define __constant_cpu_to_le64(x) ((__force __le64)___constant_swab64((x))) 5921e6f8809b161 David Howells 2012-10-13 21 #define __constant_le64_to_cpu(x) ___constant_swab64((__force __u64)(__le64)(x)) 5921e6f8809b161 David Howells 2012-10-13 22 #define __constant_cpu_to_le32(x) ((__force __le32)___constant_swab32((x))) 5921e6f8809b161 David Howells 2012-10-13 23 #define __constant_le32_to_cpu(x) ___constant_swab32((__force __u32)(__le32)(x)) 5921e6f8809b161 David Howells 2012-10-13 24 #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x))) 5921e6f8809b161 David Howells 2012-10-13 25 #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x)) 5921e6f8809b161 David Howells 2012-10-13 26 #define __constant_cpu_to_be64(x) ((__force __be64)(__u64)(x)) 5921e6f8809b161 David Howells 2012-10-13 27 #define __constant_be64_to_cpu(x) ((__force __u64)(__be64)(x)) 5921e6f8809b161 David Howells 2012-10-13 28 #define __constant_cpu_to_be32(x) ((__force __be32)(__u32)(x)) 5921e6f8809b161 David Howells 2012-10-13 29 #define __constant_be32_to_cpu(x) ((__force __u32)(__be32)(x)) 5921e6f8809b161 David Howells 2012-10-13 30 #define __constant_cpu_to_be16(x) ((__force __be16)(__u16)(x)) 5921e6f8809b161 David Howells 2012-10-13 31 #define __constant_be16_to_cpu(x) ((__force __u16)(__be16)(x)) 5921e6f8809b161 David Howells 2012-10-13 32 #define __cpu_to_le64(x) ((__force __le64)__swab64((x))) 5921e6f8809b161 David Howells 2012-10-13 33 #define __le64_to_cpu(x) __swab64((__force __u64)(__le64)(x)) 5921e6f8809b161 David Howells 2012-10-13 @34 #define __cpu_to_le32(x) ((__force __le32)__swab32((x))) 5921e6f8809b161 David Howells 2012-10-13 35 #define __le32_to_cpu(x) __swab32((__force __u32)(__le32)(x)) 5921e6f8809b161 David Howells 2012-10-13 36 #define __cpu_to_le16(x) ((__force __le16)__swab16((x))) 5921e6f8809b161 David Howells 2012-10-13 37 #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) 5921e6f8809b161 David Howells 2012-10-13 38 #define __cpu_to_be64(x) ((__force __be64)(__u64)(x)) 5921e6f8809b161 David Howells 2012-10-13 39 #define __be64_to_cpu(x) ((__force __u64)(__be64)(x)) 5921e6f8809b161 David Howells 2012-10-13 40 #define __cpu_to_be32(x) ((__force __be32)(__u32)(x)) 5921e6f8809b161 David Howells 2012-10-13 41 #define __be32_to_cpu(x) ((__force __u32)(__be32)(x)) 5921e6f8809b161 David Howells 2012-10-13 42 #define __cpu_to_be16(x) ((__force __be16)(__u16)(x)) 5921e6f8809b161 David Howells 2012-10-13 43 #define __be16_to_cpu(x) ((__force __u16)(__be16)(x)) 5921e6f8809b161 David Howells 2012-10-13 44 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org -- dm-devel mailing list dm-devel@redhat.com https://listman.redhat.com/mailman/listinfo/dm-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============6573711562104243297==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v2 07/10] nvmet: add copy command support for bdev and file ns Date: Tue, 08 Feb 2022 02:10:49 +0800 Message-ID: <202202080206.J6kilCeY-lkp@intel.com> In-Reply-To: <20220207141348.4235-8-nj.shetty@samsung.com> List-Id: --===============6573711562104243297== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Nitesh, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on axboe-block/for-next] [also build test WARNING on linus/master v5.17-rc3 next-20220207] [cannot apply to device-mapper-dm/for-next] [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] url: https://github.com/0day-ci/linux/commits/Nitesh-Shetty/block-make-b= io_map_kern-non-static/20220207-231407 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.g= it for-next config: microblaze-buildonly-randconfig-r003-20220207 (https://download.01.= org/0day-ci/archive/20220208/202202080206.J6kilCeY-lkp(a)intel.com/config) compiler: microblaze-linux-gcc (GCC) 11.2.0 reproduce (this is a W=3D1 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/0day-ci/linux/commit/6bb6ea64499e1ac27975e79bb= 2eee89f07861893 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Nitesh-Shetty/block-make-bio_map_k= ern-non-static/20220207-231407 git checkout 6bb6ea64499e1ac27975e79bb2eee89f07861893 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Dmicroblaze SHELL=3D/bin/bash drivers/nvme/target/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): In file included from include/linux/byteorder/big_endian.h:5, from arch/microblaze/include/uapi/asm/byteorder.h:8, from include/asm-generic/bitops/le.h:6, from include/asm-generic/bitops.h:35, from ./arch/microblaze/include/generated/asm/bitops.h:1, from include/linux/bitops.h:33, from include/linux/log2.h:12, from include/asm-generic/div64.h:55, from ./arch/microblaze/include/generated/asm/div64.h:1, from include/linux/math.h:5, from include/linux/math64.h:6, from include/linux/time.h:6, from include/linux/stat.h:19, from include/linux/module.h:13, from drivers/nvme/target/admin-cmd.c:7: drivers/nvme/target/admin-cmd.c: In function 'nvmet_execute_identify_ns': >> include/uapi/linux/byteorder/big_endian.h:34:26: warning: conversion fro= m 'unsigned int' to '__le16' {aka 'short unsigned int'} changes value from = '524288' to '0' [-Woverflow] 34 | #define __cpu_to_le32(x) ((__force __le32)__swab32((x))) | ^ include/linux/byteorder/generic.h:88:21: note: in expansion of macro '__= cpu_to_le32' 88 | #define cpu_to_le32 __cpu_to_le32 | ^~~~~~~~~~~~~ drivers/nvme/target/admin-cmd.c:534:29: note: in expansion of macro 'cpu= _to_le32' 534 | id->mssrl =3D cpu_to_le32(BIO_MAX_VECS << (PAGE_= SHIFT - SECTOR_SHIFT)); | ^~~~~~~~~~~ vim +34 include/uapi/linux/byteorder/big_endian.h 5921e6f8809b161 David Howells 2012-10-13 15 = 5921e6f8809b161 David Howells 2012-10-13 16 #define __constant_htonl(x) (= (__force __be32)(__u32)(x)) 5921e6f8809b161 David Howells 2012-10-13 17 #define __constant_ntohl(x) (= (__force __u32)(__be32)(x)) 5921e6f8809b161 David Howells 2012-10-13 18 #define __constant_htons(x) (= (__force __be16)(__u16)(x)) 5921e6f8809b161 David Howells 2012-10-13 19 #define __constant_ntohs(x) (= (__force __u16)(__be16)(x)) 5921e6f8809b161 David Howells 2012-10-13 20 #define __constant_cpu_to_le6= 4(x) ((__force __le64)___constant_swab64((x))) 5921e6f8809b161 David Howells 2012-10-13 21 #define __constant_le64_to_cp= u(x) ___constant_swab64((__force __u64)(__le64)(x)) 5921e6f8809b161 David Howells 2012-10-13 22 #define __constant_cpu_to_le3= 2(x) ((__force __le32)___constant_swab32((x))) 5921e6f8809b161 David Howells 2012-10-13 23 #define __constant_le32_to_cp= u(x) ___constant_swab32((__force __u32)(__le32)(x)) 5921e6f8809b161 David Howells 2012-10-13 24 #define __constant_cpu_to_le1= 6(x) ((__force __le16)___constant_swab16((x))) 5921e6f8809b161 David Howells 2012-10-13 25 #define __constant_le16_to_cp= u(x) ___constant_swab16((__force __u16)(__le16)(x)) 5921e6f8809b161 David Howells 2012-10-13 26 #define __constant_cpu_to_be6= 4(x) ((__force __be64)(__u64)(x)) 5921e6f8809b161 David Howells 2012-10-13 27 #define __constant_be64_to_cp= u(x) ((__force __u64)(__be64)(x)) 5921e6f8809b161 David Howells 2012-10-13 28 #define __constant_cpu_to_be3= 2(x) ((__force __be32)(__u32)(x)) 5921e6f8809b161 David Howells 2012-10-13 29 #define __constant_be32_to_cp= u(x) ((__force __u32)(__be32)(x)) 5921e6f8809b161 David Howells 2012-10-13 30 #define __constant_cpu_to_be1= 6(x) ((__force __be16)(__u16)(x)) 5921e6f8809b161 David Howells 2012-10-13 31 #define __constant_be16_to_cp= u(x) ((__force __u16)(__be16)(x)) 5921e6f8809b161 David Howells 2012-10-13 32 #define __cpu_to_le64(x) ((__= force __le64)__swab64((x))) 5921e6f8809b161 David Howells 2012-10-13 33 #define __le64_to_cpu(x) __sw= ab64((__force __u64)(__le64)(x)) 5921e6f8809b161 David Howells 2012-10-13 @34 #define __cpu_to_le32(x) ((__= force __le32)__swab32((x))) 5921e6f8809b161 David Howells 2012-10-13 35 #define __le32_to_cpu(x) __sw= ab32((__force __u32)(__le32)(x)) 5921e6f8809b161 David Howells 2012-10-13 36 #define __cpu_to_le16(x) ((__= force __le16)__swab16((x))) 5921e6f8809b161 David Howells 2012-10-13 37 #define __le16_to_cpu(x) __sw= ab16((__force __u16)(__le16)(x)) 5921e6f8809b161 David Howells 2012-10-13 38 #define __cpu_to_be64(x) ((__= force __be64)(__u64)(x)) 5921e6f8809b161 David Howells 2012-10-13 39 #define __be64_to_cpu(x) ((__= force __u64)(__be64)(x)) 5921e6f8809b161 David Howells 2012-10-13 40 #define __cpu_to_be32(x) ((__= force __be32)(__u32)(x)) 5921e6f8809b161 David Howells 2012-10-13 41 #define __be32_to_cpu(x) ((__= force __u32)(__be32)(x)) 5921e6f8809b161 David Howells 2012-10-13 42 #define __cpu_to_be16(x) ((__= force __be16)(__u16)(x)) 5921e6f8809b161 David Howells 2012-10-13 43 #define __be16_to_cpu(x) ((__= force __u16)(__be16)(x)) 5921e6f8809b161 David Howells 2012-10-13 44 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org --===============6573711562104243297==--