diff options
author | Hannes Reinecke <hare@suse.de> | 2016-04-25 12:45:48 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-05-09 18:36:45 +0200 |
commit | fe5af0cc3029d52e31d282f5d53787d308e9695a (patch) | |
tree | ad819b31fe6a124e3022d28ac915a63263db2f7e /drivers/ata/pata_hpt37x.c | |
parent | libata: Add command definitions for NCQ Encapsulation for READ LOG DMA EXT (diff) | |
download | linux-fe5af0cc3029d52e31d282f5d53787d308e9695a.tar.xz linux-fe5af0cc3029d52e31d282f5d53787d308e9695a.zip |
libata: Check log page directory before accessing pages
When reading the NCQ Send/Recv log it might actually not
supported, thereby causing irritating messages
'READ LOG DMA EXT failed'.
Instead we should be reading the log directory first to
figure out if the log is actually supported before trying
to access it.
Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/pata_hpt37x.c')
0 files changed, 0 insertions, 0 deletions