Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Chen-Yu Tsai <wens@kernel.org>
To: Jernej Skrabec <jernej.skrabec@gmail.com>,
	 Samuel Holland <samuel@sholland.org>,
	linux-arm-kernel@lists.infradead.org,
	 linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org,
	 Chen-Yu Tsai <wens@kernel.org>,
	 Andrey Skvortsov <andrej.skvortzov@gmail.com>
Subject: Re: [PATCH] bus: sunxi-rsb: Always check register address validity
Date: Fri, 15 May 2026 10:45:13 +0800	[thread overview]
Message-ID: <177881311362.121816.11798899480694318999.b4-ty@kernel.org> (raw)
In-Reply-To: <20260301144939.1832806-1-andrej.skvortzov@gmail.com>

On Sun, 01 Mar 2026 17:49:39 +0300, Andrey Skvortsov wrote:
> The register address was already validated for read operations in
> regmap_sunxi_rsb_reg_read before being truncated to a u8. Write operations
> have the same set of possible addresses, and the address is being truncated
> from u32 to u8 here as well, so the same check is needed.
> 
> 

Applied to sunxi/fixes-for-7.1 in local tree, thanks!

[1/1] bus: sunxi-rsb: Always check register address validity
      commit: 322f01103323199cdd9eff8cb6aacbf1248ce36e

Best regards,
-- 
Chen-Yu Tsai <wens@kernel.org>



      parent reply	other threads:[~2026-05-15  2:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-01 14:49 [PATCH] bus: sunxi-rsb: Always check register address validity Andrey Skvortsov
2026-03-02 18:43 ` Jernej Škrabec
2026-03-14  7:33 ` Chen-Yu Tsai
2026-05-14 21:17   ` Andrey Skvortsov
2026-05-15  2:44     ` Chen-Yu Tsai
2026-05-15  2:45 ` Chen-Yu Tsai [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=177881311362.121816.11798899480694318999.b4-ty@kernel.org \
    --to=wens@kernel.org \
    --cc=andrej.skvortzov@gmail.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=samuel@sholland.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