diff options
author | Octavian Purdila <octavian.purdila@intel.com> | 2014-11-18 13:57:59 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-11-19 18:12:50 +0100 |
commit | 00ee7a37fdc3ed9bc6315f8af0270f2df55437d7 (patch) | |
tree | 87189f2932f9c28f0944c4093106d4d31b2e14f3 /drivers/dma/ste_dma40_ll.c | |
parent | i2c: dln2: Simplify return flow for dln2_i2c_enable (diff) | |
download | linux-00ee7a37fdc3ed9bc6315f8af0270f2df55437d7.tar.xz linux-00ee7a37fdc3ed9bc6315f8af0270f2df55437d7.zip |
mfd: dln2: Add a limit check for invalid echo
The echo field in dln2_transfer_complete comes directly from an USB
transfer and we should not trust it is valid.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/dma/ste_dma40_ll.c')
0 files changed, 0 insertions, 0 deletions