[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190203.112035.1347308789209097497.davem@davemloft.net>
Date: Sun, 03 Feb 2019 11:20:35 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: xiangxia.m.yue@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] bonding: check slave set command firstly
From: xiangxia.m.yue@...il.com
Date: Fri, 1 Feb 2019 06:07:15 -0800
> From: Tonghao Zhang <xiangxia.m.yue@...il.com>
>
> This patch is a little improvement. If user use the
> command shown as below, we should print the info [1]
> instead of [2]. The eth0 exists actually, and it may
> confuse user.
>
> $ echo "eth0" > /sys/class/net/bond4/bonding/slaves
>
> [1] "bond4: no command found in slaves file - use +ifname or -ifname"
> [2] "write error: No such device"
>
> Signed-off-by: Tonghao Zhang <xiangxia.m.yue@...il.com>
Please fix the compiler warning reported to you.
Powered by blists - more mailing lists