From: Ayush Mukkanwar <ayushmukkanwar@gmail.com>
To: gregkh@linuxfoundation.org
Cc: error27@gmail.com, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org,
Ayush Mukkanwar <ayushmukkanwar@gmail.com>
Subject: [PATCH v4 0/3] staging: octeon: ethernet: logging and struct cleanups
Date: Sun, 5 Apr 2026 19:41:07 +0530 [thread overview]
Message-ID: <20260405141111.87925-1-ayushmukkanwar@gmail.com> (raw)
This series replaces pr_*() logging calls with dev_warn() and
netdev_err()/dev_err() in the octeon ethernet staging driver to include
device context in log messages.
Changes since v3:
- Broke the series into much smaller, focused patches to ease review.
- Removed the global cvm_oct_rx_refill_work by introducing a per-device
struct octeon_ethernet_platform, allocated during probe.
- Retrieved the device pointer via platform_get_drvdata() and passed it
down the call chain (NAPI poll -> rx refill -> mem free/fill) as the
first argument to avoid global state.
- Note: Dropped the ethernet-spi.c IRQ handler conversions from this
series for now, as those errors are SPI4 bus-level.
Ayush Mukkanwar (3):
staging: octeon: ethernet-mem: replace pr_warn with dev_warn in free
functions
staging: octeon: replace pr_warn with dev_warn in fill path
staging: octeon: ethernet: replace pr_err and pr_info with dev_err and
netdev_err
drivers/staging/octeon/ethernet-mem.c | 42 +++++++++--------
drivers/staging/octeon/ethernet-mem.h | 4 +-
drivers/staging/octeon/ethernet-rx.c | 6 ++-
drivers/staging/octeon/ethernet-rx.h | 6 +--
drivers/staging/octeon/ethernet.c | 65 ++++++++++++++++-----------
5 files changed, 73 insertions(+), 50 deletions(-)
--
2.53.0
next reply other threads:[~2026-04-05 14:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-05 14:11 Ayush Mukkanwar [this message]
2026-04-05 14:11 ` [PATCH v4 1/3] staging: octeon: ethernet-mem: replace pr_warn with dev_warn in free functions Ayush Mukkanwar
2026-04-05 14:11 ` [PATCH v4 2/3] staging: octeon: replace pr_warn with dev_warn in fill path Ayush Mukkanwar
2026-04-05 14:11 ` [PATCH v4 3/3] staging: octeon: ethernet: replace pr_err and pr_info with dev_err and netdev_err Ayush Mukkanwar
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=20260405141111.87925-1-ayushmukkanwar@gmail.com \
--to=ayushmukkanwar@gmail.com \
--cc=error27@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox