diff options
author | Bartosz Golaszewski <[email protected]> | 2020-08-24 19:38:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-09-08 13:32:06 +0200 |
commit | f82485722e5de5ebb08d3a1dd7302203346dbff9 (patch) | |
tree | 66114964163c5ce91e43c99e4cbc0f4b6eebfaa0 /scripts/gen_compile_commands.py | |
parent | 81b142245b6f0249896325c7e8451cb5347d4d31 (diff) |
devres: provide devm_krealloc()
Implement the managed variant of krealloc(). This function works with
all memory allocated by devm_kmalloc() (or devres functions using it
implicitly like devm_kmemdup(), devm_kstrdup() etc.).
Managed realloc'ed chunks can be manually released with devm_kfree().
Signed-off-by: Bartosz Golaszewski <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions