Messages in this thread | | | Date | Wed, 03 Apr 2013 19:49:48 -0400 | From | Jeff Garzik <> | Subject | Re: [PATCH] [libata] Fix HDIO_DRIVE_CMD ioctl sense data check |
| |
On 03/29/2013 01:56 AM, 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@google.com> > --- > drivers/ata/libata-scsi.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)
applied the version from Krzysztof Mazur, which covered both cases
| |