mirror of
https://github.com/torvalds/linux.git
synced 2026-07-03 19:47:23 +02:00
up with PTR_ERR_OR_ZERO(), and replacing or fixing all the usages.
This has been sitting in linux-next for a whole cycle.
Thanks,
Rusty.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAABAgAGBQJSJo+1AAoJENkgDmzRrbjxIC4QALJK95o8AUXuwUkl+2fmFkUt
hh2/PJ1vDYgk4Xt0J6hyoK7XMa0H1RkbBrROuDdsBnorMFpEsGcgdkUZte9ufoAS
97Bg+7N0KPbTB/S8vOwtW1vbERTJIVPN2uf6h1Wqm9Xc2puCh3HbMMr1AWMGu0WQ
NqY5+Zz8zecy1UOrMhEP6H1CjeQcL1w1DO6YM5ydeqlKNzAz+JMfDXriLPDwiE7+
XFPDF/O3Vtd2ckA7L70Lio7hfHwxV5U4WwFVfiwls98XB4jcZqDKIoh1r8z4SRgR
+0Rae2DN3BaOabGMr//5XdrzQVpwJTh5m2w8BAOHJvCJ9HR7Sq29UIN4u+TowZBy
L2xYo4dvFxkympwu5zEd3c7vHYWKIaqmSq5PIjr4gF/uIo2OeOTrpPIK782ZEYb7
e+qUgOEM05V9AmQZCrSZeP9u474Sj8ow3sCtWxfdRtwNfoEIcUXsNNJd/zDHlVtW
cEtXqc2xXIpcuUJQWlSaGp8fmRQjVZPzrLKYLM2m39ZcOOJbf5rzQAYS7hHPosIa
SK+YVux/+Zzi+Xo/vXq1OlM/SruCr5S7JOgCxLowoQ88vupgXME6uPyC8EO+QQ50
GsrHes5ZNLbk0uVsfcexIyojkUnyvDmmnDpv+1zdC6RgZLJQn8OXp5yNhHhnhrFT
BiHX6YFWtDDqRlVv8Q0F
=LeaW
-----END PGP SIGNATURE-----
Merge tag 'PTR_RET-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux
Pull PTR_RET() removal patches from Rusty Russell:
"PTR_RET() is a weird name, and led to some confusing usage. We ended
up with PTR_ERR_OR_ZERO(), and replacing or fixing all the usages.
This has been sitting in linux-next for a whole cycle"
[ There are still some PTR_RET users scattered about, with some of them
possibly being new, but most of them existing in Rusty's tree too. We
have that
#define PTR_RET(p) PTR_ERR_OR_ZERO(p)
thing in <linux/err.h>, so they continue to work for now - Linus ]
* tag 'PTR_RET-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
GFS2: Replace PTR_RET with PTR_ERR_OR_ZERO
Btrfs: volume: Replace PTR_RET with PTR_ERR_OR_ZERO
drm/cma: Replace PTR_RET with PTR_ERR_OR_ZERO
sh_veu: Replace PTR_RET with PTR_ERR_OR_ZERO
dma-buf: Replace PTR_RET with PTR_ERR_OR_ZERO
drivers/rtc: Replace PTR_RET with PTR_ERR_OR_ZERO
mm/oom_kill: remove weird use of ERR_PTR()/PTR_ERR().
staging/zcache: don't use PTR_RET().
remoteproc: don't use PTR_RET().
pinctrl: don't use PTR_RET().
acpi: Replace weird use of PTR_RET.
s390: Replace weird use of PTR_RET.
PTR_RET is now PTR_ERR_OR_ZERO(): Replace most.
PTR_RET is now PTR_ERR_OR_ZERO
|
||
|---|---|---|
| .. | ||
| acer-wmi.c | ||
| acerhdf.c | ||
| amilo-rfkill.c | ||
| apple-gmux.c | ||
| asus-laptop.c | ||
| asus-nb-wmi.c | ||
| asus-wmi.c | ||
| asus-wmi.h | ||
| chromeos_laptop.c | ||
| classmate-laptop.c | ||
| compal-laptop.c | ||
| dell-laptop.c | ||
| dell-wmi-aio.c | ||
| dell-wmi.c | ||
| eeepc-laptop.c | ||
| eeepc-wmi.c | ||
| fujitsu-laptop.c | ||
| fujitsu-tablet.c | ||
| hdaps.c | ||
| hp_accel.c | ||
| hp-wmi.c | ||
| ibm_rtl.c | ||
| ideapad-laptop.c | ||
| intel_ips.c | ||
| intel_ips.h | ||
| intel_menlow.c | ||
| intel_mid_powerbtn.c | ||
| intel_mid_thermal.c | ||
| intel_oaktrail.c | ||
| intel_pmic_gpio.c | ||
| intel_scu_ipc.c | ||
| intel_scu_ipcutil.c | ||
| intel-rst.c | ||
| intel-smartconnect.c | ||
| Kconfig | ||
| Makefile | ||
| msi-laptop.c | ||
| msi-wmi.c | ||
| mxm-wmi.c | ||
| panasonic-laptop.c | ||
| pvpanic.c | ||
| samsung-laptop.c | ||
| samsung-q10.c | ||
| sony-laptop.c | ||
| tc1100-wmi.c | ||
| thinkpad_acpi.c | ||
| topstar-laptop.c | ||
| toshiba_acpi.c | ||
| toshiba_bluetooth.c | ||
| wmi.c | ||
| xo1-rfkill.c | ||
| xo15-ebook.c | ||