projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae3a838
)
ide-floppy/ide_floppy_get_format_progress: use local sense buffer
author
Borislav Petkov
<petkovbb@gmail.com>
Tue, 12 May 2009 06:59:49 +0000
(08:59 +0200)
committer
Borislav Petkov
<petkovbb@gmail.com>
Fri, 15 May 2009 04:44:28 +0000
(06:44 +0200)
There should be no functional change resulting from this patch.
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
drivers/ide/ide-floppy_ioctl.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ide/ide-floppy_ioctl.c
b/drivers/ide/ide-floppy_ioctl.c
index 7a03d34bc2403a9bd38ff3529ab75ed1de28107f..3a1f9b50b3eb6373155ac2f1bb43e690c9ae5459 100644
(file)
--- a/
drivers/ide/ide-floppy_ioctl.c
+++ b/
drivers/ide/ide-floppy_ioctl.c
@@
-198,11
+198,12
@@
static int ide_floppy_get_format_progress(ide_drive_t *drive,
int __user *arg)
{
struct ide_disk_obj *floppy = drive->driver_data;
+ u8 sense_buf[18];
int progress_indication = 0x10000;
if (drive->atapi_flags & IDE_AFLAG_SRFP) {
ide_create_request_sense_cmd(drive, pc);
- if (ide_queue_pc_tail(drive, floppy->disk, pc,
pc->
buf,
+ if (ide_queue_pc_tail(drive, floppy->disk, pc,
sense_
buf,
pc->req_xfer))
return -EIO;