Re: [PATCH v2] [libata] Fix HDIO_DRIVE_CMD ioctl sense data check

From: Sergei Shtylyov
Date: Fri Mar 29 2013 - 15:02:16 EST


Hello.

On 03/29/2013 08:12 PM, Gwendal Grignou wrote:

commit 84a9a8cd9d0aa93c17e5815ab8a9cc4c0a765c63

Please, also specify that commit's summary line in parens
(or however you like).

changed the sense key
used for returning task registers, but HDIO_DRIVE_CMD ioctl was
not changed accordingly.

Tested: check that SMART ENABLE sent using HDIO_DRIVE_CMD returns 0
instead of EIO.

Signed-off-by: Gwendal Grignou <gwendal@xxxxxxxxxx>


MBR, Sergei

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/