[dm-devel] [dm:for-next 26/26] drivers/md/dm-crypt.c:3068:2: error: 't' undeclared; did you mean 'ti'?

Mike Snitzer snitzer at redhat.com
Fri Aug 10 20:15:50 UTC 2018


On Fri, Aug 10 2018 at  3:12pm -0400,
kbuild test robot <lkp at intel.com> wrote:

> 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: i386-allmodconfig (attached as .config)
> compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
> reproduce:
>         git checkout 08575fd060d7f88f674509461b32d86b272093d9
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> 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); did you mean 'ti'?
>      t->io_min = max_t(unsigned, limits->io_min, cc->sector_size);
>      ^
>      ti
>    drivers/md/dm-crypt.c:3068:2: note: each undeclared identifier is reported only once for each function it appears in


Fixed up, needed to be: limits->io_min = max_t(unsigned, limits->io_min, cc->sector_size);

Sorry for the noise...

And thanks,
Mike




More information about the dm-devel mailing list