Module: xenomai-3
Branch: wip/rtnet-fixes
Commit: da90bbe0a85efd3c5ce4728f60e12466a2666779
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=da90bbe0a85efd3c5ce4728f60e12466a2666779

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Dec 17 15:27:04 2017 +0100

net/udp: ioctl: fix temp arg buffer type

---

 kernel/drivers/net/stack/ipv4/udp/udp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/drivers/net/stack/ipv4/udp/udp.c 
b/kernel/drivers/net/stack/ipv4/udp/udp.c
index a3fd496..4368303 100644
--- a/kernel/drivers/net/stack/ipv4/udp/udp.c
+++ b/kernel/drivers/net/stack/ipv4/udp/udp.c
@@ -350,7 +350,7 @@ int rt_udp_ioctl(struct rtdm_fd *fd, unsigned int request, 
void __user *arg)
 {
        struct rtsocket *sock = rtdm_fd_to_private(fd);
        const struct _rtdm_setsockaddr_args *setaddr;
-       struct _rtdm_setsockaddr_args *_setaddr;
+       struct _rtdm_setsockaddr_args _setaddr;
 
        /* fast path for common socket IOCTLs */
        if (_IOC_TYPE(request) == RTIOC_TYPE_NETWORK)


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

Reply via email to