kmod/core: make WARN messages more informative