Module: xenomai-3
Branch: master
Commit: bc3e48335b63ebd049c9edfe5ba759c99d746b03
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=bc3e48335b63ebd049c9edfe5ba759c99d746b03

Author: Philippe Gerum <r...@xenomai.org>
Date:   Wed Sep  9 21:06:27 2015 +0200

drivers/can/raw: fix uninit flags in socket descriptor

---

 kernel/drivers/can/rtcan_socket.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/drivers/can/rtcan_socket.c 
b/kernel/drivers/can/rtcan_socket.c
index 3c73fba..edd4619 100644
--- a/kernel/drivers/can/rtcan_socket.c
+++ b/kernel/drivers/can/rtcan_socket.c
@@ -49,6 +49,7 @@ void rtcan_socket_init(struct rtdm_fd *fd)
     sock->flist = NULL;
     sock->err_mask = 0;
     sock->rx_buf_full = 0;
+    sock->flags = 0;
 #ifdef CONFIG_XENO_DRIVERS_CAN_LOOPBACK
     sock->loopback = 1;
 #endif


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to