mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
lightnvm: add ECC error codes
Add ECC error codes to enable the appropriate handling in the target. Signed-off-by: Javier González <javier@cnexlabs.com> Signed-off-by: Matias Bjørling <m@bjorling.me> Signed-off-by: Jens Axboe <axboe@fb.com>
This commit is contained in:
parent
a24ba4644b
commit
402ab9a89d
1 changed files with 2 additions and 0 deletions
|
@ -107,6 +107,8 @@ enum {
|
|||
NVM_RSP_NOT_CHANGEABLE = 0x1,
|
||||
NVM_RSP_ERR_FAILWRITE = 0x40ff,
|
||||
NVM_RSP_ERR_EMPTYPAGE = 0x42ff,
|
||||
NVM_RSP_ERR_FAILECC = 0x4281,
|
||||
NVM_RSP_WARN_HIGHECC = 0x4700,
|
||||
|
||||
/* Device opcodes */
|
||||
NVM_OP_HBREAD = 0x02,
|
||||
|
|
Loading…
Reference in a new issue