DMA Engine development
 help / color / mirror / Atom feed
From: Sergey Matsievskiy <matsievskiysv@gmail.com>
To: sashiko-reviews@lists.linux.dev
Cc: dmaengine@vger.kernel.org, vkoul@kernel.org, Frank.Li@kernel.org
Subject: Re: [PATCH] dmaengine: axi-dmac: fix incorrect segment size calculation
Date: Thu, 5 Nov 2026 16:55:23 +0300	[thread overview]
Message-ID: <auyKylfYyK9-pHKJ@killingmachine> (raw)
In-Reply-To: <sashiko-outbox-199139@kernel.org>

On Thu, Nov 05, 2026 at 01:26:06PM +0000, sashiko-bot@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [High] dmaengine: axi-dmac: 32-bit overflow in axi_dmac_prep_slave_sg()

I don't think that this warning is applicable. Both arguments are 32 bit
integers and the result of the division should also fit into 32
bits. Intermediate promotion to 64 bit integers should not have negative side
effects.

  reply	other threads:[~2026-11-05 13:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-05 13:15 [PATCH] dmaengine: axi-dmac: fix incorrect segment size calculation Sergey Matsievskiy
2026-11-05 13:26 ` sashiko-bot
2026-11-05 13:55   ` Sergey Matsievskiy [this message]
2026-11-05 17:16 ` Frank Li

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=auyKylfYyK9-pHKJ@killingmachine \
    --to=matsievskiysv@gmail.com \
    --cc=Frank.Li@kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=vkoul@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