mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bjorn Andersson <andersson@kernel.org>
To: quic_schowdhu@quicinc.com, yang.lee@linux.alibaba.com
Cc: konrad.dybcio@linaro.org, abaci@linux.alibaba.com,
	agross@kernel.org, linux-arm-msm@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] soc: qcom: dcc: Fix unsigned comparison with less than zero
Date: Fri,  6 Jan 2023 14:24:19 -0600	[thread overview]
Message-ID: <167303665354.1802272.14384992770455268720.b4-ty@kernel.org> (raw)
In-Reply-To: <20230106011710.2827-1-yang.lee@linux.alibaba.com>

On Fri, 6 Jan 2023 09:17:10 +0800, Yang Li wrote:
> The return value from the call to kstrtouint_from_user() is int.
> However, the return value is being assigned to
> an unsigned int variable 'ret', so making 'ret' an int.
> 
> Eliminate the following warning:
> ./drivers/soc/qcom/dcc.c:815:5-8: WARNING: Unsigned expression compared with zero: ret < 0
> 
> [...]

Applied, thanks!

[1/1] soc: qcom: dcc: Fix unsigned comparison with less than zero
      commit: d4b2c7484a8edd79c90b9f8acc8a03e5e3235b89

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

      reply	other threads:[~2023-01-06 20:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-06  1:17 Yang Li
2023-01-06 20:24 ` Bjorn Andersson [this message]

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=167303665354.1802272.14384992770455268720.b4-ty@kernel.org \
    --to=andersson@kernel.org \
    --cc=abaci@linux.alibaba.com \
    --cc=agross@kernel.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=quic_schowdhu@quicinc.com \
    --cc=yang.lee@linux.alibaba.com \
    /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®