commit | fe5af0cc3029d52e31d282f5d53787d308e9695a | [log] [tgz] |
---|---|---|
author | Hannes Reinecke <hare@suse.de> | Mon Apr 25 12:45:48 2016 +0200 |
committer | Tejun Heo <tj@kernel.org> | Mon May 09 12:36:45 2016 -0400 |
tree | ad819b31fe6a124e3022d28ac915a63263db2f7e | |
parent | 5c65d8bb3503beb12864895426a69269c19e6e87 [diff] |
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>