This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 69bbf32583792e11ba589cf304805039577346bf
Author: p-szafonimateusz <[email protected]>
AuthorDate: Mon Nov 9 11:51:10 2026 +0100

    net/can: Rename can_sockif.c to can_raw.c.
    
    Rename can_sockif.c to can_raw.c with git mv, so that git log --follow
    and git blame keep the history.  can_raw.c becomes the CAN_RAW protocol
    module in the next commits.  No code change.
    
    Assisted-by: Claude:claude-opus-5-5
    Signed-off-by: p-szafonimateusz <[email protected]>
---
 .github/CODEOWNERS                        | 2 +-
 Documentation/os/networking/socketcan.rst | 2 +-
 net/can/CMakeLists.txt                    | 2 +-
 net/can/Make.defs                         | 2 +-
 net/can/{can_sockif.c => can_raw.c}       | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 162955020b7..15daa5e325e 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -15893,10 +15893,10 @@ net/can/Kconfig [email protected] 
[email protected] [email protected] raide
 net/can/can.c [email protected] [email protected] [email protected] 
[email protected] [email protected]
 net/can/can.h [email protected] [email protected] 
[email protected] [email protected] [email protected]
 net/can/can_getsockopt.c [email protected] [email protected] 
[email protected] [email protected] [email protected]
+net/can/can_raw.c [email protected] [email protected] 
[email protected] [email protected] [email protected]
 net/can/can_recvmsg.c [email protected] [email protected] 
[email protected] [email protected] [email protected]
 net/can/can_sendmsg.c [email protected] [email protected] 
[email protected] [email protected] [email protected]
 net/can/can_setsockopt.c [email protected] [email protected] 
[email protected] [email protected] [email protected]
-net/can/can_sockif.c [email protected] [email protected] 
[email protected] [email protected] [email protected]
 net/devif/devif.h [email protected] [email protected] 
[email protected] [email protected]
 net/devif/devif_callback.c [email protected] [email protected] 
[email protected] [email protected]
 net/devif/devif_filesend.c [email protected] [email protected] 
[email protected] [email protected]
diff --git a/Documentation/os/networking/socketcan.rst 
b/Documentation/os/networking/socketcan.rst
index f9ab6842927..9a3bd0b7df8 100644
--- a/Documentation/os/networking/socketcan.rst
+++ b/Documentation/os/networking/socketcan.rst
@@ -93,7 +93,7 @@ Files supporting SocketCAN can be found in the following 
locations:
 -  **Main Modules**:
 
    - ``can.c`` - Connection management, input, callbacks and polling
-   - ``can_sockif.c`` - Socket interface implementation
+   - ``can_raw.c`` - Socket interface implementation
    - ``can_sendmsg.c`` - Message transmission
    - ``can_sendmsg_buffered.c`` - Message transmission with buffering
    - ``can_recvmsg.c`` - Message reception
diff --git a/net/can/CMakeLists.txt b/net/can/CMakeLists.txt
index 6d7838d1a2b..ac01c1eb770 100644
--- a/net/can/CMakeLists.txt
+++ b/net/can/CMakeLists.txt
@@ -23,7 +23,7 @@ if(CONFIG_NET_CAN)
   set(SRCS)
 
   # Socket layer
-  list(APPEND SRCS can_sockif.c can_recvmsg.c)
+  list(APPEND SRCS can_raw.c can_recvmsg.c)
 
   if(CONFIG_NET_CAN_WRITE_BUFFERS)
     list(APPEND SRCS can_sendmsg_buffered.c)
diff --git a/net/can/Make.defs b/net/can/Make.defs
index 79f95562d4c..f1eee77ebec 100644
--- a/net/can/Make.defs
+++ b/net/can/Make.defs
@@ -26,7 +26,7 @@ ifeq ($(CONFIG_NET_CAN),y)
 
 # Socket layer
 
-SOCK_CSRCS += can_sockif.c
+SOCK_CSRCS += can_raw.c
 ifeq ($(CONFIG_NET_CAN_WRITE_BUFFERS),y)
 SOCK_CSRCS += can_sendmsg_buffered.c
 else
diff --git a/net/can/can_sockif.c b/net/can/can_raw.c
similarity index 99%
rename from net/can/can_sockif.c
rename to net/can/can_raw.c
index 585dcfcf665..685bdefeaaf 100644
--- a/net/can/can_sockif.c
+++ b/net/can/can_raw.c
@@ -1,5 +1,5 @@
 /****************************************************************************
- * net/can/can_sockif.c
+ * net/can/can_raw.c
  *
  * SPDX-License-Identifier: Apache-2.0
  *

Reply via email to