Linux MHI Development
 help / color / mirror / Atom feed
From: Dan Carpenter <dan.carpenter@oracle.com>
To: Alex Elder <elder@linaro.org>
Cc: Manivannan Sadhasivam <mani@kernel.org>,
	Hemant Kumar <hemantk@codeaurora.org>,
	mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org,
	kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] bus: mhi: ep: Fix signedness bug in mhi_ep_register_controller()
Date: Mon, 7 Mar 2022 17:53:06 +0300	[thread overview]
Message-ID: <20220307145306.GD3315@kadam> (raw)
In-Reply-To: <62773196-bf38-258c-8537-4baa84959a6c@linaro.org>

On Mon, Mar 07, 2022 at 08:50:32AM -0600, Alex Elder wrote:
> On 3/7/22 8:28 AM, Dan Carpenter wrote:
> > The "mhi_cntrl->index" variable is unsigned so the error handling will
> > not work.
> > 
> > Fixes: 10f0ab9c6787 ("bus: mhi: ep: Add support for registering MHI endpoint controllers")
> > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> 
> Good fix.  Is this code upstream somewhere?

It's in linux-next.

regards,
dan carpenter


  reply	other threads:[~2022-03-07 14:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-07 14:28 [PATCH] bus: mhi: ep: Fix signedness bug in mhi_ep_register_controller() Dan Carpenter
2022-03-07 14:50 ` Alex Elder
2022-03-07 14:53   ` Dan Carpenter [this message]
2022-03-07 15:09 ` Manivannan Sadhasivam

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=20220307145306.GD3315@kadam \
    --to=dan.carpenter@oracle.com \
    --cc=elder@linaro.org \
    --cc=hemantk@codeaurora.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=mani@kernel.org \
    --cc=mhi@lists.linux.dev \
    /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