mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: shaos <shawnq1@163.com>,
	slava@dubeyko.com, glaubitz@physik.fu-berlin.de,
	frank.li@vivo.com
Cc: oe-kbuild-all@lists.linux.dev, linux-fsdevel@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] hfsplus: reorder complete combining runs for dentry keys
Date: Fri, 27 Nov 2026 11:52:02 +0800	[thread overview]
Message-ID: <20261127114353.IlT3o2gb-lkp@intel.com> (raw)
In-Reply-To: <20261126160720.3007837-1-shawnq1@163.com>

Hi shaos,

kernel test robot noticed the following build warnings:

[auto build test WARNING on brauner-vfs/vfs.all]
[also build test WARNING on linus/master v7.4-rc4 next-20261126]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/shaos/hfsplus-reorder-complete-combining-runs-for-dentry-keys/20261126-160720
base:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git vfs.all
patch link:    https://lore.kernel.org/r/20261126160720.3007837-1-shawnq1%40163.com
patch subject: [PATCH] hfsplus: reorder complete combining runs for dentry keys
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20261127/20261127114353.IlT3o2gb-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 16.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261127/20261127114353.IlT3o2gb-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/20261127114353.IlT3o2gb-lkp@intel.com/

All warnings (new ones prefixed by >>):

   fs/hfsplus/unicode.c: In function 'hfsplus_compare_dentry':
>> fs/hfsplus/unicode.c:747:1: warning: the frame size of 1456 bytes is larger than 1280 bytes [-Wframe-larger-than=]
     747 | }
         | ^
--
   fs/hfsplus/unicode_test.c: In function 'hfsplus_dentry_combining_reorder_long_test':
>> fs/hfsplus/unicode_test.c:1547:1: warning: the frame size of 1680 bytes is larger than 1280 bytes [-Wframe-larger-than=]
    1547 | }
         | ^


vim +747 fs/hfsplus/unicode.c

d45bce8faf5551 Duane Griffin      2007-07-15  721  
d45bce8faf5551 Duane Griffin      2007-07-15  722  /*
d45bce8faf5551 Duane Griffin      2007-07-15  723   * Compare strings with HFS+ filename ordering.
d45bce8faf5551 Duane Griffin      2007-07-15  724   * Composed unicode characters are decomposed and case-folding is performed
d45bce8faf5551 Duane Griffin      2007-07-15  725   * if the appropriate bits are (un)set on the superblock.
d45bce8faf5551 Duane Griffin      2007-07-15  726   */
6fa67e70755930 Al Viro            2016-07-31  727  int hfsplus_compare_dentry(const struct dentry *dentry,
621e155a359196 Nicholas Piggin    2011-01-07  728  		unsigned int len, const char *str, const struct qstr *name)
d45bce8faf5551 Duane Griffin      2007-07-15  729  {
d3fe19852e96aa Al Viro            2016-07-29  730  	struct super_block *sb = dentry->d_sb;
bbe5ebcbc006ac Viacheslav Dubeyko 2026-09-18  731  	int casefold = test_bit(HFSPLUS_SB_CASEFOLD, &HFSPLUS_SB(sb)->flags);
bbe5ebcbc006ac Viacheslav Dubeyko 2026-09-18  732  	struct hfsplus_decompose_iter it1, it2;
d45bce8faf5551 Duane Griffin      2007-07-15  733  
bbe5ebcbc006ac Viacheslav Dubeyko 2026-09-18  734  	hfsplus_decompose_iter_init(&it1, sb, str, len, HFS_REGULAR_NAME);
bbe5ebcbc006ac Viacheslav Dubeyko 2026-09-18  735  	hfsplus_decompose_iter_init(&it2, sb, name->name, name->len,
897c2beb4a7799 Viacheslav Dubeyko 2026-03-23  736  				    HFS_REGULAR_NAME);
d45bce8faf5551 Duane Griffin      2007-07-15  737  
bbe5ebcbc006ac Viacheslav Dubeyko 2026-09-18  738  	while (1) {
bbe5ebcbc006ac Viacheslav Dubeyko 2026-09-18  739  		int c1 = hfsplus_decompose_iter_next_folded(&it1, casefold);
bbe5ebcbc006ac Viacheslav Dubeyko 2026-09-18  740  		int c2 = hfsplus_decompose_iter_next_folded(&it2, casefold);
d45bce8faf5551 Duane Griffin      2007-07-15  741  
bbe5ebcbc006ac Viacheslav Dubeyko 2026-09-18  742  		if (c1 < 0 || c2 < 0)
bbe5ebcbc006ac Viacheslav Dubeyko 2026-09-18  743  			return c1 == c2 ? 0 : (c1 < 0 ? -1 : 1);
bbe5ebcbc006ac Viacheslav Dubeyko 2026-09-18  744  		if (c1 != c2)
bbe5ebcbc006ac Viacheslav Dubeyko 2026-09-18  745  			return c1 < c2 ? -1 : 1;
bbe5ebcbc006ac Viacheslav Dubeyko 2026-09-18  746  	}
d45bce8faf5551 Duane Griffin      2007-07-15 @747  }

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

      reply	other threads:[~2026-11-27  3:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 16:07 shaos
2026-11-27  3:52 ` kernel test robot [this message]

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=20261127114353.IlT3o2gb-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=frank.li@vivo.com \
    --cc=glaubitz@physik.fu-berlin.de \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=shawnq1@163.com \
    --cc=slava@dubeyko.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®