Skip to content

can: slcan: extend supported features (step 2)

Dario Binacchi linux-can lkml netdev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 1 replyIn review
  2. v3 RFC9 patches 21 repliesSuperseded
  3. v26 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC1 patch2 repliesSuperseded

Changes in v4 from the cover letter

- Add Max Staudt's `Reviewed-by' tag.
- Drop the patch "ethtool: add support to get/set CAN bit time register".
- Drop the patch "can: slcan: add support to set bit time register (btr)".
- Remove the RFC prefix from the series.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7can: slcan: use KBUILD_MODNAME and define pr_fmt to replace hardcoded namesdrivers/net/can/slcan/slcan-core.c+8 -60 replies
2/7can: slcan: remove useless header inclusionsdrivers/net/can/slcan/slcan-core.c+0 -30 replies
3/7can: slcan: remove legacy infrastructuredrivers/net/can/slcan/slcan-core.c+63 -2550 replies
4/7can: slcan: change every `slc' occurrence in `slcan'drivers/net/can/slcan/slcan-core.c+56 -530 replies
5/7can: slcan: use the generic can_change_mtu()drivers/net/can/slcan/slcan-core.c+1 -60 replies
6/7can: slcan: add support for listen-only modedrivers/net/can/slcan/slcan-core.c+15 -40 replies
7/7MAINTAINERS: Add maintainer for the slcan driverMAINTAINERS drivers/net/can/slcan/slcan-core.c+7 -00 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchMax Staudt
1/7
2/7
3/7R-b
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/7] can: slcan: extend supported features (step 2)

With this series I try to finish the task, started with the series [1], of completely removing the dependency of the slcan driver from the userspace slcand/slcan_attach applications.

The series also contains patches that remove the legacy stuff (slcan_devs, SLCAN_MAGIC, ...) and do some module cleanup.

The series has been created on top of the patches:

can: slcan: convert comments to network style comments
can: slcan: slcan_init() convert printk(LEVEL ...) to pr_level()
can: slcan: fix whitespace issues
can: slcan: convert comparison to NULL into !val
can: slcan: clean up if/else
can: slcan: use scnprintf() as a hardening measure
can: slcan: do not report txerr and rxerr during bus-off
can: slcan: do not sleep with a spin lock held

applied to linux-next.

[1] https://lore.kernel.org/all/[email protected]/

Changes in v4:
- Add Max Staudt's `Reviewed-by' tag.
- Drop the patch "ethtool: add support to get/set CAN bit time register".
- Drop the patch "can: slcan: add support to set bit time register (btr)".
- Remove the RFC prefix from the series.

Changes in v3:
- Update the commit message.
- Use 1 space in front of the =.
- Put the series as RFC again.
- Pick up the patch "can: slcan: use KBUILD_MODNAME and define pr_fmt to replace hardcoded names".
- Add the patch "ethtool: add support to get/set CAN bit time register"
to the series.
- Add the patch "can: slcan: add support to set bit time register (btr)"
to the series.
- Replace the link https://marc.info/?l=linux-can&m=165806705927851&w=2 with
https://lore.kernel.org/all/[email protected].
- Add the `Suggested-by' tag.

Changes in v2:
- Re-add headers that export at least one symbol used by the module.
- Update the commit description.
- Drop the old "slcan" name to use the standard canX interface naming.
- Remove comment on listen-only command.
- Update the commit subject and description.
- Add the patch "MAINTAINERS: Add myself as maintainer of the SLCAN driver" to the series.

Dario Binacchi (6):
can: slcan: remove useless header inclusions
can: slcan: remove legacy infrastructure
can: slcan: change every slc' occurrence in slcan'
can: slcan: use the generic can_change_mtu()
can: slcan: add support for listen-only mode
MAINTAINERS: Add maintainer for the slcan driver

Vincent Mailhol (1):
can: slcan: use KBUILD_MODNAME and define pr_fmt to replace hardcoded
names

 MAINTAINERS                        |   6 +
 drivers/net/can/slcan/slcan-core.c | 459 +++++++++--------------------
 2 files changed, 144 insertions(+), 321 deletions(-)
Signature · 1 line
2.32.0