Re: [dm:for-next 7/7] drivers/md/dm-cache-target.c:3585:37: error: 'pool' undeclared

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

 



On Wed, Jul 15 2015 at 12:02pm -0400,
kbuild test robot <fengguang.wu@xxxxxxxxx> wrote:

> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm.git for-next
> head:   043b9e2a0558b383a685245f49bd290c37103413
> commit: 043b9e2a0558b383a685245f49bd290c37103413 [7/7] dm cache: display 'needs_check' in status if it is set
> config: i386-randconfig-x006-201528 (attached as .config)
> reproduce:
>   git checkout 043b9e2a0558b383a685245f49bd290c37103413
>   # save the attached .config to linux build tree
>   make ARCH=i386 
> 
> All error/warnings (new ones prefixed by >>):
> 
>    drivers/md/dm-cache-target.c: In function 'cache_status':
> >> drivers/md/dm-cache-target.c:3585:37: error: 'pool' undeclared (first use in this function)
>       if (dm_cache_metadata_needs_check(pool->pmd))
>                                         ^
>    drivers/md/dm-cache-target.c:3585:37: note: each undeclared identifier is reported only once for each function it appears in
> 
> vim +/pool +3585 drivers/md/dm-cache-target.c
> 
>   3579	
>   3580			if (get_cache_mode(cache) == CM_READ_ONLY)
>   3581				DMEMIT("ro ");
>   3582			else
>   3583				DMEMIT("rw ");
>   3584	
> > 3585			if (dm_cache_metadata_needs_check(pool->pmd))
>   3586				DMEMIT("needs_check ");
>   3587			else
>   3588				DMEMIT("- ");

Cut and paste bug.. sorry for the noise.  Fixed.

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux