All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Darrick J. Wong" <darrick.wong@oracle.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [djwong-xfs:timestats-hoist 116/245] fs/xfs/xfs_mount.h:492:41: warning: statement with no effect
Date: Fri, 23 Aug 2024 21:16:03 +0800	[thread overview]
Message-ID: <202408232159.A0pM5PWM-lkp@intel.com> (raw)

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

                 reply	other threads:[~2024-08-23 13:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202408232159.A0pM5PWM-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=darrick.wong@oracle.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.