* [linux-next:master 15652/16110] fs/bcachefs/sb-members.c:422:30: sparse: sparse: incorrect type in assignment (different base types)
@ 2023-11-03 5:46 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-03 5:46 UTC (permalink / raw)
To: Kent Overstreet; +Cc: oe-kbuild-all, Linux Memory Management List
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: e27090b1413ff236ca1aec26d6b022149115de2c
commit: 3075aca3c30cf4554dfa67c02113aaf8220348e5 [15652/16110] bcachefs: Add IO error counts to bch_member
config: i386-randconfig-061-20231102 (https://download.01.org/0day-ci/archive/20231103/202311031313.UUxwfuQJ-lkp@intel.com/config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231103/202311031313.UUxwfuQJ-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/202311031313.UUxwfuQJ-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
fs/bcachefs/sb-members.c: note: in included file:
fs/bcachefs/bcachefs.h:958:9: sparse: sparse: array of flexible structures
>> fs/bcachefs/sb-members.c:422:30: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le64 [usertype] errors_reset_time @@ got signed long long @@
fs/bcachefs/sb-members.c:422:30: sparse: expected restricted __le64 [usertype] errors_reset_time
fs/bcachefs/sb-members.c:422:30: sparse: got signed long long
vim +422 fs/bcachefs/sb-members.c
412
413 void bch2_dev_errors_reset(struct bch_dev *ca)
414 {
415 struct bch_fs *c = ca->fs;
416 struct bch_member *m;
417
418 mutex_lock(&c->sb_lock);
419 m = bch2_members_v2_get_mut(c->disk_sb.sb, ca->dev_idx);
420 for (unsigned i = 0; i < ARRAY_SIZE(m->errors_at_reset); i++)
421 m->errors_at_reset[i] = cpu_to_le64(atomic64_read(&ca->errors[i]));
> 422 m->errors_reset_time = ktime_get_real_seconds();
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-03 5:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-03 5:46 [linux-next:master 15652/16110] fs/bcachefs/sb-members.c:422:30: sparse: sparse: incorrect type in assignment (different base types) kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox