Re: [net-next PATCH] net: convert users of bitmap_foo() to linkmode_foo()

From: Andrew Lunn
Date: Sun Oct 24 2021 - 14:51:06 EST


On Fri, Oct 22, 2021 at 06:41:04PM -0400, Sean Anderson wrote:
> This converts instances of
> bitmap_foo(args..., __ETHTOOL_LINK_MODE_MASK_NBITS)
> to
> linkmode_foo(args...)

It does touch a lot of files, but it does help keep the API uniform.

> I manually fixed up some lines to prevent them from being excessively
> long. Otherwise, this change was generated with the following semantic
> patch:

How many did you fix?

> Because this touches so many files in the net tree, you may want to
> generate a new diff using the semantic patch above when you apply this.

If it still applies cleanly, i would just apply it. Otherwise maybe
Jakub could recreate it?

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew