Re: [PATCH 07/28] ceph: avoid false positive maybe-uninitialized warning

2016-10-17 Thread Yan, Zheng
> On 18 Oct 2016, at 06:08, Arnd Bergmann wrote: > > A recent rework removed the initialization of the local 'root' > variable that is returned from ceph_real_mount: > > fs/ceph/super.c: In function 'ceph_mount': > fs/ceph/super.c:1016:38: error: 'root' may be used uninitialized in this > func

[PATCH 07/28] ceph: avoid false positive maybe-uninitialized warning

2016-10-17 Thread Arnd Bergmann
A recent rework removed the initialization of the local 'root' variable that is returned from ceph_real_mount: fs/ceph/super.c: In function 'ceph_mount': fs/ceph/super.c:1016:38: error: 'root' may be used uninitialized in this function [-Werror=maybe-uninitialized] It's not obvious to me what th