Re: [PATCH] misc: pci_endpoint_test: Use -EINVAL for small subrange size
From: Manivannan Sadhasivam
Date: Fri Apr 03 2026 - 12:35:28 EST
On Fri, 20 Mar 2026 23:01:39 +0900, Koichiro Den wrote:
> The sub_size check ensures that each subrange is large enough for 32-bit
> accesses. Subranges smaller than sizeof(u32) do not satisfy this
> assumption, so this is a local sanity check rather than a resource
> exhaustion case.
>
> Return -EINVAL instead of -ENOSPC for this case.
>
> [...]
Applied, thanks!
[1/1] misc: pci_endpoint_test: Use -EINVAL for small subrange size
commit: 9c55d0eb4e9d1bf229d691363fb0641a9b05d904
Best regards,
--
Manivannan Sadhasivam <mani@xxxxxxxxxx>