All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Darrick J. Wong" <djwong@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [djwong-xfs:llm-fixes-23 65/96] fs/xfs/scrub/inode_repair.c:2100:5: warning: 'CONFIG_XFS_QUOTA' is not defined, evaluates to 0
Date: Fri, 09 Oct 2026 09:30:54 +0200	[thread overview]
Message-ID: <202610090936.4Hy7cfcf-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfs-linux.git llm-fixes-23
head:   33d783380636b9433e2b276334edd43c1dda1268
commit: a5bf930d0f3f00e0f4c9be140ea4935adb729855 [65/96] xfs: reattach dquots after changing inode ids
config: mips-randconfig-r2107-20261009 (https://download.01.org/0day-ci/archive/20261009/202610090936.4Hy7cfcf-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 63d485c3ddee18e2838ba7235a4c519eb8fe08b9)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261009/202610090936.4Hy7cfcf-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/202610090936.4Hy7cfcf-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> fs/xfs/scrub/inode_repair.c:2100:5: warning: 'CONFIG_XFS_QUOTA' is not defined, evaluates to 0 [-Wundef]
    2100 | #if CONFIG_XFS_QUOTA
         |     ^
   1 warning generated.


vim +/CONFIG_XFS_QUOTA +2100 fs/xfs/scrub/inode_repair.c

  2099	
> 2100	#if CONFIG_XFS_QUOTA
  2101	/* Switch dquot, return dqtype if we need quotacheck */
  2102	static xfs_dqtype_t
  2103	xrep_inode_switch_dquot(
  2104		struct xfs_scrub	*sc,
  2105		xfs_dqtype_t		type,
  2106		struct xfs_dquot	**dqp)
  2107	{
  2108		xfs_dqtype_t		ret = 0;
  2109		xfs_dqid_t		id = xfs_qm_id_for_quotatype(sc->ip, type);
  2110	
  2111		if (*dqp != NULL && (*dqp)->q_id != id) {
  2112			xfs_qm_dqrele(*dqp);
  2113			*dqp = NULL;
  2114		}
  2115	
  2116		if (!*dqp) {
  2117			xfs_qm_dqget_inode(sc->ip, type, true, dqp);
  2118			ret = type;
  2119		}
  2120		return ret;
  2121	}
  2122	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2026-10-09  7:31 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=202610090936.4Hy7cfcf-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=djwong@kernel.org \
    --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.