On Sun, Nov 09, 2014 at 03:54:56AM +0000, Duncan wrote: > A bit more context: > > cmds-restore.c: In function 'next_leaf': > cmds-restore.c:182:20: warning: array subscript is above array bounds > [-Warray-bounds] > slot = path->slots[level] + 1; > ^
Thanks. We've seen that before and were not able to find why the compiler thinks it could overflow, see the dicussion here: http://www.mail-archive.com/linux-btrfs%40vger.kernel.org/msg34338.html I'll probably merge Christian's patch so the warning goes away. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html