Merge branch 'Minor-cleanup-in-devlink'
authorDavid S. Miller <davem@davemloft.net>
Sun, 1 Sep 2019 06:46:13 +0000 (23:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Sep 2019 06:46:13 +0000 (23:46 -0700)
Parav Pandit says:

====================
Minor cleanup in devlink

Two minor cleanup in devlink.

Patch-1 Explicitly defines devlink port index as unsigned int
Patch-2 Uses switch-case to handle different port flavours attributes
====================

Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge