1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-24 01:09:38 -05:00
No description
Find a file
Uwe Kleine-König 580399bbc4 crypto: bcm/cipher - Convert to platform remove callback returning void
The .remove() callback for a platform driver returns an int which makes
many driver authors wrongly assume it's possible to do error handling by
returning an error code. However the value returned is ignored (apart
from emitting a warning) and this typically results in resource leaks.

To improve here there is a quest to make the remove callback return
void. In the first step of this quest all drivers are converted to
.remove_new(), which already returns void. Eventually after all drivers
are converted, .remove_new() will be renamed to .remove().

Trivially convert this driver from always returning zero in the remove
callback to the void returning variant.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2023-10-27 18:04:25 +08:00
arch crypto: loongarch/crc32 - remove redundant setting of alignmask to 0 2023-10-27 18:04:24 +08:00
block
certs certs: Limit MODULE_SIG_KEY_TYPE_ECDSA to SHA384 or SHA512 2023-10-20 13:39:26 +08:00
crypto crypto: jitter - use permanent health test storage 2023-10-27 18:04:25 +08:00
Documentation dt-bindings: crypto: qcom,prng: document SA8775P and SC7280 2023-10-27 18:04:24 +08:00
drivers crypto: bcm/cipher - Convert to platform remove callback returning void 2023-10-27 18:04:25 +08:00
fs ubifs: Do not include crypto/algapi.h 2023-09-15 18:30:43 +08:00
include crypto: shash - remove crypto_shash_alignmask 2023-10-27 18:04:25 +08:00
init
io_uring
ipc
kernel padata: Fix refcnt handling in padata_free_shell() 2023-10-27 18:04:24 +08:00
lib
LICENSES
mm
net libceph: stop checking crypto_shash_alignmask 2023-10-27 18:04:25 +08:00
rust
samples
scripts
security KEYS: encrypted: Do not include crypto/algapi.h 2023-09-15 18:30:43 +08:00
sound
tools crypto: ccp - Fix some unfused tests 2023-09-15 18:29:45 +08:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS drm ci for 6.6-rc1 2023-09-10 11:55:26 -07:00
Makefile Linux 6.6-rc1 2023-09-10 16:28:41 -07:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.