Patch "Documentation/networking: fix basic node example document ISO 15765-2" has been added to the 6.13-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    Documentation/networking: fix basic node example document ISO 15765-2

to the 6.13-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     documentation-networking-fix-basic-node-example-docu.patch
and it can be found in the queue-6.13 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit e85bbbebcf7556e178fcd07e574f325bba155a40
Author: Reyders Morales <reyders1@xxxxxxxxx>
Date:   Mon Feb 3 23:47:20 2025 +0100

    Documentation/networking: fix basic node example document ISO 15765-2
    
    [ Upstream commit d0b197b6505fe3788860fc2a81b3ce53cbecc69c ]
    
    In the current struct sockaddr_can tp is member of can_addr. tp is not
    member of struct sockaddr_can.
    
    Signed-off-by: Reyders Morales <reyders1@xxxxxxxxx>
    Reviewed-by: Simon Horman <horms@xxxxxxxxxx>
    Acked-by: Oliver Hartkopp <socketcan@xxxxxxxxxxxx>
    Link: https://patch.msgid.link/20250203224720.42530-1-reyders1@xxxxxxxxx
    Fixes: 67711e04254c ("Documentation: networking: document ISO 15765-2")
    Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/Documentation/networking/iso15765-2.rst b/Documentation/networking/iso15765-2.rst
index 0e9d960741783..37ebb2c417cb4 100644
--- a/Documentation/networking/iso15765-2.rst
+++ b/Documentation/networking/iso15765-2.rst
@@ -369,8 +369,8 @@ to their default.
 
   addr.can_family = AF_CAN;
   addr.can_ifindex = if_nametoindex("can0");
-  addr.tp.tx_id = 0x18DA42F1 | CAN_EFF_FLAG;
-  addr.tp.rx_id = 0x18DAF142 | CAN_EFF_FLAG;
+  addr.can_addr.tp.tx_id = 0x18DA42F1 | CAN_EFF_FLAG;
+  addr.can_addr.tp.rx_id = 0x18DAF142 | CAN_EFF_FLAG;
 
   ret = bind(s, (struct sockaddr *)&addr, sizeof(addr));
   if (ret < 0)




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux