From: kernel test robot <lkp@intel.com>
To: Ethan Ferguson <ethan.ferguson@zetier.com>, hirofumi@mail.parknet.co.jp
Cc: oe-kbuild-all@lists.linux.dev, linux-fsdevel@vger.kernel.org,
linux-kernel@vger.kernel.org,
Ethan Ferguson <ethan.ferguson@zetier.com>
Subject: Re: [PATCH v2 2/2] fat: Add FS_IOC_SETFSLABEL ioctl
Date: Thu, 19 Feb 2026 00:26:10 +0800 [thread overview]
Message-ID: <202602190010.tPRKu8kq-lkp@intel.com> (raw)
In-Reply-To: <20260217230628.719475-3-ethan.ferguson@zetier.com>
Hi Ethan,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 9f2693489ef8558240d9e80bfad103650daed0af]
url: https://github.com/intel-lab-lkp/linux/commits/Ethan-Ferguson/fat-Add-FS_IOC_GETFSLABEL-ioctl/20260218-071019
base: 9f2693489ef8558240d9e80bfad103650daed0af
patch link: https://lore.kernel.org/r/20260217230628.719475-3-ethan.ferguson%40zetier.com
patch subject: [PATCH v2 2/2] fat: Add FS_IOC_SETFSLABEL ioctl
config: hexagon-randconfig-r121-20260218 (https://download.01.org/0day-ci/archive/20260219/202602190010.tPRKu8kq-lkp@intel.com/config)
compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project e86750b29fa0ff207cd43213d66dabe565417638)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260219/202602190010.tPRKu8kq-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/202602190010.tPRKu8kq-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> fs/fat/dir.c:1439:41: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [addressable] [assigned] [usertype] size @@ got unsigned char [addressable] [assigned] [usertype] lcase @@
fs/fat/dir.c:1439:41: sparse: expected restricted __le32 [addressable] [assigned] [usertype] size
fs/fat/dir.c:1439:41: sparse: got unsigned char [addressable] [assigned] [usertype] lcase
>> fs/fat/dir.c:1449:48: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le16 [addressable] [assigned] [usertype] ctime @@ got unsigned char [addressable] [assigned] [usertype] ctime_cs @@
fs/fat/dir.c:1449:48: sparse: expected restricted __le16 [addressable] [assigned] [usertype] ctime
fs/fat/dir.c:1449:48: sparse: got unsigned char [addressable] [assigned] [usertype] ctime_cs
vim +1439 fs/fat/dir.c
1426
1427 static int fat_create_volume_label_dentry(struct super_block *sb, char *vol_label)
1428 {
1429 struct msdos_sb_info *sbi = MSDOS_SB(sb);
1430 struct inode *root_inode = sb->s_root->d_inode;
1431 struct msdos_dir_entry de;
1432 struct fat_slot_info sinfo;
1433 struct timespec64 ts = current_time(root_inode);
1434 __le16 date, time;
1435 u8 time_cs;
1436
1437 memcpy(de.name, vol_label, MSDOS_NAME);
1438 de.attr = ATTR_VOLUME;
> 1439 de.starthi = de.start = de.size = de.lcase = 0;
1440
1441 fat_time_unix2fat(sbi, &ts, &time, &date, &time_cs);
1442 de.time = time;
1443 de.date = date;
1444 if (sbi->options.isvfat) {
1445 de.cdate = de.adate = date;
1446 de.ctime = time;
1447 de.ctime_cs = time_cs;
1448 } else
> 1449 de.cdate = de.adate = de.ctime = de.ctime_cs = 0;
1450
1451 return fat_add_entries(root_inode, &de, 1, &sinfo);
1452 }
1453
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-02-18 16:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-17 23:06 [PATCH v2 0/2] fat: Add FS_IOC_GETFSLABEL / FS_IOC_SETFSLABEL ioctls Ethan Ferguson
2026-02-17 23:06 ` [PATCH v2 1/2] fat: Add FS_IOC_GETFSLABEL ioctl Ethan Ferguson
2026-02-17 23:06 ` [PATCH v2 2/2] fat: Add FS_IOC_SETFSLABEL ioctl Ethan Ferguson
2026-02-18 6:50 ` kernel test robot
2026-02-18 7:21 ` kernel test robot
2026-02-18 7:22 ` OGAWA Hirofumi
2026-02-18 10:22 ` kernel test robot
2026-02-18 16:26 ` kernel test robot [this message]
2026-02-18 8:46 ` [syzbot ci] Re: fat: Add FS_IOC_GETFSLABEL / FS_IOC_SETFSLABEL ioctls syzbot ci
-- strict thread matches above, loose matches on Subject: below --
2026-02-18 16:01 [PATCH v2 2/2] fat: Add FS_IOC_SETFSLABEL ioctl Ethan Ferguson
2026-02-18 18:42 ` OGAWA Hirofumi
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=202602190010.tPRKu8kq-lkp@intel.com \
--to=lkp@intel.com \
--cc=ethan.ferguson@zetier.com \
--cc=hirofumi@mail.parknet.co.jp \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.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.