perror in kernelspace?

Submitted by Anonymous
on January 2, 2009 - 10:13am

Hey,

is there something similar to perror in kernel space?
So I can check why e.g. an ioremap didn't work.

just print out the return

Anonymous (not verified)
on
January 3, 2009 - 6:15pm

just print out the return value and or other relevant debugging information. don't waste time in the kernel having it translate errno for you.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.