Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1510541 > unrolled thread

[PATCH 6/7] lightnvm: add ECC error codes

Started by"Javier González" <jg@lightnvm.io>
First post2016-10-27 20:10 +0200
Last post2016-10-27 20:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 6/7] lightnvm: add ECC error codes "Javier González" <jg@lightnvm.io> - 2016-10-27 20:10 +0200

#1510541 — [PATCH 6/7] lightnvm: add ECC error codes

From"Javier González" <jg@lightnvm.io>
Date2016-10-27 20:10 +0200
Subject[PATCH 6/7] lightnvm: add ECC error codes
Message-ID<swXhL-5la-11@gated-at.bofh.it>
Add ECC error codes to enable the appropriate handling in the target.

Signed-off-by: Javier González <javier@cnexlabs.com>
---
 include/linux/lightnvm.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/lightnvm.h b/include/linux/lightnvm.h
index e3ccaff..33643ae 100644
--- a/include/linux/lightnvm.h
+++ b/include/linux/lightnvm.h
@@ -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,
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web