diff options
author | Armin Wolf <W_Armin@gmx.de> | 2020-05-26 21:03:02 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-27 09:19:28 +0300 |
commit | 53c0ec4f4db19d430570bbbfc80ce899419d29f4 (patch) | |
tree | 4307a448a479add1ea38241f16c2022e6555511b /drivers/net/phy/phy.c | |
parent | 81f3dc9349ce0bf7b8447f147f45e70f0a5b36a6 (diff) | |
download | linux-53c0ec4f4db19d430570bbbfc80ce899419d29f4.tar.xz |
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>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions