diff options
author | Bartosz Golaszewski <[email protected]> | 2020-06-29 08:50:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-07-02 14:36:02 +0200 |
commit | dc2a633ccb608a1a8109ad0d488c98cc776bef72 (patch) | |
tree | 36d2a7f3dd37af97f83211f31ce563a9e741d3e7 /drivers/usb/cdns3/cdns3-trace.h | |
parent | 63160c0a7f1df4420607c27793db0bc5f67ef95f (diff) |
devres: move the size check from alloc_dr() into a separate function
We will perform the same size check in devm_krealloc(). Move the relevant
code into a separate helper.
Signed-off-by: Bartosz Golaszewski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions