android_kernel_xiaomi_sm8350/drivers/ide
Timothy Thelin ef0f6a437f [PATCH] ide: fix null request pointer for taskfile ioctl
When doing ioctl HDIO_DRIVE_TASKFILE, the ide_task_t's request pointer is
never set, but flagged_taskfile and do_rw_taskfile pass it as a parameter
to the prehandler.  The kernel will oops taskfile pio-out commands because
of this (taskfile pio-in doesn't use a prehandler).  This fix sets the
request pointer at the time the request is created to stop this oops.

Signed-off-by: Timothy Thelin <timothy.thelin@wdc.com>
Cc: "Bartlomiej Zolnierkiewicz" <bzolnier@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-17 11:50:03 -07:00
..
arm
cris [PATCH] CRIS IDE driver 2005-07-27 16:26:02 -07:00
h8300
legacy [PATCH] janitor: ide/ide-cs: replace schedule_timeout() with msleep() 2005-09-10 10:06:34 -07:00
pci Fix up more strange byte writes to the PCI_ROM_ADDRESS config word 2005-09-13 07:59:34 -07:00
ppc [PATCH] swsusp: switch pm_message_t to struct 2005-09-05 00:06:16 -07:00
ide-cd.c [PATCH] quiet ide-cd warning 2005-07-12 16:00:58 -07:00
ide-cd.h
ide-disk.c fix mismerge in ll_rw_blk.c 2005-08-28 10:43:07 -05:00
ide-dma.c [PATCH] ide: samsung SN-124 works perfectly well with DMA 2005-06-27 17:36:40 -07:00
ide-floppy.c [PATCH] ide-floppy: fix IDEFLOPPY_TICKS_DELAY 2005-08-18 22:09:21 +02:00
ide-generic.c
ide-io.c [PATCH] merge some from Rusty's trivial patches 2005-09-10 10:06:30 -07:00
ide-iops.c [PATCH] ide: clean up the garbage in eighty_ninty_three 2005-09-13 08:22:28 -07:00
ide-lib.c [PATCH] ide: fix line break in ide messages 2005-07-03 17:09:13 +02:00
ide-pnp.c
ide-probe.c [PATCH] Fix ide-disk.c oops caused by hwif == NULL 2005-08-09 20:21:31 -07:00
ide-proc.c
ide-tape.c [PATCH] janitor: ide-tape: replace schedule_timeout() with msleep() 2005-09-10 10:06:33 -07:00
ide-taskfile.c [PATCH] ide: fix null request pointer for taskfile ioctl 2005-09-17 11:50:03 -07:00
ide-timing.h [PATCH] janitor: ide: min/max macros in ide-timing.h 2005-09-10 10:06:31 -07:00
ide.c [PATCH] swsusp: switch pm_message_t to struct 2005-09-05 00:06:16 -07:00
Kconfig [PATCH] ide: fix the BLK_DEV_IDEDMA_PCI dependency for drivers/ide/ppc/pmac.c 2005-08-18 22:13:44 +02:00
Makefile [PATCH] drivers/ide/Makefile: kill dead CONFIG_BLK_DEV_IDE_TCQ entry 2005-07-03 17:44:10 +02:00
setup-pci.c [PATCH] ide: add support for Netcell Revolution to pci-ide generic driver 2005-08-18 22:27:07 +02:00