diff options
| author | 2025-07-02 12:39:33 +0300 | |
|---|---|---|
| committer | 2025-07-24 17:30:13 +0200 | |
| commit | ce6cce46aff79423f47680ee65e8f12191a50605 (patch) | |
| tree | 82200c45b0198f6502aead5df446eac6cd8b8e5a /scripts/Makefile.thinlto | |
| parent | xfs: use a proper variable name and type for storing a comparison result (diff) | |
xfs: refactor xfs_btree_diff_two_ptrs() to take advantage of cmp_int()
Use cmp_int() to yield the result of a three-way-comparison instead of
performing subtractions with extra casts. Thus also rename the function
to make its name clearer in purpose.
Found by Linux Verification Center (linuxtesting.org).
Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
