if (newlvl <= seclvl) { seclvl_printk(1, KERN_WARNING, "Cannot advance to seclvl " "[%d]\n", newlvl); return -EINVAL; }
int ret; int newlvl = (int)val;  ret = seclvl_sanity(newlvl); if (ret) return;
static int do_seclvl_advance(int newlvl){	if (newlvl <= seclvl) {		seclvl_printk(1, KERN_WARNING, "Cannot advance to seclvl "			      "[%d]\n", newlvl);		return -EINVAL;	}	if (newlvl > 2) {		seclvl_printk(1, KERN_WARNING, "Cannot advance to seclvl "			      "[%d]\n", newlvl);		return -EINVAL;	}	if (seclvl == -1) {		seclvl_printk(1, KERN_WARNING, "Not allowed to advance to "			      "seclvl [%d]\n", seclvl);		return -EPERM;	}	seclvl = newlvl;	return 0;}