]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
net: mvpp2: cpu should always be unsigned
authorAntoine Tenart <antoine.tenart@bootlin.com>
Wed, 19 Sep 2018 09:27:05 +0000 (11:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2018 04:09:54 +0000 (21:09 -0700)
commit850623b3823aa63a6191dcb40cb9ffe6f4704b97
treea9cdd6c25ea7986d24032be3735ba5cb9290538c
parent70afb58e9856a70ff9e45760af2d0ebeb7c46ac2
net: mvpp2: cpu should always be unsigned

Updates the PPv2 driver so that all CPU variables are unsigned, as it
makes no sense to have a negative CPU number. This patch is cosmetic.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2.h
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c