Re: [PATCH] regmap: debugfs: Fix compiler warning

2013-02-04 Thread Mark Brown
On Sun, Feb 03, 2013 at 12:53:05AM +0200, Stratos Karafotis wrote: > This patch fixes the following compiler warning of uninitialized > variable: > > drivers/base/regmap/regmap-debugfs.c: In function ‘regmap_read_debugfs’: > drivers/base/regmap/regmap-debugfs.c:180:9: warning: ‘ret’ may be used >

[PATCH] regmap: debugfs: Fix compiler warning

2013-02-02 Thread Stratos Karafotis
This patch fixes the following compiler warning of uninitialized variable: drivers/base/regmap/regmap-debugfs.c: In function ‘regmap_read_debugfs’: drivers/base/regmap/regmap-debugfs.c:180:9: warning: ‘ret’ may be used uninitialized in this function [-Wmaybe-uninitialized] Signed-off-by: Stratos