Re: [PATCH] hfsplus: reorder complete combining runs for dentry keys

From: Viacheslav Dubeyko

Date: Fri Nov 27 2026 - 12:53:18 EST


Somehow, I don't see this patch in my email client. Please, fix the
issues and resend the patch. And, please, double check that you are
sending the patch in plain text.

Thanks,
Slava.

On Fri, 2026-11-27 at 11:52 +0800, kernel test robot wrote:
> 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.IlT3
> o2gb-lkp@xxxxxxxxx/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.IlT3
> o2gb-lkp@xxxxxxxxx/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@xxxxxxxxx>
> > Closes:
> > https://lore.kernel.org/oe-kbuild-all/20261127114353.IlT3o2gb-lkp@xxxxxxxxx/
>
> 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  }