Skip to content

staging: octeon: replace pr_* with dev_* and netdev_*

Ayush Mukkanwar linux-staging lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 2 repliesIn review
  2. v22 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- Use netdev_err() instead of dev_err() in ethernet-spi.c
- Pass the netdev pointer directly to request_irq/free_irq instead of dev->dev.parent
- Move the device pointer to be the first argument in helper functions
- Fix checkpatch alignment and line-length warnings
- Add missing @dev kernel-doc parameter descriptions
- Wrap commit message body to 75 characters
- Fix author name formatting

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2staging: octeon: ethernet-spi: replace pr_err with dev_errdrivers/staging/octeon/ethernet-spi.c+37 -410 replies
2/2staging: octeon: ethernet: replace pr_* with dev_* and netdev_*drivers/staging/octeon/ethernet-mem.c drivers/staging/octeon/ethernet-mem.h drivers/staging/octeon/ethernet-rx.c +2 more+68 -500 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/2] staging: octeon: replace pr_* with dev_* and netdev_*

This series replaces pr_*() logging calls with dev_*() and netdev_*() in the octeon ethernet staging driver to include device context in log messages, as requested by Greg Kroah-Hartman.
Changes since v2:
- Use netdev_err() instead of dev_err() in ethernet-spi.c
- Pass the netdev pointer directly to request_irq/free_irq instead of dev->dev.parent
- Move the device pointer to be the first argument in helper functions
- Fix checkpatch alignment and line-length warnings
- Add missing @dev kernel-doc parameter descriptions
- Wrap commit message body to 75 characters
- Fix author name formatting

Ayush Mukkanwar (2):
staging: octeon: ethernet-spi: replace pr_err with dev_err
staging: octeon: ethernet: replace pr_* with dev_* and netdev_*

 drivers/staging/octeon/ethernet-mem.c | 39 +++++++-------
 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-spi.c | 78 +++++++++++++--------------
 drivers/staging/octeon/ethernet.c     | 63 +++++++++++++---------
 6 files changed, 105 insertions(+), 91 deletions(-)
Signature · 1 line
2.53.0