Hi Dave,

[auto build test results on v4.3-rc3 -- if it's inappropriate base, please 
ignore]

config: xtensa-allyesconfig (attached as .config)
reproduce:
  wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
  chmod +x ~/bin/make.cross
  git checkout 285753fa883fcbeac6b393da338b6e976af57912
  # save the attached .config to linux build tree
  make.cross ARCH=xtensa 

All warnings (new ones prefixed by >>):

   fs/xfs/xfs_iomap.c: In function 'xfs_iomap_write_direct':
>> fs/xfs/xfs_iomap.c:247:5: warning: format '%ld' expects argument of type 
>> 'long int', but argument 5 has type 'size_t' [-Wformat=]
        imap->br_blockcount);
        ^
>> fs/xfs/xfs_iomap.c:247:5: warning: format '%ld' expects argument of type 
>> 'long int', but argument 6 has type 'sector_t' [-Wformat=]

vim +247 fs/xfs/xfs_iomap.c

   231          /* DAX needs to zero the entire allocated extent here */
   232          if (IS_DAX(VFS_I(ip)) && nimaps) {
   233                  sector_t sector = xfs_imap_to_sector(VFS_I(ip), imap, 
offset);
   234  
   235                  ASSERT(!ISUNWRITTEN(imap));
   236                  ASSERT(nimaps == 1);
   237                  error = dax_clear_blocks(VFS_I(ip),
   238                                  sector >> (VFS_I(ip)->i_blkbits - 
BBSHIFT),
   239                                  XFS_FSB_TO_B(mp, imap->br_blockcount));
   240                  if (error) {
   241                          xfs_warn(mp,
   242   "err %d, off/cnt %lld/%ld, sector %ld, bytes %lld, im.stblk %lld, 
im.stoff %lld, im.blkcnt %lld",
   243                                  error, offset, count, 
   244                                  xfs_imap_to_sector(VFS_I(ip), imap, 
offset),
   245                                  XFS_FSB_TO_B(mp, imap->br_blockcount),
   246                                  imap->br_startblock, imap->br_startoff,
 > 247                                  imap->br_blockcount);
   248                          goto out_trans_cancel;
   249                  }
   250          }
   251  
   252          error = xfs_trans_commit(tp);
   253          if (error)
   254                  goto out_unlock;
   255  

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data

Reply via email to