On Wed, Sep 02, 2026 at 01:50:03PM +0300, Svyatoslav Nikolenko wrote:
The manual ifname allocation via dev_alloc_name() is redundant because
the networking core handles interface naming automatically during
register_netdev().
Remove the ifname module parameter, the corresponding field from
struct registry_priv, and the rtw_init_netdev_name() callpath.
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Svyatoslav Nikolenko <redacted>
---
Changes in v3:
- Added missing changelog.
Changes in v2:
- Removed rtw_init_netdev_name() and the entire manual naming callpath
instead of hardcoding "wlan%d", as suggested by Greg KH.
This does not apply against the latest staging-testing branch, can you
rebase and resend?
thanks,
greg k-h