I actually have fixups for these two done locally as well, I just
wasn't able to push them yet due to some other issues. Sorry about the
delay on getting them out.

That being said, I took yours instead since you put the effort into
fixing the issues.

Cheers,

Bruce

On Wed, Jul 8, 2020 at 9:02 PM Daniel Dragomir
<[email protected]> wrote:
>
> Starting with commit 29d1d0c72464 ("net: core: device_rename:
> Use rwsem instead of a seqcount") devnet_rename_seq was
> replaced with devnet_rename_sem.
>
> This piece of code was left by mistake after a -rt merge and
> causes the following error:
>
> net/core/dev.c:1263:28: error: 'devnet_rename_seq' undeclared
> (first use in this function); did you mean 'devnet_rename_sem'?
> |  1263 |  __raw_write_seqcount_end(&devnet_rename_seq);
> |       |                            ^~~~~~~~~~~~~~~~~
>
> Signed-off-by: Daniel Dragomir <[email protected]>
> ---
>  net/core/dev.c | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/net/core/dev.c b/net/core/dev.c
> index 2c901b4f6687..0a494ebdf374 100644
> --- a/net/core/dev.c
> +++ b/net/core/dev.c
> @@ -1258,11 +1258,6 @@ int dev_change_name(struct net_device *dev, const char 
> *newname)
>         }
>
>         return err;
> -
> -outunlock:
> -       __raw_write_seqcount_end(&devnet_rename_seq);
> -       mutex_unlock(&devnet_rename_mutex);
> -       return err;
>  }
>
>  /**
> --
> 2.17.1
>
> 



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#8808): 
https://lists.yoctoproject.org/g/linux-yocto/message/8808
Mute This Topic: https://lists.yoctoproject.org/mt/75389498/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to