From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gnuweeb.org (Postfix) with ESMTPS id 3810083189 for ; Sat, 25 Feb 2023 03:27:20 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=cYHjClBV; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677295640; x=1708831640; h=date:from:to:cc:subject:message-id:mime-version; bh=OQAOq98iUhgmZo3RtQlldIpOzqTFof6VzMiE3UuRt8M=; b=cYHjClBVZ8ASIpd3V6BrltZU9uzY1oTPth6Pf1CxkwB9yPRNhTBZo/wy AMkCx9hk0T2lSdz941oGnX/s+3rhO1IYYHLvLvYSX3NGYWVTeYP/fKWEW qC+Y+Cyd2hoT+YN1ZH6X/FGdmI4+wV29YEctOS4eMGj5b++wx65JqTT4Y nzmbIHlTXjp1lR84Kpv6DAHDwlo0LGWgjbbQfkdauKuqYtakPPSMUiOaP 7H+vUDxnfUTGJ6WepY95XwAvkc8SD5fsneQL+4SIq5xSGqcUzUUqhZjcs REIg+wdGZSqw/K8p47ys7mmXkayc7WhHKQzg0htoqSbZeC5XxrBNSpTGj A==; X-IronPort-AV: E=McAfee;i="6500,9779,10631"; a="335060354" X-IronPort-AV: E=Sophos;i="5.97,326,1669104000"; d="scan'208";a="335060354" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Feb 2023 19:27:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10631"; a="666358154" X-IronPort-AV: E=Sophos;i="5.97,326,1669104000"; d="scan'208";a="666358154" Received: from lkp-server01.sh.intel.com (HELO 3895f5c55ead) ([10.239.97.150]) by orsmga007.jf.intel.com with ESMTP; 24 Feb 2023 19:27:16 -0800 Received: from kbuild by 3895f5c55ead with local (Exim 4.96) (envelope-from ) id 1pVlDP-0002sb-1K; Sat, 25 Feb 2023 03:27:15 +0000 Date: Sat, 25 Feb 2023 11:26:21 +0800 From: kernel test robot To: Ammar Faizi Cc: oe-kbuild-all@lists.linux.dev, Ammar Faizi , GNU/Weeb Mailing List Subject: [ammarfaizi2-block:af/dev.btrfs 10/11] fs/btrfs/fs.h:173:56: warning: left shift count >= width of type Message-ID: <202302251144.IPOtICDl-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: tree: https://github.com/ammarfaizi2/linux-block af/dev.btrfs head: 91361976f98a5766c0c00110ad28f6dd3b3a7de3 commit: 3afc14e1a169a4643f51ebdcf743a8efdb7f78b2 [10/11] btrfs: Add wq_cpu_set mount option config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20230225/202302251144.IPOtICDl-lkp@intel.com/config) compiler: m68k-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/ammarfaizi2/linux-block/commit/3afc14e1a169a4643f51ebdcf743a8efdb7f78b2 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block af/dev.btrfs git checkout 3afc14e1a169a4643f51ebdcf743a8efdb7f78b2 # 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=m68k olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash fs/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202302251144.IPOtICDl-lkp@intel.com/ All warnings (new ones prefixed by >>): In file included from fs/btrfs/ctree.h:39, from fs/btrfs/ref-verify.c:9: >> fs/btrfs/fs.h:173:56: warning: left shift count >= width of type [-Wshift-count-overflow] 173 | BTRFS_MOUNT_WQ_CPU_SET = (1UL << 32), | ^~ -- In file included from fs/btrfs/ctree.h:39, from fs/btrfs/delayed-inode.h:17, from fs/btrfs/super.c:30: >> fs/btrfs/fs.h:173:56: warning: left shift count >= width of type [-Wshift-count-overflow] 173 | BTRFS_MOUNT_WQ_CPU_SET = (1UL << 32), | ^~ fs/btrfs/super.c: In function 'parse_wq_cpu_set': fs/btrfs/super.c:352:26: error: assignment to expression with array type 352 | info->wq_cpu_set = mask; | ^ vim +173 fs/btrfs/fs.h 134 135 /* 136 * Flags for mount options. 137 * 138 * Note: don't forget to add new options to btrfs_show_options() 139 */ 140 enum { 141 BTRFS_MOUNT_NODATASUM = (1UL << 0), 142 BTRFS_MOUNT_NODATACOW = (1UL << 1), 143 BTRFS_MOUNT_NOBARRIER = (1UL << 2), 144 BTRFS_MOUNT_SSD = (1UL << 3), 145 BTRFS_MOUNT_DEGRADED = (1UL << 4), 146 BTRFS_MOUNT_COMPRESS = (1UL << 5), 147 BTRFS_MOUNT_NOTREELOG = (1UL << 6), 148 BTRFS_MOUNT_FLUSHONCOMMIT = (1UL << 7), 149 BTRFS_MOUNT_SSD_SPREAD = (1UL << 8), 150 BTRFS_MOUNT_NOSSD = (1UL << 9), 151 BTRFS_MOUNT_DISCARD_SYNC = (1UL << 10), 152 BTRFS_MOUNT_FORCE_COMPRESS = (1UL << 11), 153 BTRFS_MOUNT_SPACE_CACHE = (1UL << 12), 154 BTRFS_MOUNT_CLEAR_CACHE = (1UL << 13), 155 BTRFS_MOUNT_USER_SUBVOL_RM_ALLOWED = (1UL << 14), 156 BTRFS_MOUNT_ENOSPC_DEBUG = (1UL << 15), 157 BTRFS_MOUNT_AUTO_DEFRAG = (1UL << 16), 158 BTRFS_MOUNT_USEBACKUPROOT = (1UL << 17), 159 BTRFS_MOUNT_SKIP_BALANCE = (1UL << 18), 160 BTRFS_MOUNT_CHECK_INTEGRITY = (1UL << 19), 161 BTRFS_MOUNT_CHECK_INTEGRITY_DATA = (1UL << 20), 162 BTRFS_MOUNT_PANIC_ON_FATAL_ERROR = (1UL << 21), 163 BTRFS_MOUNT_RESCAN_UUID_TREE = (1UL << 22), 164 BTRFS_MOUNT_FRAGMENT_DATA = (1UL << 23), 165 BTRFS_MOUNT_FRAGMENT_METADATA = (1UL << 24), 166 BTRFS_MOUNT_FREE_SPACE_TREE = (1UL << 25), 167 BTRFS_MOUNT_NOLOGREPLAY = (1UL << 26), 168 BTRFS_MOUNT_REF_VERIFY = (1UL << 27), 169 BTRFS_MOUNT_DISCARD_ASYNC = (1UL << 28), 170 BTRFS_MOUNT_IGNOREBADROOTS = (1UL << 29), 171 BTRFS_MOUNT_IGNOREDATACSUMS = (1UL << 30), 172 BTRFS_MOUNT_NODISCARD = (1UL << 31), > 173 BTRFS_MOUNT_WQ_CPU_SET = (1UL << 32), 174 }; 175 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests