Re: [PATCH v3 3/3] staging: rtl8192u: fix rmmod warn when device is renamed

Greg Kroah-Hartman
2022-07-29T07:27:14Z

On Thu, Jul 28, 2022 at 08:52:20PM -0700, Tong Zhang wrote:
> @@ -164,11 +164,19 @@ void rtl8192_debugfs_init_one(struct net_device *dev)
>
> void rtl8192_debugfs_exit_one(struct net_device *dev)
> {
> - struct r8192_priv *priv = (struct r8192_priv *)ieee80211_priv(dev);
> + struct r8192_priv *priv = ieee80211_priv(dev);

This change is not relevant for this patch :(