[PATCH] powerpc/powernv/sriov: fix unsigned int win compared to less than zero
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Nov 25 22:58:00 AEDT 2020
On Tue, 10 Nov 2020 19:19:30 +0800, xiakaixu1987 at gmail.com 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
More information about the Linuxppc-dev
mailing list