From: zhong jiang <zhongjiang@huawei.com> To: Andy Gross <andy.gross@linaro.org> Cc: david.brown@linaro.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC: qcom: Fix a uninitialized warning. Date: Wed, 19 Sep 2018 09:52:59 +0800 [thread overview] Message-ID: <5BA1ABFB.2080401@huawei.com> (raw) In-Reply-To: <20180918171707.GA6240@hector.localdomain> On 2018/9/19 1:17, Andy Gross wrote: > On Tue, Sep 18, 2018 at 01:06:48PM +0800, zhong jiang wrote: >> Fix the following compile warning: >> >> drivers/soc/qcom/cmd-db.c:194:38: warning: 'ent.addr' may be used uninitialized in this function [-Wmaybe-uninitialized] >> return ret < 0 ? 0 : le32_to_cpu(ent.addr); >> >> drivers/soc/qcom/cmd-db.c:247:38: warning: 'ent.len' may be used uninitialized in this function [-Wmaybe-uninitialized] >> return ret < 0 ? 0 : le16_to_cpu(ent.len); >> >> drivers/soc/qcom/cmd-db.c:269:24: warning: 'ent.addr' may be used uninitialized in this function [-Wmaybe-uninitialized] >> addr = le32_to_cpu(ent.addr); >> >> Signed-off-by: zhong jiang <zhongjiang@huawei.com> >> --- >> drivers/soc/qcom/cmd-db.c | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) > This is kind of an odd subject for the patch. It should be something like > drivers: qcom: cmd-db: XXXXXXXXXXXXX > > ASOC is sound related. Thank you for your reply and review. I will update the subject and repost. Sincerely, zhong jiang > > Regards, > > Andy > >
WARNING: multiple messages have this Message-ID (diff)
From: zhong jiang <zhongjiang@huawei.com> To: Andy Gross <andy.gross@linaro.org> Cc: <david.brown@linaro.org>, <linux-arm-msm@vger.kernel.org>, <linux-soc@vger.kernel.org>, <linux-kernel@vger.kernel.org> Subject: Re: [PATCH] ASoC: qcom: Fix a uninitialized warning. Date: Wed, 19 Sep 2018 09:52:59 +0800 [thread overview] Message-ID: <5BA1ABFB.2080401@huawei.com> (raw) In-Reply-To: <20180918171707.GA6240@hector.localdomain> On 2018/9/19 1:17, Andy Gross wrote: > On Tue, Sep 18, 2018 at 01:06:48PM +0800, zhong jiang wrote: >> Fix the following compile warning: >> >> drivers/soc/qcom/cmd-db.c:194:38: warning: 'ent.addr' may be used uninitialized in this function [-Wmaybe-uninitialized] >> return ret < 0 ? 0 : le32_to_cpu(ent.addr); >> >> drivers/soc/qcom/cmd-db.c:247:38: warning: 'ent.len' may be used uninitialized in this function [-Wmaybe-uninitialized] >> return ret < 0 ? 0 : le16_to_cpu(ent.len); >> >> drivers/soc/qcom/cmd-db.c:269:24: warning: 'ent.addr' may be used uninitialized in this function [-Wmaybe-uninitialized] >> addr = le32_to_cpu(ent.addr); >> >> Signed-off-by: zhong jiang <zhongjiang@huawei.com> >> --- >> drivers/soc/qcom/cmd-db.c | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) > This is kind of an odd subject for the patch. It should be something like > drivers: qcom: cmd-db: XXXXXXXXXXXXX > > ASOC is sound related. Thank you for your reply and review. I will update the subject and repost. Sincerely, zhong jiang > > Regards, > > Andy > >
next prev parent reply other threads:[~2018-09-19 1:52 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-09-18 5:06 [PATCH] ASoC: qcom: Fix a uninitialized warning zhong jiang 2018-09-18 5:06 ` zhong jiang 2018-09-18 17:17 ` Andy Gross 2018-09-19 1:52 ` zhong jiang [this message] 2018-09-19 1:52 ` zhong jiang
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=5BA1ABFB.2080401@huawei.com \ --to=zhongjiang@huawei.com \ --cc=andy.gross@linaro.org \ --cc=david.brown@linaro.org \ --cc=linux-arm-msm@vger.kernel.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-soc@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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.