[PATCH v2 0/3] list: Add hlist_count_nodes()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



v2:
- Add usages of the function to avoid considering it as dead code.
v1:
- https://lore.kernel.org/all/20240103090241.164817-1-pierre.gondois@xxxxxxx/

Add a generic hlist_count_nodes() function.

This function aims to be used in a private module. As suggested by
Marco, having it used would avoid to consider it as dead code.
Thus, add some usages of the function in two drivers.

Pierre Gondois (3):
  list: Add hlist_count_nodes()
  binder: Use of hlist_count_nodes()
  bcache: Use of hlist_count_nodes()

 drivers/android/binder.c  |  4 +---
 drivers/md/bcache/sysfs.c |  8 +-------
 include/linux/list.h      | 15 +++++++++++++++
 3 files changed, 17 insertions(+), 10 deletions(-)

-- 
2.25.1





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux