summaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_nv.c
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2016-04-25 12:45:48 +0200
committerTejun Heo <tj@kernel.org>2016-05-09 18:36:45 +0200
commitfe5af0cc3029d52e31d282f5d53787d308e9695a (patch)
treead819b31fe6a124e3022d28ac915a63263db2f7e /drivers/ata/sata_nv.c
parentlibata: Add command definitions for NCQ Encapsulation for READ LOG DMA EXT (diff)
downloadlinux-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/sata_nv.c')
0 files changed, 0 insertions, 0 deletions