[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] [dm:for-next 26/26] drivers/md/dm-crypt.c:3068:2: error: 't' undeclared

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next
head:   08575fd060d7f88f674509461b32d86b272093d9
commit: 08575fd060d7f88f674509461b32d86b272093d9 [26/26] dm crypt: don't decrease device limits
config: openrisc-allyesconfig (attached as .config)
compiler: or1k-linux-gcc (GCC) 6.0.0 20160327 (experimental)
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 08575fd060d7f88f674509461b32d86b272093d9
        # save the attached .config to linux build tree
        make.cross ARCH=openrisc 

All errors (new ones prefixed by >>):

   drivers/md/dm-crypt.c: In function 'crypt_io_hints':
>> drivers/md/dm-crypt.c:3068:2: error: 't' undeclared (first use in this function)
     t->io_min = max_t(unsigned, limits->io_min, cc->sector_size);
   drivers/md/dm-crypt.c:3068:2: note: each undeclared identifier is reported only once for each function it appears in

vim +/t +3068 drivers/md/dm-crypt.c

  3052	static void crypt_io_hints(struct dm_target *ti, struct queue_limits *limits)
  3053	{
  3054		struct crypt_config *cc = ti->private;
  3056		/*
  3057		 * Unfortunate constraint that is required to avoid the potential
  3058		 * for exceeding underlying device's max_segments limits -- due to
  3059		 * crypt_alloc_buffer() possibly allocating pages for the encryption
  3060		 * bio that are not as physically contiguous as the original bio.
  3061		 */
  3062		limits->max_segment_size = PAGE_SIZE;
  3064		limits->logical_block_size =
  3065			max_t(unsigned short, limits->logical_block_size, cc->sector_size);
  3066		limits->physical_block_size =
  3067			max_t(unsigned, limits->physical_block_size, cc->sector_size);
> 3068		t->io_min = max_t(unsigned, limits->io_min, cc->sector_size);
  3069	}

0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]