diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-05-21 11:04:29 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-07-25 12:36:25 +0300 |
commit | a08ec5fe709fe0d9fbd524ca6dcf6c41320d5bf3 (patch) | |
tree | 955840d5d954ca30ecb2b1becfad7ff1398c4375 /drivers/net/can/m_can | |
parent | 78b77c760f71ef408a2276f5a3b531c400089304 (diff) | |
download | linux-a08ec5fe709fe0d9fbd524ca6dcf6c41320d5bf3.tar.xz |
can: j1939: j1939_xtp_rx_dat_one(): use separate pointer for session skb control buffer
In the j1939_xtp_rx_dat_one() function, there are 2 variables (skb and
se_skb) holding a skb. The control buffer of the skbs is accessed one
after the other, but using the same "skcb" variable.
To avoid confusion introduce a new variable "se_skcb" to access the
se_skb's control buffer as done in the rest of this file, too.
Cc: Robin van der Gracht <robin@protonic.nl>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20210616102811.2449426-6-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/m_can')
0 files changed, 0 insertions, 0 deletions