All of lore.kernel.org
 help / color / mirror / Atom feed
From: Armin Wolf <W_Armin@gmx.de>
To: davem@davemloft.net
Cc: netdev@vger.kernel.org
Subject: [RFC PATCH 0/2 net-next] 8390: core cleanup
Date: Wed, 1 Jul 2020 23:31:06 +0200	[thread overview]
Message-ID: <cover.1593627376.git.W_Armin@gmx.de> (raw)

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

While most cleanups are simple checkpatch warnings,
some unnecessary librarys where also removed,
reducing the library size by ~4kb.

Functional changes include the removal of all
module-related stuff from the library to prevent
conflicts with real modules using lib8390, which
requires changes in modules depending on the
module-related stuff and the unnecessary librarys.

Basically all modules directly including lib8390
need to be checked for missing librarys/msg_enable
params, but so far only 8390.c has been modified to
support the cleaned-up lib8390.
And since 8390.c is not a full nic driver, the missing
param was omited.

All patches compile successfully and appear to function
normaly under 5.8.0-rc2 and a RTL8029AS card.

Armin Wolf (2):
  lib8390: Miscellaneous cleanups
  8390: Miscellaneous cleanups

 drivers/net/ethernet/8390/8390.c    |  25 +-
 drivers/net/ethernet/8390/lib8390.c | 585 +++++++++++++---------------
 2 files changed, 299 insertions(+), 311 deletions(-)

--
2.20.1


             reply	other threads:[~2020-07-01 21:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-01 21:31 Armin Wolf [this message]
2020-07-01 18:42 ` [RFC PATCH 1/2] lib8390: Miscellaneous cleanups Armin Wolf
2020-07-01 21:31   ` [RFC PATCH 1/2 net-next] " Armin Wolf
2020-07-01 21:33 ` [RFC PATCH 2/2 net-next] 8390: " Armin Wolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1593627376.git.W_Armin@gmx.de \
    --to=w_armin@gmx.de \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.