linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frank Jungclaus <frank.jungclaus@esd.eu>
To: linux-can@vger.kernel.org, Marc Kleine-Budde <mkl@pengutronix.de>,
	Wolfgang Grandegger <wg@grandegger.com>,
	Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Cc: "Stefan Mätje" <stefan.maetje@esd.eu>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	"Frank Jungclaus" <frank.jungclaus@esd.eu>
Subject: [PATCH v3 0/3] can: esd_usb: Some more preparation for supporting esd CAN-USB/3
Date: Thu, 16 Feb 2023 20:04:47 +0100	[thread overview]
Message-ID: <20230216190450.3901254-1-frank.jungclaus@esd.eu> (raw)

Another small batch of patches to be seen as preparation for adding
support of the newly available esd CAN-USB/3 to esd_usb.c.

Due to some unresolved questions adding support for
CAN_CTRLMODE_BERR_REPORTING has been postponed to one of the future
patches.

*Resend of the whole series as v3 for easier handling.*
---
* Changelog *

v2 -> v3:
 * More specific subjects
 * Try to use imperative instead of past tense

v1 -> v2:
 * [Patch v2 1/3]: No changes.
 * [Patch v2 2/3]: Make use of can_change_state() and relocate testing
   alloc_can_err_skb() for NULL to the end of esd_usb_rx_event(), to
   have things like can_bus_off(), can_change_state() working even in
   out of memory conditions.
 * [Patch v2 3/3]: No changes. I will 'declare esd_usb_msg as an union
   instead of a struct' in a separate follow-up patch.

v1:
Link: https://lore.kernel.org/all/20221219212013.1294820-1-frank.jungclaus@esd.eu/
Link: https://lore.kernel.org/all/20221219212717.1298282-1-frank.jungclaus@esd.eu/


Frank Jungclaus (3):
  can: esd_usb: Move mislocated storage of SJA1000_ECC_SEG bits in case
    of a bus error
  can: esd_usb: Make use of can_change_state() and relocate checking skb
    for NULL
  can: esd_usb: Improve readability on decoding ESD_EV_CAN_ERROR_EXT
    messages

 drivers/net/can/usb/esd_usb.c | 70 ++++++++++++++++++++---------------
 1 file changed, 40 insertions(+), 30 deletions(-)


base-commit: fa1d915a624f72b153a9ff9700232056758a2b6c
-- 
2.25.1


             reply	other threads:[~2023-02-16 19:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-16 19:04 Frank Jungclaus [this message]
2023-02-16 19:04 ` [PATCH v3 1/3] can: esd_usb: Move mislocated storage of SJA1000_ECC_SEG bits in case of a bus error Frank Jungclaus
2023-02-16 19:04 ` [PATCH v3 2/3] can: esd_usb: Make use of can_change_state() and relocate checking skb for NULL Frank Jungclaus
2023-02-16 19:04 ` [PATCH v3 3/3] can: esd_usb: Improve readability on decoding ESD_EV_CAN_ERROR_EXT messages Frank Jungclaus
2023-02-16 20:05 ` [PATCH v3 0/3] can: esd_usb: Some more preparation for supporting esd CAN-USB/3 Marc Kleine-Budde

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=20230216190450.3901254-1-frank.jungclaus@esd.eu \
    --to=frank.jungclaus@esd.eu \
    --cc=linux-can@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mailhol.vincent@wanadoo.fr \
    --cc=mkl@pengutronix.de \
    --cc=netdev@vger.kernel.org \
    --cc=stefan.maetje@esd.eu \
    --cc=wg@grandegger.com \
    /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;
as well as URLs for NNTP newsgroup(s).