commit | 5e6acd1c8c4dc9a7c16208aeac3de09151ee6233 | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Mon Apr 04 11:43:56 2016 +0200 |
committer | Tejun Heo <tj@kernel.org> | Mon Apr 04 12:07:40 2016 -0400 |
tree | 8152bc8108fa4f7c7652a1e2b8bbbc6f44c5b327 | |
parent | e87fd28cf9a2d9018ac4b6dd92f0b417714bc18d [diff] |
libata-scsi: sanitize ata_gen_ata_sense() ata_to_sense_error() is called conditionally, so we should be generating a default sense if the condition is not met. Signed-off-by: Hannes Reinecke <hare@suse.com> Signed-off-by: Tejun Heo <tj@kernel.org>