bofi_errdef_check
if ((retval = bofi_errdef_check(&errstate, &klg)) == EINVAL)
static int bofi_errdef_check(struct bofi_errstate *,