]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lib/scatterlist: use sg_phys() helper
authorSui Jingfeng <sui.jingfeng@linux.dev>
Mon, 28 Oct 2024 18:29:20 +0000 (02:29 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Wed, 6 Nov 2024 01:12:40 +0000 (17:12 -0800)
commite01caa2b63c88c64ee90b83a92a584ec90feeda5
treeeea9096d2a95fa3864639d0914c9c0ef044b83af
parent2f07b652384969f5d0b317e1daa5f2eb967bc73d
lib/scatterlist: use sg_phys() helper

This shorten the length of code in horizential direction, therefore is
easier to read.

Link: https://lkml.kernel.org/r/20241028182920.1025819-1-sui.jingfeng@linux.dev
Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/scatterlist.c