From: Marc Kleine-Budde <mkl@pengutronix.de> Date: 2021-08-25 09:35:23
Hello Jakub, hello David,
this is a pull request of 4 patches for net-next/master.
The first patch is by Cai Huoqing, and enables COMPILE_TEST for the
rcar CAN drivers.
Lad Prabhakar contributes a patch for the rcar_canfd driver, fixing a
redundant assignment.
The last 2 patches are by Tang Bin, target the mscan driver, and clean
up the driver by converting it to of_device_get_match_data() and
removing a useless BUG_ON.
regards,
Marc
---
The following changes since commit a37c5c26693eadb3aa4101d8fe955e40d206b386:
net: bridge: change return type of br_handle_ingress_vlan_tunnel (2021-08-24 16:51:09 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can-next.git tags/linux-can-next-for-5.15-20210825
for you to fetch changes up to cbe8cd7d83e251bff134a57ea4b6378db992ad82:
can: mscan: mpc5xxx_can: mpc5xxx_can_probe(): remove useless BUG_ON() (2021-08-25 08:25:11 +0200)
----------------------------------------------------------------
linux-can-next-for-5.15-20210825
----------------------------------------------------------------
Cai Huoqing (1):
can: rcar: Kconfig: Add helper dependency on COMPILE_TEST
Lad Prabhakar (1):
can: rcar_canfd: rcar_canfd_handle_channel_tx(): fix redundant assignment
Tang Bin (2):
can: mscan: mpc5xxx_can: mpc5xxx_can_probe(): use of_device_get_match_data to simplify code
can: mscan: mpc5xxx_can: mpc5xxx_can_probe(): remove useless BUG_ON()
drivers/net/can/mscan/mpc5xxx_can.c | 7 ++-----
drivers/net/can/rcar/Kconfig | 4 ++--
drivers/net/can/rcar/rcar_canfd.c | 2 +-
3 files changed, 5 insertions(+), 8 deletions(-)
From: Marc Kleine-Budde <mkl@pengutronix.de> Date: 2021-08-25 09:35:26
From: Cai Huoqing <redacted>
it's helpful for complie test in other platform(e.g.X86)
Link: https://lore.kernel.org/r/20210825062341.2332-1-caihuoqing@baidu.com
Signed-off-by: Cai Huoqing <redacted>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
drivers/net/can/rcar/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
From: Marc Kleine-Budde <mkl@pengutronix.de> Date: 2021-08-25 09:35:26
From: Tang Bin <redacted>
Retrieve OF match data, it's better and cleaner to use
'of_device_get_match_data' over 'of_match_device'.
Link: https://lore.kernel.org/r/20210823113338.3568-4-tangbin@cmss.chinamobile.com
Signed-off-by: Tang Bin <redacted>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
drivers/net/can/mscan/mpc5xxx_can.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
From: Marc Kleine-Budde <mkl@pengutronix.de> Date: 2021-08-25 09:35:27
From: Tang Bin <redacted>
In the function mpc5xxx_can_probe(), the variable 'data' has already
been determined in the above code, so the BUG_ON() in this place is
useless, remove it.
Link: https://lore.kernel.org/r/20210823141033.17876-1-tangbin@cmss.chinamobile.com
Signed-off-by: Tang Bin <redacted>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
drivers/net/can/mscan/mpc5xxx_can.c | 1 -
1 file changed, 1 deletion(-)
Hello:
This pull request was applied to netdev/net-next.git (refs/heads/master):
On Wed, 25 Aug 2021 11:35:12 +0200 you wrote:
Hello Jakub, hello David,
this is a pull request of 4 patches for net-next/master.
The first patch is by Cai Huoqing, and enables COMPILE_TEST for the
rcar CAN drivers.
[...]