Re: [PATCH v3] staging: rtl8723bs: Remove manual ifname allocation

From: Greg KH

Date: Wed Sep 02 2026 - 07:53:07 EST


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@xxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Svyatoslav Nikolenko <nsvatoslav515@xxxxxxxxx>
> ---
> 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.

After this patch is applied, what is the network device name? Are you
able to test it?

thanks,

greg k-h