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: <20230719071806.335718-1-martin@kaiser.cx>
Date:   Wed, 19 Jul 2023 09:18:02 +0200
From:   Martin Kaiser <martin@...ser.cx>
To:     Herbert Xu <herbert@...dor.apana.org.au>
Cc:     linux-crypto@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
        linux-kernel@...r.kernel.org, Martin Kaiser <martin@...ser.cx>
Subject: [PATCH 0/4] hwrng: cctrng - simplify the code a bit

We can use module_platform_driver and devm_clk_get_optional_enabled in the
cctrng driver to make its code simpler.

The patches were compile tested only.

Martin Kaiser (4):
  hwrng: cctrng - don't open code init and exit functions
  hwrng: cctrng - let devres enable the clock
  hwrng: cctrng - merge cc_trng_clk_init into its only caller
  hwrng: cctrng - use dev_err_probe in error paths

 drivers/char/hw_random/cctrng.c | 93 +++++++--------------------------
 1 file changed, 19 insertions(+), 74 deletions(-)

-- 
2.30.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ