summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-01-20 03:08:56 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2022-01-20 07:52:53 +0100
commit0425473037db40d9e322631f2d4dc6ef51f97e88 (patch)
tree2ea6d9ea2da4b6a3999998d204f5782f923348ea /lib
parentkstrtox: uninline everything (diff)
downloadlinux-0425473037db40d9e322631f2d4dc6ef51f97e88.tar.xz
linux-0425473037db40d9e322631f2d4dc6ef51f97e88.zip
list: introduce list_is_head() helper and re-use it in list.h
Introduce list_is_head() in the similar (*) way as it's done for list_entry_is_head(). Make use of it in the list.h. *) it's done as inliner and not a macro to be aligned with other list_is_*() APIs; while at it, make all three to have the same style. Link: https://lkml.kernel.org/r/20211201141824.81400-1-andriy.shevchenko@linux.intel.com Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions