[PATCH net-next 2/3] net: dsa: mv88e6xxx: return error instead of lane in .serdes_get_lane

2020-08-19 Thread Marek BehĂșn
Currently the .serdes_get_lane method gets the lane as the result of the method, returning 0 if no SERDES is on given port. This was okay till now, because on no mv88e6xxx switch were it possible to have SERDES on port/lane 0. But it becomes incompatible with 88E6393X, on which the SERDES ports ar

Re: [PATCH net-next 2/3] net: dsa: mv88e6xxx: return error instead of lane in .serdes_get_lane

2020-08-19 Thread kernel test robot
Hi "Marek, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Marek-Beh-n/net-dsa-mv88e6xxx-Add-Amethyst-88E6393X/20200819-234008 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-n

Re: [PATCH net-next 2/3] net: dsa: mv88e6xxx: return error instead of lane in .serdes_get_lane

2020-08-31 Thread Dan Carpenter
Hi "Marek, url: https://github.com/0day-ci/linux/commits/Marek-Beh-n/net-dsa-mv88e6xxx-Add-Amethyst-88E6393X/20200819-234008 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git e3ec1e8ca02b7e6c935bba3f9b6da86c2e57d2eb config: openrisc-randconfig-m031-20200827 (attached