introduce strerrorp
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>
1 parent 9d54b6f commit 7e44c8495ace5dc2dfd9f183e7956fca3661a614
@Sascha Hauer Sascha Hauer authored on 10 Sep 2015
Showing 5 changed files
View
common/blspec.c
View
drivers/usb/imx/imx-usb-phy.c
View
drivers/video/imx-ipu-v3/imx-ldb.c
View
fs/ubifs/ubifs.c
View
include/errno.h