From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32DD07A for ; Sat, 9 Jul 2022 05:29:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1657344568; x=1688880568; h=date:from:to:cc:subject:message-id:mime-version; bh=3K7w/tIlYLrOa4jUTP//uIjlXlGF6BYOKmT/TEJGKZo=; b=WYQkvr38OPpCsq7BtebuPjB94s7S0vcu8EiS5AqSuI3a1JRA5c4OOCsk e1hwoEu/NaE5fYXl+pSeZ57pNRZNTmN+iJU+CoJvoyKQkZDkwVqxCtKo7 Pq9f1sgaRiC8Z/zsUNUuysw89iIzGSzoxFVQYBs0lyZ6WdTudiVwEEg+d bmiLYP9L9lBBQZVjb4YifCwSB9nPUxBucpq/XRWgGRR8I5+EEBUqhn9jS aKOJTMaeuJuBnG1XwtK6rUYmC1QzsaiEFxSBtTo7S1VYftXDDEJF/5751 Imao1LJTOVGE0VTtzdmZkhTqRIqCdauwFq+g6JlL4odR6Qn/uhKXXfm+s g==; X-IronPort-AV: E=McAfee;i="6400,9594,10402"; a="283163964" X-IronPort-AV: E=Sophos;i="5.92,256,1650956400"; d="scan'208";a="283163964" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jul 2022 22:29:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,256,1650956400"; d="scan'208";a="736559161" Received: from lkp-server01.sh.intel.com (HELO 68b931ab7ac1) ([10.239.97.150]) by fmsmga001.fm.intel.com with ESMTP; 08 Jul 2022 22:29:25 -0700 Received: from kbuild by 68b931ab7ac1 with local (Exim 4.95) (envelope-from ) id 1oA31w-000OLv-DI; Sat, 09 Jul 2022 05:29:24 +0000 Date: Sat, 9 Jul 2022 13:29:02 +0800 From: kernel test robot To: Pankaj Raghav Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Luis Chamberlain , Hannes Reinecke Subject: [mcgrof-next:20220707-dm-zoned-npo2 2/13] block/blk-core.c:564:28: error: incompatible pointer types passing 'struct block_device *' to parameter of type 'struct gendisk *' Message-ID: <202207091323.KEhcYltc-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git 20220707-dm-zoned-npo2 head: 3d1b6e41f76394610669e380da4f65bc5e7cf8ac commit: 74b3d453820c74ad03aefe4d9ec44c27f6bffe00 [2/13] block: allow blk-zoned devices to have non-power-of-2 zone size config: hexagon-randconfig-r041-20220707 (https://download.01.org/0day-ci/archive/20220709/202207091323.KEhcYltc-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 77a38f6839980bfac61babb40d83772c51427011) 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://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git/commit/?id=74b3d453820c74ad03aefe4d9ec44c27f6bffe00 git remote add mcgrof-next https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux-next.git git fetch --no-tags mcgrof-next 20220707-dm-zoned-npo2 git checkout 74b3d453820c74ad03aefe4d9ec44c27f6bffe00 # 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=hexagon SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> block/blk-core.c:564:28: error: incompatible pointer types passing 'struct block_device *' to parameter of type 'struct gendisk *' [-Werror,-Wincompatible-pointer-types] return bdev_is_zone_start(bio->bi_bdev, bio->bi_iter.bi_sector); ^~~~~~~~~~~~ include/linux/blkdev.h:772:55: note: passing argument to parameter 'disk' here static inline bool bdev_is_zone_start(struct gendisk *disk, sector_t sec) ^ 1 error generated. vim +564 block/blk-core.c 561 562 static inline bool bio_sector_zone_start(struct bio *bio) 563 { > 564 return bdev_is_zone_start(bio->bi_bdev, bio->bi_iter.bi_sector); 565 } 566 -- 0-DAY CI Kernel Test Service https://01.org/lkp