Re: [PATCH net 2/4] net/8390: Fix msg_enable patch snafu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 19 Feb 2018, David Miller wrote:

On Mon, 19 Feb 2018, David Miller wrote:

The lib8390 module parameter 'msg_enable' doesn't do anything 
useful: it causes an ancient version string to be logged.

Since you are removing the last reference to this 'version' string 
you should remove it as well.

I'm surprised the compiler doesn't warn about this.


I compile-tested every 8390 module and I didn't come across any 
compiler bugs.

Please take another look. I think you'll find that lib8390.c is always 
#included by a module which does define that symbol.

But nothing references 'version' after you remove the log message.

You can therefore delete it.

And I'm politely asking you to.

Thank you.


If there was an unused variables I would happily remove that too but the 
'version' string is not unused. The etherh.c and mac8390.c files both 
include "lib8390.c" and in there you'll find the 'version' string used in 
ethdev_setup().

If you want to remove the reference to the 'version' string from the core 
driver, it would seem to imply the loss of this functionality from 8 
modules or else the duplication of this code in the same modules, neither 
of which seems desirable... What am I missing?

-- 
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux