diff options
author | David Milburn <dmilburn@redhat.com> | 2012-09-12 14:06:12 -0500 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-09-12 22:21:13 +0200 |
commit | 97651ea687d3b6a214c32b49f79523db709fba18 (patch) | |
tree | afa8a69225ba8fd88b4aabe245da6bcb84821868 /block | |
parent | ac64e6572d3906c3874175cf5345a37dc7f983f5 (diff) | |
download | lwn-97651ea687d3b6a214c32b49f79523db709fba18.tar.gz lwn-97651ea687d3b6a214c32b49f79523db709fba18.zip |
mtip32xx: fix user_buffer check in exec_drive_command
Current user_buffer check is incorrect and causes hdparm to fail
# hdparm -I /dev/rssda
HDIO_DRIVE_CMD(identify) failed: Input/output error
/dev/rssda:
Patching linux-3.6-rc5 hdparm works as expected
# hdparm -I /dev/rssda
/dev/rssda:
ATA device, with non-removable media
Model Number: DELL_P320h-MTFDGAL350SAH
Serial Number: 00000000121302025F01
Firmware Revision: B1442808
<snip>
Reported-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: David Milburn <dmilburn@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions