]> git.baikalelectronics.ru Git - kernel.git/commit
err.h: remove deprecated PTR_RET for good
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Sun, 22 Mar 2020 16:57:02 +0000 (17:57 +0100)
committerJiri Kosina <jkosina@suse.cz>
Sun, 22 Mar 2020 22:06:34 +0000 (23:06 +0100)
commite0c4d857d4f2189070e7ed85852808dbf4030c78
tree5a262e9fee87920c330e9644b62539de4751c1b5
parent0507ffd11c1700342b258eb329ca693da403780e
err.h: remove deprecated PTR_RET for good

Initially, commit 56ca32aab1f7 ("include/linux/err.h: add a function to
cast error-pointers to a return value") from Uwe Kleine-König introduced
PTR_RET in 03/2011. Then, in 07/2013, commit 109b419699b4 ("PTR_RET is
now PTR_ERR_OR_ZERO") from Rusty Russell renamed PTR_RET to
PTR_ERR_OR_ZERO, and left PTR_RET as deprecated-marked alias.

After six years since the renaming and various repeated cleanups in the
meantime, it is time to finally remove the deprecated PTR_RET for good.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/err.h