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]
Date:   Tue, 22 Jan 2019 16:14:15 +0100
From:   Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To:     Herbert Xu <herbert@...dor.apana.org.au>,
        David Miller <davem@...emloft.net>
Cc:     linux-kernel@...r.kernel.org, linux-crypto@...r.kernel.org,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: [PATCH 0/7] crypto: cleanup debugfs usage

When calling debugfs code, there is no need to ever check the return
value of the call, as no logic should ever change if a call works
properly or not.  Fix up a bunch of crypto-specific code to not care
about the results of debugfs.

Greg Kroah-Hartman (7):
  crypto: qat: no need to check return value of debugfs_create functions
  crypto: ccrree: no need to check return value of debugfs_create
    functions
  crypto: axis: no need to check return value of debugfs_create
    functions
  crypto: cavium: zip: no need to check return value of debugfs_create
    functions
  crypto: cavium: nitrox: no need to check return value of
    debugfs_create functions
  crypto: ccp: no need to check return value of debugfs_create functions
  crypto: caam: no need to check return value of debugfs_create
    functions

 drivers/crypto/axis/artpec6_crypto.c          |  9 ----
 drivers/crypto/caam/ctrl.c                    | 21 +++-----
 drivers/crypto/caam/intern.h                  |  1 -
 drivers/crypto/cavium/nitrox/nitrox_debugfs.c | 27 ++--------
 drivers/crypto/cavium/nitrox/nitrox_debugfs.h |  5 +-
 drivers/crypto/cavium/nitrox/nitrox_main.c    |  4 +-
 drivers/crypto/cavium/zip/zip_main.c          | 52 ++++---------------
 drivers/crypto/ccp/ccp-debugfs.c              | 36 +++----------
 drivers/crypto/ccree/cc_debugfs.c             | 22 ++------
 drivers/crypto/ccree/cc_debugfs.h             |  8 +--
 drivers/crypto/ccree/cc_driver.c              |  7 +--
 drivers/crypto/qat/qat_c3xxx/adf_drv.c        |  5 --
 drivers/crypto/qat/qat_c3xxxvf/adf_drv.c      |  5 --
 drivers/crypto/qat/qat_c62x/adf_drv.c         |  5 --
 drivers/crypto/qat/qat_c62xvf/adf_drv.c       |  5 --
 drivers/crypto/qat/qat_common/adf_cfg.c       |  7 ---
 drivers/crypto/qat/qat_common/adf_transport.c |  6 ---
 .../qat/qat_common/adf_transport_debug.c      | 15 ------
 drivers/crypto/qat/qat_dh895xcc/adf_drv.c     |  5 --
 drivers/crypto/qat/qat_dh895xccvf/adf_drv.c   |  5 --
 20 files changed, 38 insertions(+), 212 deletions(-)

-- 
2.20.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ