commit | cd705d5ad49bb8894dda2726dcaef8f63ddeba43 | [log] [tgz] |
---|---|---|
author | Borislav Petkov <bp@alien8.de> | Sun Oct 21 18:57:56 2012 +0200 |
committer | Jeff Garzik <jgarzik@redhat.com> | Thu Nov 15 23:51:11 2012 -0500 |
tree | ad7070ea0b7d25a52d5de67a5cf3a8369c2d9553 | |
parent | c37472d3f4ec6bf98b443490e069f31d18bcd6f5 [diff] |
libata debugging: Warn when unable to find timing descriptor based on xfer_mode ata_timing_find_mode could return NULL which is not checked by all low-level ATA drivers using it and cause a NULL ptr deref. Warn at least so that possible issues can get fixed easily. Signed-off-by: Borislav Petkov <bp@alien8.de> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>