DMA Engine development
 help / color / mirror / Atom feed
From: Vinod Koul <vkoul@kernel.org>
To: Advait Dhamorikar <advaitdhamorikar@gmail.com>
Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org,
	 skhan@linuxfoundation.org, anupnewsmail@gmail.com
Subject: Re: [PATCH] drivers/dma: Fix unsigned compared against 0
Date: Tue, 15 Oct 2024 00:02:51 +0530	[thread overview]
Message-ID: <172893077151.76035.9568068604504983423.b4-ty@kernel.org> (raw)
In-Reply-To: <20241005093436.27728-1-advaitdhamorikar@gmail.com>


On Sat, 05 Oct 2024 15:04:36 +0530, Advait Dhamorikar wrote:
> An unsigned value can never be negative,
> so this test will always evaluate the same way.
> In ep93xx_dma_alloc_chan_resources: An unsigned dma_cfg.port's
> value is checked against EP93XX_DMA_I2S1 which is 0.
> 
> 

Applied, thanks!

[1/1] drivers/dma: Fix unsigned compared against 0
      commit: 0aa4523cdb9683e35af91ebdfae8d2fb4e6c3b8b

Best regards,
-- 
~Vinod



      parent reply	other threads:[~2024-10-14 18:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-05  9:34 [PATCH] drivers/dma: Fix unsigned compared against 0 Advait Dhamorikar
2024-10-14 18:16 ` Vinod Koul
2024-10-14 18:32 ` Vinod Koul [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=172893077151.76035.9568068604504983423.b4-ty@kernel.org \
    --to=vkoul@kernel.org \
    --cc=advaitdhamorikar@gmail.com \
    --cc=anupnewsmail@gmail.com \
    --cc=dmaengine@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=skhan@linuxfoundation.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