linux_dsm_epyc7002/drivers/ide
Mikulas Patocka acfead32f3 ide: don't call memcpy with the same source and destination
The parisc architecture recently reimplemented the memcpy function and
their reimplementation crashed when source and destination overlapped.

The crash happened in the function ide_complete_cmd where memcpy is called
with the same source and destination pointer. According to the C
specification, memcpy behavior is undefined if the source and destination
range overlaps. This patches fixes the undefined behavior.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-08 17:36:39 -04:00
..
aec62xx.c
ali14xx.c
alim15x3.c
amd74xx.c
atiixp.c
au1xxx-ide.c
buddha.c
cmd64x.c
cmd640.c
cs5520.c
cs5530.c
cs5535.c
cs5536.c
cy82c693.c
delkin_cb.c
dtc2278.c
falconide.c
gayle.c
hpt366.c
ht6560b.c
icside.c
ide_platform.c
ide-4drives.c
ide-acpi.c lib/vsprintf.c: remove %Z support 2017-02-27 18:43:47 -08:00
ide-atapi.c scsi: introduce a result field in struct scsi_request 2017-04-20 12:16:10 -06:00
ide-cd_ioctl.c scsi: introduce a result field in struct scsi_request 2017-04-20 12:16:10 -06:00
ide-cd_verbose.c block: split scsi_request out of struct request 2017-01-27 15:08:35 -07:00
ide-cd.c scsi: introduce a result field in struct scsi_request 2017-04-20 12:16:10 -06:00
ide-cd.h
ide-cs.c
ide-devsets.c ide-pm: always pass 0 error to ide_complete_rq in ide_do_devset 2017-04-26 07:53:35 -06:00
ide-disk_ioctl.c
ide-disk_proc.c
ide-disk.c block: remove the blk_execute_rq return value 2017-04-20 12:16:10 -06:00
ide-disk.h
ide-dma-sff.c
ide-dma.c scsi: introduce a result field in struct scsi_request 2017-04-20 12:16:10 -06:00
ide-eh.c scsi: introduce a result field in struct scsi_request 2017-04-20 12:16:10 -06:00
ide-floppy_ioctl.c
ide-floppy_proc.c
ide-floppy.c scsi: introduce a result field in struct scsi_request 2017-04-20 12:16:10 -06:00
ide-floppy.h
ide-gd.c
ide-gd.h
ide-generic.c Revert "ide: Fix interface autodetection in legacy IDE driver (trial #2)" 2017-01-09 15:27:59 -05:00
ide-io-std.c
ide-io.c ide: don't call memcpy with the same source and destination 2017-05-08 17:36:39 -04:00
ide-ioctls.c scsi: introduce a result field in struct scsi_request 2017-04-20 12:16:10 -06:00
ide-iops.c
ide-legacy.c
ide-lib.c
ide-park.c scsi: introduce a result field in struct scsi_request 2017-04-20 12:16:10 -06:00
ide-pci-generic.c
ide-pio-blacklist.c
ide-pm.c ide-pm: always pass 0 error to __blk_end_request_all 2017-04-26 07:53:34 -06:00
ide-pnp.c
ide-probe.c ide: use setup_timer 2017-05-08 17:36:39 -04:00
ide-proc.c
ide-scan-pci.c
ide-sysfs.c
ide-tape.c scsi: introduce a result field in struct scsi_request 2017-04-20 12:16:10 -06:00
ide-taskfile.c scsi: introduce a result field in struct scsi_request 2017-04-20 12:16:10 -06:00
ide-timings.c
ide-xfer-mode.c
ide.c
it821x.c
it8172.c
it8213.c
jmicron.c
Kconfig block: make scsi_request and scsi ioctl support optional 2017-01-31 10:53:05 -07:00
macide.c
Makefile
ns87415.c
opti621.c
palm_bk3710.c ide: palm_bk3710: add __initdata to palm_bk3710_port_info 2017-02-27 20:43:26 -05:00
pdc202xx_new.c
pdc202xx_old.c
piix.c
pmac.c
q40ide.c
qd65xx.c
qd65xx.h
rapide.c
rz1000.c
sc1200.c
serverworks.c
setup-pci.c
sgiioc4.c
siimage.c
sis5513.c block: split scsi_request out of struct request 2017-01-27 15:08:35 -07:00
sl82c105.c
slc90e66.c
tc86c001.c
triflex.c
trm290.c
tx4938ide.c
tx4939ide.c
umc8672.c
via82cxxx.c