Hi Filipe,
FYI, there are new smatch warnings show up in
tree: git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git
master
head: a88878a9b7beddee8fdd884f7ce28a80d0810ed6
commit: 66cf607f5884714e582ef7352fcf8d3c1c0ae21e [138/145] Btrfs: fix infinite
path build loops in incremental send
New smatch warnings:
fs/btrfs/send.c:5448 btrfs_ioctl_send() warn: variable dereferenced before
check 'sctx' (see line 5450)
Old smatch warnings:
fs/btrfs/send.c:5257 btrfs_ioctl_send() warn: math in access_ok() is dangerous
' * arg->clone_sources_count'
git remote add josef-btrfs
git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git
git remote update josef-btrfs
git checkout 66cf607f5884714e582ef7352fcf8d3c1c0ae21e
vim +/sctx +5448 fs/btrfs/send.c
66cf607f Filipe David Borba Manana 2014-01-22 5442
cea1bbc0 Wang Shilong 2014-01-07 5443 if (sort_clone_roots) {
cea1bbc0 Wang Shilong 2014-01-07 5444 for (i = 0; i <
sctx->clone_roots_cnt; i++)
cea1bbc0 Wang Shilong 2014-01-07 5445
btrfs_root_dec_send_in_progress(
cea1bbc0 Wang Shilong 2014-01-07 5446
sctx->clone_roots[i].root);
cea1bbc0 Wang Shilong 2014-01-07 5447 } else {
cea1bbc0 Wang Shilong 2014-01-07 @5448 for (i = 0;
sctx && i < clone_sources_to_rollback; i++)
cea1bbc0 Wang Shilong 2014-01-07 5449
btrfs_root_dec_send_in_progress(
cea1bbc0 Wang Shilong 2014-01-07 @5450
sctx->clone_roots[i].root);
cea1bbc0 Wang Shilong 2014-01-07 5451
cea1bbc0 Wang Shilong 2014-01-07 5452
btrfs_root_dec_send_in_progress(send_root);
cea1bbc0 Wang Shilong 2014-01-07 5453 }
---
0-DAY kernel build testing backend Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
_______________________________________________
kbuild mailing list
[email protected]
https://lists.01.org/mailman/listinfo/kbuild