diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-06-29 08:50:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-07-02 14:36:02 +0200 |
commit | dc2a633ccb608a1a8109ad0d488c98cc776bef72 (patch) | |
tree | 36d2a7f3dd37af97f83211f31ce563a9e741d3e7 /Documentation | |
parent | devres: remove stray space from devm_kmalloc() definition (diff) | |
download | linux-dc2a633ccb608a1a8109ad0d488c98cc776bef72.tar.xz linux-dc2a633ccb608a1a8109ad0d488c98cc776bef72.zip |
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 <bgolaszewski@baylibre.com>
Link: https://lore.kernel.org/r/20200629065008.27620-3-brgl@bgdev.pl
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions