Re: [PATCH 1/5] PCI: Reject negative resource alignment order

From: shao.mingyin

Date: Fri Nov 06 2026 - 12:13:42 EST


On Fri, 6 Nov 2026, Ilpo Järvinen wrote:
> Wouldn't it be better to use %u ?

Yes, that's cleaner. With %u the "-5" is converted to 4294967291 and
the existing > 63 check rejects it, so the explicit < 0 test is not
needed. The error message will print 4294967291 instead of -5; I'll
update it to %u as well. I'll fold this into v2.