On Mon, 2019-06-10 at 16:12 +0300, Leon Romanovsky wrote: > On Mon, Jun 10, 2019 at 01:59:31PM +0300, Kamal Heib wrote: > > On Fri, 2019-06-07 at 15:09 +0300, Leon Romanovsky wrote: > > > On Thu, May 30, 2019 at 04:18:17PM +0300, Kamal Heib wrote: > > > > Self-test isn't supported by the ipoib driver, so remove the > > > > check > > > > for > > > > ETH_SS_TEST. > > > > > > > > Fixes: e3614bc9dc44 ("IB/ipoib: Add readout of statistics using > > > > ethtool") > > > > Signed-off-by: Kamal Heib <kamalheib1@xxxxxxxxx> > > > > --- > > > > drivers/infiniband/ulp/ipoib/ipoib_ethtool.c | 2 -- > > > > 1 file changed, 2 deletions(-) > > > > > > > > diff --git a/drivers/infiniband/ulp/ipoib/ipoib_ethtool.c > > > > b/drivers/infiniband/ulp/ipoib/ipoib_ethtool.c > > > > index 83429925dfc6..b0bd0ff0b45c 100644 > > > > --- a/drivers/infiniband/ulp/ipoib/ipoib_ethtool.c > > > > +++ b/drivers/infiniband/ulp/ipoib/ipoib_ethtool.c > > > > @@ -138,7 +138,6 @@ static void ipoib_get_strings(struct > > > > net_device > > > > __always_unused *dev, > > > > p += ETH_GSTRING_LEN; > > > > } > > > > break; > > > > - case ETH_SS_TEST: > > > > > > The commit message and code doesn't match each other. > > > Removing this specific case will leave exactly the same behaviour > > > as > > > before, so why should we change it? > > > > > > > The idea is very simple, no point of checking ETH_SS_TEST if the > > ipoib > > doesn't support it. > > Please write in commit message, that "default" option means > "unsupported" and > there is no need in explicit declaration of unsupported ETH_SS_TEST. > > Thanks With an appropriate fix to the commit message, applied to for-next, thanks. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: B826A3330E572FDD Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
Attachment:
signature.asc
Description: This is a digitally signed message part