• Artem Bityutskiy's avatar
    UBI: rename IO error code · 756e1df1
    Artem Bityutskiy authored
    Rename UBI_IO_BAD_HDR_READ into UBI_IO_BAD_HDR_EBADMSG which is presumably more
    self-documenting and readable. Indeed, the '_READ' suffix does not tell much and
    even confuses, while '_EBADMSG' tells about uncorrectable ECC error, because we
    use -EBADMSG all over the place to represent ECC errors.
    Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
    756e1df1
eba.c 35.7 KB