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

From: Krzysztof Mazur
Date: Fri Mar 29 2013 - 13:47:43 EST


On Fri, Mar 29, 2013 at 10:12:46AM -0700, Gwendal Grignou wrote:
> commit 84a9a8cd9d0aa93c17e5815ab8a9cc4c0a765c63 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>

Works for me. If you like you can add:

Reported-and-tested-by: Krzysztof Mazur <krzysiek@xxxxxxxxxxxx>

Krzysiek
--
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/