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

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

commit 0cc1ce6b7999f6d2c803ac193c3d0f5824f45b81
Author: p-szafonimateusz <[email protected]>
AuthorDate: Thu Mar 12 13:18:16 2026 +0100

    kvaser_pci.c: fix compilation error
    
    fix compilation error for netpkt_free
    
    Signed-off-by: p-szafonimateusz <[email protected]>
---
 drivers/can/kvaser_pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/can/kvaser_pci.c b/drivers/can/kvaser_pci.c
index dbea606129b..429e6d53263 100644
--- a/drivers/can/kvaser_pci.c
+++ b/drivers/can/kvaser_pci.c
@@ -1262,7 +1262,7 @@ static FAR netpkt_t *kvaser_sock_recv(FAR struct 
netdev_lowerhalf_s *dev)
 
       kvaser_putreg_sja(priv, SJA1000_CMD_REG, SJA1000_RELEASE_BUF);
 
-      netpkt_free(dev, pkt);
+      netpkt_free(dev, pkt, NETPKT_RX);
       return NULL;
 #endif
     }

Reply via email to