building module... errno undeclared
I'm trying to build a driver module, but I keep getting:
Code:
error: 'errno' undeclared (first use in this function) |
I think there is no errno when you are in the kernel space; return values between -4095 and -1 are the error codes.
|
Quote:
|
(When the supervisor call returns negative value, the C library sets the errno.)
|
Quote:
|
All times are GMT -5. The time now is 12:39 AM. |