Re: usb: mtu3: Checking initialisation of the variable “mep” in two functions

2020-06-28 Thread Chunfeng Yun
Hi, On Sat, 2020-06-27 at 14:28 +0200, Markus Elfring wrote: > Hello, > > A source code analysis approach by the means of the semantic patch language > (Coccinelle software) pointed an implementation detail out for further > development considerations. > > The functions “mtu3_gadget_ep_set_halt”

usb: mtu3: Checking initialisation of the variable “mep” in two functions

2020-06-27 Thread Markus Elfring
Hello, A source code analysis approach by the means of the semantic patch language (Coccinelle software) pointed an implementation detail out for further development considerations. The functions “mtu3_gadget_ep_set_halt” and “mtu3_gadget_ep_set_wedge” check at the beginning if the input paramete