#ifndef DT_BINDINGS_MEMORY_TEGRA124_MC_H #define DT_BINDINGS_MEMORY_TEGRA124_MC_H #define TEGRA_SWGROUP_PTC 0 #define TEGRA_SWGROUP_DC 1 #define TEGRA_SWGROUP_DCB 2 #define TEGRA_SWGROUP_AFI 3 #define TEGRA_SWGROUP_AVPC 4 #define TEGRA_SWGROUP_HDA 5 #define TEGRA_SWGROUP_HC 6 #define TEGRA_SWGROUP_MSENC 7 #define TEGRA_SWGROUP_PPCS 8 #define TEGRA_SWGROUP_SATA 9 #define TEGRA_SWGROUP_VDE 10 #define TEGRA_SWGROUP_MPCORELP 11 #define TEGRA_SWGROUP_MPCORE 12 #define TEGRA_SWGROUP_ISP2 13 #define TEGRA_SWGROUP_XUSB_HOST 14 #define TEGRA_SWGROUP_XUSB_DEV 15 #define TEGRA_SWGROUP_ISP2B 16 #define TEGRA_SWGROUP_TSEC 17 #define TEGRA_SWGROUP_A9AVP 18 #define TEGRA_SWGROUP_GPU 19 #define TEGRA_SWGROUP_SDMMC1A 20 #define TEGRA_SWGROUP_SDMMC2A 21 #define TEGRA_SWGROUP_SDMMC3A 22 #define TEGRA_SWGROUP_SDMMC4A 23 #define TEGRA_SWGROUP_VIC 24 #define TEGRA_SWGROUP_VI 25 #endif /a>
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/drivers/usb/chipidea/ci_hdrc_imx.c
diff options
context:
space:
mode:
authorVincent Pelletier <plr.vincent@gmail.com>2017-01-18 00:57:44 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-25 12:03:52 +0100
commit83e526f2a2fa4b2e82b6bd3ddbb26b70acfa8947 (patch)
tree3067a6dfefc8299039bc89f9eca8dc36a77e1ab4 /drivers/usb/chipidea/ci_hdrc_imx.c
parentd9b2997e4a0a874e452df7cdd7de5a54502bd0aa (diff)
usb: gadget: f_fs: Assorted buffer overflow checks.
OS descriptor head, when flagged as provided, is accessed without checking if it fits in provided buffer. Verify length before access. Also, there are other places where buffer length it checked after accessing offsets which are potentially past the end. Check buffer length before as well to fail cleanly. Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> Acked-by: Felipe Balbi <felipe.balbi@linux.intel.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/ci_hdrc_imx.c')