ne2k-pci: Fix various coding-style issues and improve printk() usage
authorArmin Wolf <W_Armin@gmx.de>
Tue, 26 May 2020 18:03:02 +0000 (20:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2020 06:19:28 +0000 (23:19 -0700)
commit53c0ec4f4db19d430570bbbfc80ce899419d29f4
tree4307a448a479add1ea38241f16c2022e6555511b
parent81f3dc9349ce0bf7b8447f147f45e70f0a5b36a6
ne2k-pci: Fix various coding-style issues and improve printk() usage

Fixed a ton of minor checkpatch errors/warnings and remove version
printing at module init/when device is found and use MODULE_VERSION
instead. Also modifying the RTL8029 PCI string to include the compatible
RTL8029AS nic.
The only mayor issue remaining is the missing SPDX tag, but since the
exact version of the GPL is not stated anywhere inside the file, its
impossible to add such a tag at the moment.
But maybe it is possible, since 8390.h states Donald Becker's 8390
drivers are licensed under GPL 2.2 only (= GPL-2.0-only ?).
The kernel module containing this patch compiles and runs without
problems on a RTL8029AS-based NE2000 clone card with kernel 5.7.0-rc6.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/8390/ne2k-pci.c