Re: [PATCH v3 1/2] dma-direct: provide the ability to reserve per-numa CMA

From: Christoph Hellwig
Date: Thu Jul 23 2020 - 08:00:59 EST


On Wed, Jul 22, 2020 at 09:41:50PM +0000, Song Bao Hua (Barry Song) wrote:
> I got a kernel robot warning which said dev should be checked before being accessed
> when I did a similar change in v1. Probably it was an invalid warning if dev should
> never be null.

That usually shows up if a function is inconsistent about sometimes
checking it and sometimes now.

> Yes, it looks much better.

Below is a prep patch to rebase on top of:

---