diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-07-13 13:14:33 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-07 08:32:39 +0200 |
| commit | e9caf24cdf4b505d1204e109c9d41defdf57e197 (patch) | |
| tree | 22acbe1bc773d7745b97101973280cc4ce6a4d87 /scripts/patch-kernel | |
| parent | 391738b9a371412a3c394975f18696d908971b69 (diff) | |
usb: gadget: fsl_qe_udc: off by one in setup_received_handle()
commit 7442e6db5bdd0dce4615205508301f9b22e502d6 upstream.
The udc->eps[] array has USB_MAX_ENDPOINTS elements so > should be >=.
Fixes: 3948f0e0c999 ('usb: add Freescale QE/CPM USB peripheral controller driver')
Acked-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
