mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org,
	 Johannes Schneider <johannes.schneider@leica-geosystems.com>
Subject: Re: [PATCH 212/212] dma: make dma_mapping_error NULL-device safe
Date: Thu, 02 Jul 2026 09:07:36 +0200	[thread overview]
Message-ID: <178297605600.2026638.4084219943269273902.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20260619160918.88315-1-johannes.schneider@leica-geosystems.com>


On Fri, 19 Jun 2026 16:09:18 +0000, Johannes Schneider wrote:
> PBL callers often pass NULL as dev; NULL deref of dev->dma_mask
> reads i.MX8M boot ROM and returns junk byte causing false 'mapping
> error'. Treat NULL dev as 'no constraint'.
> 
> 

Applied, thanks!

[212/212] dma: make dma_mapping_error NULL-device safe
          https://git.pengutronix.de/cgit/barebox/commit/?id=d058dbc760ff (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




      reply	other threads:[~2026-07-02  7:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-19 16:09 Johannes Schneider
2026-07-02  7:07 ` Sascha Hauer [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=178297605600.2026638.4084219943269273902.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=johannes.schneider@leica-geosystems.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