summaryrefslogtreecommitdiffstats
path: root/include/errno.h
Commit message (Collapse)AuthorAgeFilesLines
* vsprintf: retire strerrorp in favor of %peAhmad Fatoum2020-09-291-5/+0
| | | | | | | | | strerrorp() is only used along with printf. We now have a format specifier for printing error pointers directly, so use that and remove strerrorp. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* include: add SPDX GPL-2.0-only license tags for files without licensing ↵Roland Hieber2020-02-171-0/+1
| | | | | | | | | | | information According to our /README, GPL-2.0-only applies for the whole project except noted otherwise. Signed-off-by: Roland Hieber <rohieb@rohieb.name> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* introduce strerrorpSascha Hauer2015-09-231-0/+6
| | | | | | | | | | putting an error pointer into strerror can be a bit confusing since strerror takes a positive error code but PTR_ERR returns a negative number, so we have to do strerror(-PTR_ERR(errp)). Some places got this wrong already, so introduce a strerrorp function which directly takes an error pointer. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add strerror functionSascha Hauer2009-05-251-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* svn_rev_455Sascha Hauer2007-07-051-0/+1
|
* svn_rev_369Sascha Hauer2007-07-051-0/+2
| | | | include asm-generic in errno.h instead of all other files
* svn_rev_268Sascha Hauer2007-07-051-1/+3
| | | | WIP
* svn_rev_181Sascha Hauer2007-07-051-0/+6
add perror function (which does not do much yet)