From: Gwendal Grignou Date: Tue, 18 Jun 2013 17:54:48 +0000 (-0700) Subject: libata: cleanup SAT error translation X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~16^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78062c50d15d6a0adfa09f6e35a6c52abcc9a32d;p=pandora-kernel.git libata: cleanup SAT error translation - Remove duplicate Medium Error Entry. - Fix translations to match SAT2 translation table. - Remove warning messages when translation is not found when decoding error or status register. - Goes through status register decoding when only ABRT bit is set in error register. Tested: When a disk fails, it sets Status = 0x71 [DRDY DF ERR] , Error = 0x4 [ABRT] This patch will make the sense key HARDWARE_ERROR instead. When there is a simple command syntax error: Status = 0x51 [DRDY ERR] , Error = 0x4 [ABRT] The sense key remains ABORTED_COMMAND. tj: Some updates to the description and comments. Signed-off-by: Gwendal Grignou Signed-off-by: Tejun Heo --- Reading git-diff-tree failed