]> Git Repo - linux.git/commit
err.h: remove deprecated PTR_RET for good
authorLukas Bulwahn <[email protected]>
Sun, 22 Mar 2020 16:57:02 +0000 (17:57 +0100)
committerJiri Kosina <[email protected]>
Sun, 22 Mar 2020 22:06:34 +0000 (23:06 +0100)
commitfad7c9020948eab2bc4661eade4e1ef357279590
tree5a262e9fee87920c330e9644b62539de4751c1b5
parent7901b6e4e6ec5304a2e90e139fd607bec9e88778
err.h: remove deprecated PTR_RET for good

Initially, commit fa9ee9c4b988 ("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 6e8b8726ad50 ("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 <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
include/linux/err.h
This page took 0.052867 seconds and 4 git commands to generate.