summaryrefslogtreecommitdiff
path: root/crypto/memneq.c
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2016-09-16 17:59:22 +0300
committerRichard Weinberger <richard@nod.at>2016-10-02 23:48:14 +0300
commit9a5f09ac0ab83e4a965a24edd6cf7cb0303c6dc9 (patch)
tree585c31efc8dc614a7bc705f73cfb8c69ae728913 /crypto/memneq.c
parent2d78aee426d821bbecbc80ee96ada5730ee68b6f (diff)
downloadlinux-9a5f09ac0ab83e4a965a24edd6cf7cb0303c6dc9.tar.xz
UBI: add an helper to check lnum validity
ubi_leb_valid() is here to replace the lnum < 0 || lnum >= vol->reserved_pebs checks. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'crypto/memneq.c')
0 files changed, 0 insertions, 0 deletions