From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v9 3/4] f2fs: Use generic casefolding support
Date: Wed, 24 Jun 2020 17:55:21 +0800 [thread overview]
Message-ID: <202006241728.RacJ5fAz%lkp@intel.com> (raw)
In-Reply-To: <20200624043341.33364-4-drosen@google.com>
[-- Attachment #1: Type: text/plain, Size: 3350 bytes --]
Hi Daniel,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on linus/master]
[also build test ERROR on v5.8-rc2 next-20200624]
[cannot apply to ext4/dev f2fs/dev-test]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Daniel-Rosenberg/Prepare-for-upcoming-Casefolding-Encryption-patches/20200624-123657
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 3e08a95294a4fb3702bb3d35ed08028433c37fe6
config: x86_64-randconfig-a013-20200624 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 1d4c87335d5236ea1f35937e1014980ba961ae34)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
>> fs/f2fs/dir.c:220:43: error: passing 'const struct super_block *' to parameter of type 'struct super_block *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
const struct f2fs_sb_info *sbi = F2FS_SB(sb);
^~
fs/f2fs/f2fs.h:1734:64: note: passing argument to parameter 'sb' here
static inline struct f2fs_sb_info *F2FS_SB(struct super_block *sb)
^
fs/f2fs/dir.c:220:29: warning: unused variable 'sbi' [-Wunused-variable]
const struct f2fs_sb_info *sbi = F2FS_SB(sb);
^
1 warning and 1 error generated.
vim +220 fs/f2fs/dir.c
210
211 #ifdef CONFIG_UNICODE
212 /*
213 * Test whether a case-insensitive directory entry matches the filename
214 * being searched for.
215 */
216 static bool f2fs_match_ci_name(const struct inode *dir, const struct qstr *name,
217 const u8 *de_name, u32 de_name_len)
218 {
219 const struct super_block *sb = dir->i_sb;
> 220 const struct f2fs_sb_info *sbi = F2FS_SB(sb);
221 const struct unicode_map *um = sb->s_encoding;
222 struct qstr entry = QSTR_INIT(de_name, de_name_len);
223 int res;
224
225 res = utf8_strncasecmp_folded(um, name, &entry);
226 if (res < 0) {
227 /*
228 * In strict mode, ignore invalid names. In non-strict mode,
229 * fall back to treating them as opaque byte sequences.
230 */
231 if (sb_has_enc_strict_mode(sb) || name->len != entry.len)
232 return false;
233 return !memcmp(name->name, entry.name, name->len);
234 }
235 return res == 0;
236 }
237 #endif /* CONFIG_UNICODE */
238
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 34661 bytes --]
next prev parent reply other threads:[~2020-06-24 9:55 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-24 4:33 [PATCH v9 0/4] Prepare for upcoming Casefolding/Encryption patches Daniel Rosenberg
2020-06-24 4:33 ` Daniel Rosenberg
2020-06-24 4:33 ` [f2fs-dev] " Daniel Rosenberg via Linux-f2fs-devel
2020-06-24 4:33 ` [PATCH v9 1/4] unicode: Add utf8_casefold_hash Daniel Rosenberg
2020-06-24 4:33 ` Daniel Rosenberg
2020-06-24 4:33 ` [f2fs-dev] " Daniel Rosenberg via Linux-f2fs-devel
2020-06-24 5:13 ` Gabriel Krisman Bertazi
2020-06-24 5:13 ` Gabriel Krisman Bertazi
2020-06-24 5:13 ` [f2fs-dev] " Gabriel Krisman Bertazi
2020-06-24 5:37 ` Eric Biggers
2020-06-24 5:37 ` Eric Biggers
2020-06-24 5:37 ` [f2fs-dev] " Eric Biggers
2020-06-24 4:33 ` [PATCH v9 2/4] fs: Add standard casefolding support Daniel Rosenberg
2020-06-24 4:33 ` Daniel Rosenberg
2020-06-24 4:33 ` [f2fs-dev] " Daniel Rosenberg via Linux-f2fs-devel
2020-06-24 5:33 ` Gabriel Krisman Bertazi
2020-06-24 5:33 ` Gabriel Krisman Bertazi
2020-06-24 5:33 ` [f2fs-dev] " Gabriel Krisman Bertazi
2020-06-24 5:42 ` Eric Biggers
2020-06-24 5:42 ` Eric Biggers
2020-06-24 5:42 ` [f2fs-dev] " Eric Biggers
2020-06-24 5:57 ` Eric Biggers
2020-06-24 5:57 ` Eric Biggers
2020-06-24 5:57 ` [f2fs-dev] " Eric Biggers
2020-07-03 1:01 ` Daniel Rosenberg
2020-07-03 1:01 ` Daniel Rosenberg
2020-07-03 1:01 ` [f2fs-dev] " Daniel Rosenberg via Linux-f2fs-devel
2020-07-03 19:20 ` Eric Biggers
2020-07-03 19:20 ` Eric Biggers
2020-07-03 19:20 ` [f2fs-dev] " Eric Biggers
2020-06-24 4:33 ` [PATCH v9 3/4] f2fs: Use generic " Daniel Rosenberg
2020-06-24 4:33 ` Daniel Rosenberg
2020-06-24 4:33 ` [f2fs-dev] " Daniel Rosenberg via Linux-f2fs-devel
2020-06-24 6:34 ` kernel test robot
2020-06-24 9:55 ` kernel test robot [this message]
2020-06-24 10:01 ` kernel test robot
2020-06-24 4:33 ` [PATCH v9 4/4] ext4: " Daniel Rosenberg
2020-06-24 4:33 ` Daniel Rosenberg
2020-06-24 4:33 ` [f2fs-dev] " Daniel Rosenberg via Linux-f2fs-devel
2020-06-24 5:43 ` Gabriel Krisman Bertazi
2020-06-24 5:43 ` Gabriel Krisman Bertazi
2020-06-24 5:43 ` [f2fs-dev] " Gabriel Krisman Bertazi
2020-07-07 10:44 ` Daniel Rosenberg
2020-07-07 10:44 ` Daniel Rosenberg
2020-07-07 10:44 ` [f2fs-dev] " Daniel Rosenberg via Linux-f2fs-devel
2020-06-24 6:04 ` Eric Biggers
2020-06-24 6:04 ` Eric Biggers
2020-06-24 6:04 ` [f2fs-dev] " Eric Biggers
2020-06-24 5:34 ` [PATCH v9 0/4] Prepare for upcoming Casefolding/Encryption patches Eric Biggers
2020-06-24 5:34 ` Eric Biggers
2020-06-24 5:34 ` [f2fs-dev] " Eric Biggers
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=202006241728.RacJ5fAz%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.