* [djwong-xfs:timestats-hoist 116/245] fs/xfs/xfs_mount.h:492:41: warning: statement with no effect
@ 2024-08-23 13:16 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-08-23 13:16 UTC (permalink / raw)
To: Darrick J. Wong; +Cc: oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git timestats-hoist
head: 2672953f103abef74446981c20b0286f4b3f402f
commit: 4a3f784e7ceb7a7e48afbca39f0cb87b008fcad6 [116/245] xfs: persist quota flags with metadir
config: i386-randconfig-002-20240823 (https://download.01.org/0day-ci/archive/20240823/202408232159.A0pM5PWM-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240823/202408232159.A0pM5PWM-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408232159.A0pM5PWM-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from fs/xfs/xfs_super.c:13:
fs/xfs/xfs_super.c: In function 'xfs_fs_fill_super':
>> fs/xfs/xfs_mount.h:492:41: warning: statement with no effect [-Wunused-value]
492 | # define xfs_set_resuming_quotaon(mp) (false)
| ^
fs/xfs/xfs_super.c:1781:17: note: in expansion of macro 'xfs_set_resuming_quotaon'
1781 | xfs_set_resuming_quotaon(mp);
| ^~~~~~~~~~~~~~~~~~~~~~~~
vim +492 fs/xfs/xfs_mount.h
478
479 __XFS_IS_OPSTATE(unmounting, UNMOUNTING)
480 __XFS_IS_OPSTATE(clean, CLEAN)
481 __XFS_IS_OPSTATE(shutdown, SHUTDOWN)
482 __XFS_IS_OPSTATE(inode32, INODE32)
483 __XFS_IS_OPSTATE(readonly, READONLY)
484 __XFS_IS_OPSTATE(inodegc_enabled, INODEGC_ENABLED)
485 __XFS_IS_OPSTATE(blockgc_enabled, BLOCKGC_ENABLED)
486 #ifdef CONFIG_XFS_QUOTA
487 __XFS_IS_OPSTATE(quotacheck_running, QUOTACHECK_RUNNING)
488 __XFS_IS_OPSTATE(resuming_quotaon, RESUMING_QUOTAON)
489 #else
490 # define xfs_is_quotacheck_running(mp) (false)
491 # define xfs_is_resuming_quotaon(mp) (false)
> 492 # define xfs_set_resuming_quotaon(mp) (false)
493 # define xfs_clear_resuming_quotaon(mp) (false)
494 #endif
495 __XFS_IS_OPSTATE(done_with_log_incompat, UNSET_LOG_INCOMPAT)
496 __XFS_IS_OPSTATE(using_logged_xattrs, USE_LARP)
497
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-08-23 13:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-23 13:16 [djwong-xfs:timestats-hoist 116/245] fs/xfs/xfs_mount.h:492:41: warning: statement with no effect kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.