diff options
author | Brian Wheeler <bdwheele@indiana.edu> | 2011-03-01 08:30:23 -0500 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2011-03-15 13:21:14 +0100 |
commit | b93af93d2bbacf034af1888c96291850aa849b59 (patch) | |
tree | 84dd4164d0a080a528cde44d39d53ae0d142f994 /check-qstring.c | |
parent | 301db7c2dd769d48e97c9a766520f8affff76cd7 (diff) |
Fix ATA SMART and CHECK POWER MODE
This patch fixes two things:
1) CHECK POWER MODE
The error return value wasn't always zero, so it would show up as
offline. Error is now explicitly set to zero.
2) SMART
The smart values that were returned were invalid and tools like skdump
would not recognize that the smart data was actually valid and would
dump weird output. The data has been fixed up and raw value support
was added. Tools like skdump and palimpsest work as expected.
Signed-off-by: Brian Wheeler <bdwheele@indiana.edu>
Acked-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'check-qstring.c')
0 files changed, 0 insertions, 0 deletions