lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240104164937.424320-1-pierre.gondois@arm.com>
Date: Thu,  4 Jan 2024 17:49:32 +0100
From: Pierre Gondois <pierre.gondois@....com>
To: linux-kernel@...r.kernel.org
Cc: Pierre Gondois <pierre.gondois@....com>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Arve Hjønnevåg <arve@...roid.com>,
	Todd Kjos <tkjos@...roid.com>,
	Martijn Coenen <maco@...roid.com>,
	Joel Fernandes <joel@...lfernandes.org>,
	Christian Brauner <brauner@...nel.org>,
	Carlos Llamas <cmllamas@...gle.com>,
	Suren Baghdasaryan <surenb@...gle.com>,
	Coly Li <colyli@...e.de>,
	Kent Overstreet <kent.overstreet@...il.com>,
	Kees Cook <keescook@...omium.org>,
	Marco Elver <elver@...gle.com>,
	Jani Nikula <jani.nikula@...el.com>,
	Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
	Ingo Molnar <mingo@...nel.org>,
	linux-bcache@...r.kernel.org
Subject: [PATCH v2 0/3] list: Add hlist_count_nodes()

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

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ