tree:
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
fscache-iter
head: 59f33c90ef6c1a75d4af75e5f60d98c0d965b6a2
commit: 410180e063ecff3337fea5519bcf12410f13986e [33/61] cachefiles: Implement extent
shaper
config: i386-randconfig-r015-20200513 (attached as .config)
compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3
reproduce:
git checkout 410180e063ecff3337fea5519bcf12410f13986e
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
fs/cachefiles/content-map.c: In function 'cachefiles_expand_content_map':
> fs/cachefiles/content-map.c:260:2: warning: format '%lx'
expects argument of type 'long unsigned int', but argument 5 has type
'size_t' [-Wformat=]
_enter("%llx,%lx,%x", i_size, size,
object->content_map_size);
^
vim +260 fs/cachefiles/content-map.c
249
250 /*
251 * Expand the content map to a larger file size.
252 */
253 void cachefiles_expand_content_map(struct cachefiles_object *object, loff_t
i_size)
254 {
255 size_t size;
256 u8 *map, *zap;
257
258 size = cachefiles_map_size(i_size);
259
260 _enter("%llx,%lx,%x", i_size, size,
object->content_map_size);
261
262 if (size <= object->content_map_size)
263 return;
264
265 map = kzalloc(size, GFP_KERNEL);
266 if (!map)
267 return;
268
269 write_lock_bh(&object->content_map_lock);
270 if (size > object->content_map_size) {
271 zap = object->content_map;
272 memcpy(map, zap, object->content_map_size);
273 object->content_map = map;
274 object->content_map_size = size;
275 } else {
276 zap = map;
277 }
278 write_unlock_bh(&object->content_map_lock);
279
280 kfree(zap);
281 }
282
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org