From d9a684a9c364676a35cf0af3eb354fa687504386 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 16 May 2020 15:57:45 +0000 Subject: [PATCH] scst.h: Add a comment above sg_next_inline() git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8924 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/include/scst.h | 1 + 1 file changed, 1 insertion(+) diff --git a/scst/include/scst.h b/scst/include/scst.h index a3453f0e9..d735ee97c 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -4846,6 +4846,7 @@ static inline struct scatterlist *__sg_next_inline(struct scatterlist *sg) return sg; } +/* Inline version of sg_next() from lib/scatterlist.c in the Linux kernel. */ static inline struct scatterlist *sg_next_inline(struct scatterlist *sg) { if (sg_is_last(sg))