summaryrefslogtreecommitdiff
path: root/firmware/whiteheat_loader_debug.HEX
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2018-02-12 00:14:42 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-30 07:48:58 +0200
commit7576d958f4d1674190d562158c8ce53530c47ebf (patch)
treee615476e4e11504aa6e5219da80290c7ef5297e3 /firmware/whiteheat_loader_debug.HEX
parent36e393b0592cc8657b7363cd5fa2862985f10a63 (diff)
usb: gadget: fsl_udc_core: fix ep valid checks
[ Upstream commit 20c63f4089cceab803438c383631963e34c4d8e5 ] Clang reports the following warning: drivers/usb/gadget/udc/fsl_udc_core.c:1312:10: warning: address of array 'ep->name' will always evaluate to 'true' [-Wpointer-bool-conversion] if (ep->name) ~~ ~~~~^~~~ It seems that the authors intention was to check if the ep has been configured through struct_ep_setup. Check whether struct usb_ep name pointer has been set instead. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'firmware/whiteheat_loader_debug.HEX')
0 files changed, 0 insertions, 0 deletions