[Linux-kernel-mentees] [PATCH] net: tipc: fix general protection fault in tipc_conn_delete_sub

David Miller davem at davemloft.net
Mon Jul 27 19:38:54 UTC 2020


From: kernel test robot <lkp at intel.com>
Date: Mon, 27 Jul 2020 23:52:50 +0800

> All warnings (new ones prefixed by >>):
> 
>    net/tipc/topsrv.c: In function 'tipc_conn_send_to_sock':
>>> net/tipc/topsrv.c:259:10: warning: 'return' with a value, in function returning void [-Wreturn-type]
>      259 |   return -EINVAL;
>          |          ^
>    net/tipc/topsrv.c:247:13: note: declared here
>      247 | static void tipc_conn_send_to_sock(struct tipc_conn *con)
>          |             ^~~~~~~~~~~~~~~~~~~~~~

Please look at the compiler output when you submit changes.


More information about the Linux-kernel-mentees mailing list