netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2 v3 net-next] 8390: core cleanups
@ 2020-08-29 11:17 Armin Wolf
  2020-08-31 19:36 ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Armin Wolf @ 2020-08-29 11:17 UTC (permalink / raw)
  To: davem; +Cc: netdev

The purpose of this patchset is to do some
cleanups in lib8390.c and 8390.c.

While most changes are coding-style related,
pr_cont() usage in lib8390.c was replaced by
a more SMP-safe construct.

Other functional changes include the removal of
version-printing in lib8390.c so modules using lib8390.c
do not need a global version-string in order to compile
successfully.

Patches do compile and run flawless on 5.9.0-rc1 with
a RTL8029AS nic using ne2k-pci.

v3 changes:
- swap commits to not break buildability (sorry)
- move MODULE_LICENCE at the bottom and remove MODULE_VERSION in 8390.c

v2 changes:
- change "librarys" to "libraries" in 8390.c commit
- improve 8390.c commit
- prevent uneven whitespaces in error message (lib8390.c)
- do not destroy kernel doc comments in lib8390.c
- fix some typos in lib8390.c

Armin Wolf (2):
  lib8390: Fix coding-style issues and remove verion printing
  8390: Miscellaneous cleanups

 drivers/net/ethernet/8390/8390.c    |  21 +-
 drivers/net/ethernet/8390/lib8390.c | 590 ++++++++++++++--------------
 2 files changed, 308 insertions(+), 303 deletions(-)

--
2.20.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/2 v3 net-next] 8390: core cleanups
  2020-08-29 11:17 [PATCH 0/2 v3 net-next] 8390: core cleanups Armin Wolf
@ 2020-08-31 19:36 ` David Miller
  2020-08-31 19:37   ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2020-08-31 19:36 UTC (permalink / raw)
  To: W_Armin; +Cc: netdev

From: Armin Wolf <W_Armin@gmx.de>
Date: Sat, 29 Aug 2020 13:17:32 +0200

> The purpose of this patchset is to do some
> cleanups in lib8390.c and 8390.c.
> 
> While most changes are coding-style related,
> pr_cont() usage in lib8390.c was replaced by
> a more SMP-safe construct.
> 
> Other functional changes include the removal of
> version-printing in lib8390.c so modules using lib8390.c
> do not need a global version-string in order to compile
> successfully.
> 
> Patches do compile and run flawless on 5.9.0-rc1 with
> a RTL8029AS nic using ne2k-pci.
 ...

Series applied to net-next.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/2 v3 net-next] 8390: core cleanups
  2020-08-31 19:36 ` David Miller
@ 2020-08-31 19:37   ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2020-08-31 19:37 UTC (permalink / raw)
  To: W_Armin; +Cc: netdev

From: David Miller <davem@davemloft.net>
Date: Mon, 31 Aug 2020 12:36:21 -0700 (PDT)

> From: Armin Wolf <W_Armin@gmx.de>
> Date: Sat, 29 Aug 2020 13:17:32 +0200
> 
>> The purpose of this patchset is to do some
>> cleanups in lib8390.c and 8390.c.
>> 
>> While most changes are coding-style related,
>> pr_cont() usage in lib8390.c was replaced by
>> a more SMP-safe construct.
>> 
>> Other functional changes include the removal of
>> version-printing in lib8390.c so modules using lib8390.c
>> do not need a global version-string in order to compile
>> successfully.
>> 
>> Patches do compile and run flawless on 5.9.0-rc1 with
>> a RTL8029AS nic using ne2k-pci.
>  ...
> 
> Series applied to net-next.

Actually reverted, this adds a new build warning:

drivers/net/ethernet/8390/ax88796.c:58:22: warning: ‘version’ defined but not used [-Wunused-variable]
   58 | static unsigned char version[] = "ax88796.c: Copyright 2005,2007 Simtec Electronics\n";
      |                      ^~~~~~~
  C-c C-cmake[2]: *** Deleting file 'net/sunrpc/auth.o'

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-31 19:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-29 11:17 [PATCH 0/2 v3 net-next] 8390: core cleanups Armin Wolf
2020-08-31 19:36 ` David Miller
2020-08-31 19:37   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).