Re: [PATCH 1/2] dev/dax: fix uninitialized variable build warning

2017-10-18 Thread Dan Williams
On Wed, Oct 18, 2017 at 8:40 AM, Ross Zwisler wrote: > Fix this build warning: > > warning: 'phys' may be used uninitialized in this function > [-Wuninitialized] > > As reported here: > > https://lkml.org/lkml/2017/10/16/152 > > This should have no functional change because you can only get into t

[PATCH 1/2] dev/dax: fix uninitialized variable build warning

2017-10-18 Thread Ross Zwisler
Fix this build warning: warning: 'phys' may be used uninitialized in this function [-Wuninitialized] As reported here: https://lkml.org/lkml/2017/10/16/152 This should have no functional change because you can only get into the if statement in dax_pgoff_to_phys() that is complaining about 'phys