diff options
author | Bartosz Golaszewski <[email protected]> | 2020-10-15 20:07:39 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-10-16 11:11:17 -0700 |
commit | 295a17302348bc38704ef0f11ca2ce4ce58db2e9 (patch) | |
tree | dfbb18edaa5be3a2400779c804d9c41903e8aa2b /tools/perf/scripts/python | |
parent | 406100762ae9ae5b7709c737ada3089160a0f77a (diff) |
mm/util.c: update the kerneldoc for kstrdup_const()
Memory allocated with kstrdup_const() must not be passed to regular
krealloc() as it is not aware of the possibility of the chunk residing in
.rodata. Since there are no potential users of krealloc_const() at the
moment, let's just update the doc to make it explicit.
Signed-off-by: Bartosz Golaszewski <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Andrew Morton <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions