Re: [PATCH] powerpc/powernv/sriov: fix unsigned int win compared to less than zero

From: Michael Ellerman
Date: Wed Nov 25 2020 - 06:58:13 EST


On Tue, 10 Nov 2020 19:19:30 +0800, xiakaixu1987@xxxxxxxxx wrote:
> Fix coccicheck warning:
>
> ./arch/powerpc/platforms/powernv/pci-sriov.c:443:7-10: WARNING: Unsigned expression compared with zero: win < 0
> ./arch/powerpc/platforms/powernv/pci-sriov.c:462:7-10: WARNING: Unsigned expression compared with zero: win < 0

Applied to powerpc/next.

[1/1] powerpc/powernv/sriov: fix unsigned int win compared to less than zero
https://git.kernel.org/powerpc/c/027717a45ca251a7ba67a63db359994836962cd2

cheers