Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
} while (old != res);
break;
}
+ default:
+ return -EINVAL;
}
if (v > 0 && (v >= U8_MAX || n < old))
overflow = true;
} while (old != res);
break;
}
+ default:
+ return -EINVAL;
}
if (v > 0 && (v >= U16_MAX || n < old))
overflow = true;
} while (old != res);
break;
}
+ default:
+ return -EINVAL;
}
if (v > 0 && (v >= U32_MAX || n < old))
overflow = true;
} while (old != res);
break;
}
+ default:
+ return -EINVAL;
}
if (v > 0 && n < old)
overflow = true;