[PATCH v4 4/7] PCI: keystone: Add supported for PVU-based DMA isolation on AM654
Jan Kiszka
jan.kiszka at siemens.com
Thu Sep 5 23:24:46 PDT 2024
On 05.09.24 21:07, Jan Kiszka wrote:
> On 05.09.24 18:33, Bjorn Helgaas wrote:
>>> + res = platform_get_resource_byname(pdev, IORESOURCE_MEM,
>>> + ks_vmap_res[n]);
>>
>> Seems like we should check "res" for error before using it?
>
> Oh, unfinished constructions.
In fact, devm_pci_remap_cfg_resource takes care of res == NULL.
Jan
--
Siemens AG, Technology
Linux Expert Center
More information about the linux-arm-kernel
mailing list