Re: [PATCH net-next] net-next/hinic: fix comparison of a uint16_t type with -1

2017-08-28 Thread David Miller
From: Aviad Krawczyk Date: Mon, 28 Aug 2017 01:35:30 +0800 > Remove the search for index of constant buffer size > > Signed-off-by: Aviad Krawczyk > Signed-off-by: Zhao Chen Applied.

[PATCH net-next] net-next/hinic: fix comparison of a uint16_t type with -1

2017-08-27 Thread Aviad Krawczyk
Remove the search for index of constant buffer size Signed-off-by: Aviad Krawczyk Signed-off-by: Zhao Chen --- drivers/net/ethernet/huawei/hinic/hinic_hw_dev.c | 37 +--- drivers/net/ethernet/huawei/hinic/hinic_hw_qp.h | 21