ntfs3.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: Yuan Can <yuancan@huawei.com>
To: kernel test robot <lkp@intel.com>,
	<almaz.alexandrovich@paragon-software.com>,
	<ntfs3@lists.linux.dev>
Cc: <llvm@lists.linux.dev>, <kbuild-all@lists.01.org>
Subject: Re: [PATCH] fs/ntfs3: use strcmp to determin attribute type
Date: Sat, 24 Sep 2022 14:34:03 +0800	[thread overview]
Message-ID: <6adf3447-8c28-85a3-7211-32e7672fa41f@huawei.com> (raw)
In-Reply-To: <202209132249.HHQnBWE6-lkp@intel.com>


在 2022/9/13 22:29, kernel test robot 写道:
> Hi Yuan,
>
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on linus/master]
> [also build test ERROR on v6.0-rc5 next-20220913]
> [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/Yuan-Can/fs-ntfs3-use-strcmp-to-determin-attribute-type/20220913-145102
> base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git e839a756012b6cad7a4eeb67b0598ac3f349f863
> config: hexagon-randconfig-r041-20220912 (https://download.01.org/0day-ci/archive/20220913/202209132249.HHQnBWE6-lkp@intel.com/config)
> compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 1546df49f5a6d09df78f569e4137ddb365a3e827)
> reproduce (this is a W=1 build):
>          wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>          chmod +x ~/bin/make.cross
>          # https://github.com/intel-lab-lkp/linux/commit/a3c3b0ca90ba6141ef6b740a3c1189277e49b0ae
>          git remote add linux-review https://github.com/intel-lab-lkp/linux
>          git fetch --no-tags linux-review Yuan-Can/fs-ntfs3-use-strcmp-to-determin-attribute-type/20220913-145102
>          git checkout a3c3b0ca90ba6141ef6b740a3c1189277e49b0ae
>          # save the config file
>          mkdir build_dir && cp config build_dir/.config
>          COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash drivers/ufs/core/ fs/f2fs/ fs/ntfs3/
>
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
>>> fs/ntfs3/xattr.c:869:33: error: use of undeclared identifier 'name_len'; did you mean 'range_len'?
>             err = ntfs_get_ea(inode, name, name_len, buffer, size, NULL);
>                                            ^~~~~~~~
>                                            range_len
>     include/linux/range.h:11:19: note: 'range_len' declared here
>     static inline u64 range_len(const struct range *range)
>                       ^
>     fs/ntfs3/xattr.c:993:33: error: use of undeclared identifier 'name_len'; did you mean 'range_len'?
>             err = ntfs_set_ea(inode, name, name_len, value, size, flags, 0);
>                                            ^~~~~~~~
>                                            range_len
>     include/linux/range.h:11:19: note: 'range_len' declared here
>     static inline u64 range_len(const struct range *range)
>                       ^
>     2 errors generated.

Thanks for the report, the error related problems are fix in the v2 patch.

Best regards,
Yuan Can


      reply	other threads:[~2022-09-24  6:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-13  6:47 [PATCH] fs/ntfs3: use strcmp to determin attribute type Yuan Can
2022-09-13 14:29 ` kernel test robot
2022-09-24  6:34   ` Yuan Can [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=6adf3447-8c28-85a3-7211-32e7672fa41f@huawei.com \
    --to=yuancan@huawei.com \
    --cc=almaz.alexandrovich@paragon-software.com \
    --cc=kbuild-all@lists.01.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=ntfs3@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).