diff options
| author | Li RongQing <[email protected]> | 2018-10-07 10:22:42 +0800 |
|---|---|---|
| committer | Steffen Klassert <[email protected]> | 2018-10-08 08:15:55 +0200 |
| commit | f1193e915748291fb205a908db33bd3debece6e2 (patch) | |
| tree | db561a6836493674ad6a5ec7fa847e65aca74722 /drivers/usb/cdns3/cdns3-plat.c | |
| parent | b7138fddd6893a455cc82249f3d12ae651023543 (diff) | |
xfrm: use correct size to initialise sp->ovec
This place should want to initialize array, not a element,
so it should be sizeof(array) instead of sizeof(element)
but now this array only has one element, so no error in
this condition that XFRM_MAX_OFFLOAD_DEPTH is 1
Signed-off-by: Li RongQing <[email protected]>
Signed-off-by: Steffen Klassert <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions