Re: [PATCH v4 16/24] alpha/PCI: Remove WARN from __pci_mmap_fits()
| Newsgroups | org.kernel.vger.linux-pci |
|---|---|
| Message-ID | <[email protected]> |
> Remove the WARN() that fires when userspace attempts to mmap beyond
> the BAR bounds. The check still returns 0 to reject the mapping,
> but the warning is excessive for normal operation.
>
> A similar warning was removed from the PCI core in the commit
> 3b519e4ea618 ("PCI: fix size checks for mmap() on /proc/bus/pci files").
>
> Signed-off-by: Krzysztof Wilczyński <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=16