mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-26 20:38:12 +00:00
No description
6fe341a24b
Convert all drivers platform remove callback to the "remove_new" which returns void. Usual rationale from Uwe: 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. -----BEGIN PGP SIGNATURE----- iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmWEERoQHGtyemtAa2Vy bmVsLm9yZwAKCRDBN2bmhouD15/gEACLUhnPJ72MQCywqJXfcPt0FgJJB8HxaLfh S9fJb6ipxQdqVcj5Liyci8Rt6ZKfZAf8Q+Yu/cMG1gblzFdJq23tcl2I+W9Cbw/K +YRzjXNvdnZS2T2jAnKcE+Lz1h2emPY5uxuAYRiWiiglMxzqjU305siUHRwKDpMG 6m1q5eqlw6P1YDFnRSD7wVjyB6mLdNSC1JRWcMJIyPcxbtlMOdkJGwQ2T/PKYIjE Uf6Hp8+ZLL6dhSr5XRwOCQ+3dR0BV485m4t8uQXDqYRgCQNw7Jij7Oqo1MG71LY9 OvfRdI5WHcRI8vED3U9AdYOxITchhg//+dd14oItNyvoQHAUEeVIxnk+FciKciKc P84z5T2Rx2R6yE8+tkAs6oDNFw9wT1+MUL+58x2V9rolXC0XSnZ+9kvNBkGsW47n KH0O/I40jLz0wNP/RoLv3/ec0y/dd+DFFMRD/6i2OlQSBa1cjqnND75OTugnVi6f yfjKPYip9/pFHqrppt5bqAxn6PaI4Vb0ar85Qtf90WWEQQIYvsdHrFI1fQRqwvqC 7OuN2skesQRgmZvqSe1CVZYFRdYuS+tVQ2UEsQcMXxvfQYJgmdkGDc/zNov+/i4p kORvSvVBG5etpBVNINXDDmukG+zHvIbfuW30MW4pbQC7g3InZfbEXdtxOuIQQWXc x05uiol0jQ== =ZtIR -----END PGP SIGNATURE----- gpgsig -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEiK/NIGsWEZVxh/FrYKtH/8kJUicFAmWFc70ACgkQYKtH/8kJ UifbtxAA1YbWH6KCDvPK3Dwr/ZZ+xj3a5K+6/W9vQUUqhSPPqNxhOYc4rJCh5lDU 27VSbjo68RSCzwXqvso9sixfD5pS5jE6u6Y3kElMZdKXGtRJ/eS9d1v6wJ0VpMO5 VvDo9z8NhN9JtMMibC7wxaKWWERmG70MFpSdXFttu2ObXcpngi0w2pmP5hO28PFq uXTQI85e1u1DQhvQfDjZP7ELOK52HSFlteEFArKcw4pGwTGayJMNJReA4GeLObmX XGJFkQ1eXOCGWP457eQHjYnWVxg+mQQmb4blfySqQNpGqZy/H3dIjezmJc3hbP8T ELlGwngo+oHld1fmXvGBbko9D7IHuDahNibEuEPwnPlz5/eBembENyrahAgWJ906 A+vqma2OyCXxgEkNE7wFvZEgq+A2FGV/I2ok3s+wtFCkfpnTjeHZvx810WgI6Ffp ge9UNARbFmrnf5ntrm64PAIYicpXU8orTmFiN6Q91ZfFIkDGxgU4BOyhcdsiZrNg 4xE8u7xGLBGW/XE3hE6xRmakMCAIBjrAciG/YQvSP+Y0QEHGZAGN29zFTeHj6Wgd gvbUyRukzb7Ig1z2tBp77BPsQmTt4JCUv1bk+TCStROdq/DOSgDsH57s9A3RS7G3 arrld/yi7DnZu3s0rywtLmJf6rEFU19UevVCCqVTtqw8mqZi608= =38bn -----END PGP SIGNATURE----- Merge tag 'memory-controller-drv-6.8-2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl into soc/drivers Memory controller drivers for v6.8, part two Convert all drivers platform remove callback to the "remove_new" which returns void. Usual rationale from Uwe: 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. * tag 'memory-controller-drv-6.8-2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl: memory: ti-emif-pm: Convert to platform remove callback returning void memory: ti-aemif: Convert to platform remove callback returning void memory: tegra210-emc: Convert to platform remove callback returning void memory: tegra186-emc: Convert to platform remove callback returning void memory: stm32-fmc2-ebi: Convert to platform remove callback returning void memory: exynos5422-dmc: Convert to platform remove callback returning void memory: renesas-rpc-if: Convert to platform remove callback returning void memory: omap-gpmc: Convert to platform remove callback returning void memory: mtk-smi: Convert to platform remove callback returning void memory: jz4780-nemc: Convert to platform remove callback returning void memory: fsl_ifc: Convert to platform remove callback returning void memory: fsl-corenet-cf: Convert to platform remove callback returning void memory: emif: Convert to platform remove callback returning void memory: brcmstb_memc: Convert to platform remove callback returning void memory: brcmstb_dpfe: Convert to platform remove callback returning void Link: https://lore.kernel.org/r/20231221101956.16351-1-krzysztof.kozlowski@linaro.org Signed-off-by: Arnd Bergmann <arnd@arndb.de> |
||
---|---|---|
arch | ||
block | ||
certs | ||
crypto | ||
Documentation | ||
drivers | ||
fs | ||
include | ||
init | ||
io_uring | ||
ipc | ||
kernel | ||
lib | ||
LICENSES | ||
mm | ||
net | ||
rust | ||
samples | ||
scripts | ||
security | ||
sound | ||
tools | ||
usr | ||
virt | ||
.clang-format | ||
.cocciconfig | ||
.get_maintainer.ignore | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.rustfmt.toml | ||
COPYING | ||
CREDITS | ||
Kbuild | ||
Kconfig | ||
MAINTAINERS | ||
Makefile | ||
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.