Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PTR_TO_ERR / ERR_TO_PTR functions
Inspired by the Linux kernel source, these inline functions can be used to return error codes in functions that return pointers. Signed-off-by: Paul Cercueil <[email protected]>
- Loading branch information