]> git.baikalelectronics.ru Git - kernel.git/commit
net: atlantic: align return value of ver_match function with function name
authorMark Starovoytov <mstarovoitov@marvell.com>
Fri, 17 Jul 2020 18:01:46 +0000 (21:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jul 2020 02:00:54 +0000 (19:00 -0700)
commitd7d9b4de309af83bd6f0a7551ac8438a7316ac56
treef93f95a5afa361de50aaad18029f7b62e76cdd77
parentbb2b47711a29cfed835037a752721833dc1fd8a3
net: atlantic: align return value of ver_match function with function name

This patch aligns the return value of hw_atl_utils_ver_match function with
its name.
Change the return type to bool, because it's better aligned with the actual
usage. Return true when the version matches, false otherwise.

Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils.c