linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 0/1] pull-request: can 2024-07-01
@ 2024-07-01  8:03 Marc Kleine-Budde
  2024-07-01  8:03 ` [PATCH net] can: kvaser_usb: Explicitly initialize family in leafimx driver_info struct Marc Kleine-Budde
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Kleine-Budde @ 2024-07-01  8:03 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, linux-can, kernel

Hello netdev-team,

this is a pull request of 1 patch for net/master.

Jimmy Assarsson's patch for the kvaser_usb adds a missing explicit
initialization of the struct kvaser_usb_driver_info::family for the
kvaser_usb_driver_info_leafimx.

regards,
Marc

---
The following changes since commit 134061163ee5ca4759de5c24ca3bd71608891ba7:

  bnx2x: Fix multiple UBSAN array-index-out-of-bounds (2024-06-28 18:19:05 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can.git tags/linux-can-fixes-for-6.10-20240701

for you to fetch changes up to 19d5b2698c35b2132a355c67b4d429053804f8cc:

  can: kvaser_usb: Explicitly initialize family in leafimx driver_info struct (2024-07-01 08:55:16 +0200)

----------------------------------------------------------------
linux-can-fixes-for-6.10-20240701

----------------------------------------------------------------
Jimmy Assarsson (1):
      can: kvaser_usb: Explicitly initialize family in leafimx driver_info struct

 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c | 1 +
 1 file changed, 1 insertion(+)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH net] can: kvaser_usb: Explicitly initialize family in leafimx driver_info struct
  2024-07-01  8:03 [PATCH net 0/1] pull-request: can 2024-07-01 Marc Kleine-Budde
@ 2024-07-01  8:03 ` Marc Kleine-Budde
  2024-07-02  3:10   ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Kleine-Budde @ 2024-07-01  8:03 UTC (permalink / raw)
  To: netdev
  Cc: davem, kuba, linux-can, kernel, Jimmy Assarsson, stable,
	Marc Kleine-Budde

From: Jimmy Assarsson <extja@kvaser.com>

Explicitly set the 'family' driver_info struct member for leafimx.
Previously, the correct operation relied on KVASER_LEAF being the first
defined value in enum kvaser_usb_leaf_family.

Fixes: e6c80e601053 ("can: kvaser_usb: kvaser_usb_leaf: fix CAN clock frequency regression")
Signed-off-by: Jimmy Assarsson <extja@kvaser.com>
Link: https://lore.kernel.org/all/20240628194529.312968-1-extja@kvaser.com
Cc: stable@vger.kernel.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c b/drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c
index 7292c81fc0cd..024169461cad 100644
--- a/drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c
+++ b/drivers/net/can/usb/kvaser_usb/kvaser_usb_core.c
@@ -125,6 +125,7 @@ static const struct kvaser_usb_driver_info kvaser_usb_driver_info_leaf_err_liste
 
 static const struct kvaser_usb_driver_info kvaser_usb_driver_info_leafimx = {
 	.quirks = 0,
+	.family = KVASER_LEAF,
 	.ops = &kvaser_usb_leaf_dev_ops,
 };
 

base-commit: 134061163ee5ca4759de5c24ca3bd71608891ba7
-- 
2.43.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net] can: kvaser_usb: Explicitly initialize family in leafimx driver_info struct
  2024-07-01  8:03 ` [PATCH net] can: kvaser_usb: Explicitly initialize family in leafimx driver_info struct Marc Kleine-Budde
@ 2024-07-02  3:10   ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-07-02  3:10 UTC (permalink / raw)
  To: Marc Kleine-Budde; +Cc: netdev, davem, kuba, linux-can, kernel, extja, stable

Hello:

This patch was applied to netdev/net.git (main)
by Marc Kleine-Budde <mkl@pengutronix.de>:

On Mon,  1 Jul 2024 10:03:22 +0200 you wrote:
> From: Jimmy Assarsson <extja@kvaser.com>
> 
> Explicitly set the 'family' driver_info struct member for leafimx.
> Previously, the correct operation relied on KVASER_LEAF being the first
> defined value in enum kvaser_usb_leaf_family.
> 
> Fixes: e6c80e601053 ("can: kvaser_usb: kvaser_usb_leaf: fix CAN clock frequency regression")
> Signed-off-by: Jimmy Assarsson <extja@kvaser.com>
> Link: https://lore.kernel.org/all/20240628194529.312968-1-extja@kvaser.com
> Cc: stable@vger.kernel.org
> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
> 
> [...]

Here is the summary with links:
  - [net] can: kvaser_usb: Explicitly initialize family in leafimx driver_info struct
    https://git.kernel.org/netdev/net/c/19d5b2698c35

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-02  3:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-01  8:03 [PATCH net 0/1] pull-request: can 2024-07-01 Marc Kleine-Budde
2024-07-01  8:03 ` [PATCH net] can: kvaser_usb: Explicitly initialize family in leafimx driver_info struct Marc Kleine-Budde
2024-07-02  3:10   ` patchwork-bot+netdevbpf

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).