From: Vinod Koul <vinod.koul@intel.com>
To: linux-kernel@vger.kernel.org
Cc: broonie@kernel.org, Vinod Koul <vinod.koul@intel.com>
Subject: [PATCH 2/2] regmap: fix return of uninitialized value
Date: Thu, 30 May 2013 21:54:02 +0530 [thread overview]
Message-ID: <1369931042-9755-2-git-send-email-vinod.koul@intel.com> (raw)
In-Reply-To: <1369931042-9755-1-git-send-email-vinod.koul@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
---
drivers/base/regmap/regmap-debugfs.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/base/regmap/regmap-debugfs.c b/drivers/base/regmap/regmap-debugfs.c
index 7989052..1db02cd 100644
--- a/drivers/base/regmap/regmap-debugfs.c
+++ b/drivers/base/regmap/regmap-debugfs.c
@@ -80,7 +80,7 @@ static unsigned int regmap_debugfs_get_dump_start(struct regmap *map,
{
struct regmap_debugfs_off_cache *c = NULL;
loff_t p = 0;
- unsigned int i, ret;
+ unsigned int i, ret = 0;
unsigned int fpos_offset;
unsigned int reg_offset;
--
1.7.0.4
next prev parent reply other threads:[~2013-05-30 17:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-30 16:24 [PATCH 1/2] regmap: give users _choice_ to allow write access to debugfs Vinod Koul
2013-05-30 16:24 ` Vinod Koul [this message]
2013-06-01 18:52 ` [PATCH 2/2] regmap: fix return of uninitialized value Mark Brown
2013-06-01 18:49 ` [PATCH 1/2] regmap: give users _choice_ to allow write access to debugfs Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1369931042-9755-2-git-send-email-vinod.koul@intel.com \
--to=vinod.koul@intel.com \
--cc=broonie@kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®