Re: [ethtool 1/6] ethtool: move option parsing related code into function

2019-01-30 Thread Jeff Kirsher
On Wed, 2019-01-30 at 16:08 -0500, John W. Linville wrote: > On Thu, Jan 17, 2019 at 03:03:08PM -0800, Nicholas Nunley wrote: > > Move option parsing code into find_option function. > > > > No behavior changes. > > > > Based on patch by Kan Liang > > > > Signed-off-by: Nicholas Nunley > > Wel

Re: [ethtool 1/6] ethtool: move option parsing related code into function

2019-01-30 Thread John W. Linville
On Thu, Jan 17, 2019 at 03:03:08PM -0800, Nicholas Nunley wrote: > Move option parsing code into find_option function. > > No behavior changes. > > Based on patch by Kan Liang > > Signed-off-by: Nicholas Nunley Well, after looking at this series for a while I had decided to apply it. But whe

[ethtool 1/6] ethtool: move option parsing related code into function

2019-01-17 Thread Nicholas Nunley
Move option parsing code into find_option function. No behavior changes. Based on patch by Kan Liang Signed-off-by: Nicholas Nunley --- ethtool.c | 49 +++-- 1 file changed, 31 insertions(+), 18 deletions(-) diff --git a/ethtool.c b/ethtool.c index