CC: [email protected] In-Reply-To: <[email protected]> References: <[email protected]> TO: Jiang Wang <[email protected]>
Hi Jiang, [FYI, it's a private test report for your RFC patch.] [auto build test WARNING on linus/master] [also build test WARNING on v5.12-rc6 next-20210406] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Jiang-Wang/vsock-add-multiple-transports-support-for-dgram/20210407-023504 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 0a50438c84363bd37fe18fe432888ae9a074dcab :::::: branch date: 3 hours ago :::::: commit date: 3 hours ago config: i386-randconfig-s001-20210406 (attached as .config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.3-279-g6d5d9b42-dirty # https://github.com/0day-ci/linux/commit/84be269871abcce75ee2829dd0086a58eb799a41 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Jiang-Wang/vsock-add-multiple-transports-support-for-dgram/20210407-023504 git checkout 84be269871abcce75ee2829dd0086a58eb799a41 # save the attached .config to linux build tree make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> sparse warnings: (new ones prefixed by >>) >> net/vmw_vsock/vmci_transport.c:2117:1: sparse: sparse: unused label >> 'err_unsubscribe' >> net/vmw_vsock/vmci_transport.c:610:12: sparse: sparse: context imbalance in >> 'vmci_transport_recv_dgram_cb' - different lock contexts for basic block vim +/err_unsubscribe +2117 net/vmw_vsock/vmci_transport.c c0cfa2d8a788fc Stefano Garzarella 2019-11-14 2081 b1bba80a4376ae Stefano Garzarella 2019-11-14 2082 static int __init vmci_transport_init(void) b1bba80a4376ae Stefano Garzarella 2019-11-14 2083 { b1bba80a4376ae Stefano Garzarella 2019-11-14 2084 int err; c0cfa2d8a788fc Stefano Garzarella 2019-11-14 2085 d021c344051af9 Andy King 2013-02-06 2086 /* Create the datagram handle that we will use to send and receive all d021c344051af9 Andy King 2013-02-06 2087 * VSocket control messages for this context. d021c344051af9 Andy King 2013-02-06 2088 */ d021c344051af9 Andy King 2013-02-06 2089 err = vmci_transport_datagram_create_hnd(VMCI_TRANSPORT_PACKET_RID, d021c344051af9 Andy King 2013-02-06 2090 VMCI_FLAG_ANYCID_DG_HND, d021c344051af9 Andy King 2013-02-06 2091 vmci_transport_recv_stream_cb, d021c344051af9 Andy King 2013-02-06 2092 NULL, d021c344051af9 Andy King 2013-02-06 2093 &vmci_transport_stream_handle); d021c344051af9 Andy King 2013-02-06 2094 if (err < VMCI_SUCCESS) { d021c344051af9 Andy King 2013-02-06 2095 pr_err("Unable to create datagram handle. (%d)\n", err); d021c344051af9 Andy King 2013-02-06 2096 return vmci_transport_error_to_vsock_error(err); d021c344051af9 Andy King 2013-02-06 2097 } d021c344051af9 Andy King 2013-02-06 2098 err = vmci_event_subscribe(VMCI_EVENT_QP_RESUMED, d021c344051af9 Andy King 2013-02-06 2099 vmci_transport_qp_resumed_cb, d021c344051af9 Andy King 2013-02-06 2100 NULL, &vmci_transport_qp_resumed_sub_id); d021c344051af9 Andy King 2013-02-06 2101 if (err < VMCI_SUCCESS) { d021c344051af9 Andy King 2013-02-06 2102 pr_err("Unable to subscribe to resumed event. (%d)\n", err); d021c344051af9 Andy King 2013-02-06 2103 err = vmci_transport_error_to_vsock_error(err); d021c344051af9 Andy King 2013-02-06 2104 vmci_transport_qp_resumed_sub_id = VMCI_INVALID_ID; d021c344051af9 Andy King 2013-02-06 2105 goto err_destroy_stream_handle; d021c344051af9 Andy King 2013-02-06 2106 } d021c344051af9 Andy King 2013-02-06 2107 84be269871abcc jiang.wang 2021-04-06 2108 /* H2G, G2H will be registered when the first host or guest becomes active. */ b1bba80a4376ae Stefano Garzarella 2019-11-14 2109 err = vmci_register_vsock_callback(vmci_vsock_transport_cb); b1bba80a4376ae Stefano Garzarella 2019-11-14 2110 if (err < 0) b1bba80a4376ae Stefano Garzarella 2019-11-14 2111 goto err_unregister; b1bba80a4376ae Stefano Garzarella 2019-11-14 2112 d021c344051af9 Andy King 2013-02-06 2113 return 0; d021c344051af9 Andy King 2013-02-06 2114 b1bba80a4376ae Stefano Garzarella 2019-11-14 2115 err_unregister: b1bba80a4376ae Stefano Garzarella 2019-11-14 2116 vsock_core_unregister(&vmci_transport); d021c344051af9 Andy King 2013-02-06 @2117 err_unsubscribe: d021c344051af9 Andy King 2013-02-06 2118 vmci_event_unsubscribe(vmci_transport_qp_resumed_sub_id); d021c344051af9 Andy King 2013-02-06 2119 err_destroy_stream_handle: d021c344051af9 Andy King 2013-02-06 2120 vmci_datagram_destroy_handle(vmci_transport_stream_handle); d021c344051af9 Andy King 2013-02-06 2121 return err; d021c344051af9 Andy King 2013-02-06 2122 } d021c344051af9 Andy King 2013-02-06 2123 module_init(vmci_transport_init); d021c344051af9 Andy King 2013-02-06 2124 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected]
.config.gz
Description: application/gzip
_______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
