diff options
| author | Suren Baghdasaryan <[email protected]> | 2024-07-11 22:04:56 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-07-18 04:05:18 +0000 |
| commit | fd8acc0097b91fab3104fa8a66ce2fd9cf8b0c11 (patch) | |
| tree | 1e18d28346191c8aa20336f04d2a9166b4b7b203 /rust/helpers.c | |
| parent | lib: add missing newline character in the warning message (diff) | |
| download | kernel-fd8acc0097b91fab3104fa8a66ce2fd9cf8b0c11.tar.gz kernel-fd8acc0097b91fab3104fa8a66ce2fd9cf8b0c11.zip | |
lib: reuse page_ext_data() to obtain codetag_ref
codetag_ref_from_page_ext() reimplements the same calculation as
page_ext_data(). Reuse existing function instead.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: dcfe378c81f7 ("lib: introduce support for page allocation tagging")
Signed-off-by: Suren Baghdasaryan <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Kent Overstreet <[email protected]>
Cc: Pasha Tatashin <[email protected]>
Cc: Sourav Panda <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
