Oct. 19, 2019
7:46 a.m.
Martin Galvan <omgalvan.86@gmail.com> writes:
I'm writing a kernel module, and am trying to implement some exception-handling mechanism so that the system won't oops/panic if my module does e.g. a NULL dereference.
Why don't you test your pointer for NULL instead? Sounds like a hell of a lot simpler solution to me. But I'm probably missing something as usual... Bjørn