mirror of https://github.com/dynup/kpatch
6ee8803978
It's probably cleaner to just return -EINVAL if the kpmod isn't enabled, instead of warning and continuing, which would be dangerous. I think the reason I had it WARN before is because this condition shouldn't be possible given the source for the patch module. But the core module can't necessarily assume that it's our trustworthy patch module code on the other side. |
||
---|---|---|
.. | ||
Makefile | ||
core.c | ||
kpatch.h |