net/qede/base: refine error handling