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: <20240923094249.80399-1-chentao@kylinos.cn>
Date: Mon, 23 Sep 2024 17:42:46 +0800
From: Kunwu Chan <chentao@...inos.cn>
To: linux@...linux.org.uk,
	robh@...nel.org,
	saravanak@...gle.com
Cc: linux-kernel@...r.kernel.org,
	devicetree@...r.kernel.org,
	Kunwu Chan <chentao@...inos.cn>
Subject: [PATCH 0/2] Add dev_is_amba and replace the usage in platform

Add dev_is_amba function and use dev_is_platform()/dev_is_amba() 
instead of checking bus type directly.

Kunwu Chan (2):
  amba: Add dev_is_amba() function and export it for modules
  of/platform: PCI: Use dev_is_platform/dev_is_amba to identify
    platform/amba devices

 drivers/amba/bus.c       | 6 ++++++
 drivers/of/platform.c    | 4 ++--
 include/linux/amba/bus.h | 5 +++++
 3 files changed, 13 insertions(+), 2 deletions(-)

-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ