linux/drivers/ata
Tejun Heo f7cf69ae17 libata: fix error checking in in ata_parse_force_one()
ata_parse_force_one() was incorrectly comparing @p to @endp when it
should have been comparing @id.  The only consequence is that it may
end up using an invalid port number in "libata.force" module param
instead of rejecting it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Petru-Florin Mihancea <petrum@gmail.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=195785
2017-05-31 14:26:26 -04:00
..
acard-ahci.c
ahci_brcm.c ata: ahci_brcm: Add support for Broadcom NSP SoC 2016-06-16 16:24:55 -04:00
ahci_ceva.c
ahci_da850.c sata: ahci-da850: un-hardcode the MPY bits 2017-01-31 20:41:52 +05:30
ahci_dm816.c ata: ahci: add support for DaVinci DM816 SATA controller 2017-03-24 11:40:03 -04:00
ahci_imx.c ahci: imx: fix building without hwmon or thermal 2017-01-15 18:51:12 -05:00
ahci_mvebu.c ata: ahci_mvebu: add support for Armada 3700 variant 2016-02-18 12:41:17 -05:00
ahci_octeon.c Delete redundant return value check of platform_get_resource() 2017-03-06 15:40:59 -05:00
ahci_platform.c ata: ahci-platform: Add ports-implemented DT bindings. 2016-04-01 10:30:30 -04:00
ahci_qoriq.c ahci: qoriq: correct the sata ecc setting error 2017-03-09 11:55:23 -05:00
ahci_seattle.c ata: fix return value check in ahci_seattle_get_port_info() 2016-06-15 14:26:41 -04:00
ahci_st.c ahci: st: Add ports-implemented property in support 2016-08-10 12:16:49 -04:00
ahci_sunxi.c
ahci_tegra.c
ahci_xgene.c ata: ahci_xgene: free structure returned by acpi_get_object_info() 2017-01-06 11:39:14 -05:00
ahci.c ahci: Acer SA5-271 SSD Not Detected Fix 2017-05-16 11:23:28 -04:00
ahci.h sata: ahci: export ahci_do_hardreset() locally 2017-01-31 17:48:21 +05:30
ata_generic.c
ata_piix.c
Kconfig ARM: SoC driver updates 2017-05-09 10:01:15 -07:00
libahci_platform.c ata: libahci: properly propagate return value of platform_get_irq() 2017-05-16 11:23:29 -04:00
libahci.c sata: ahci: export ahci_do_hardreset() locally 2017-01-31 17:48:21 +05:30
libata-acpi.c
libata-core.c libata: fix error checking in in ata_parse_force_one() 2017-05-31 14:26:26 -04:00
libata-eh.c scripts/spelling.txt: add "followings" pattern and fix typo instances 2017-02-27 18:43:47 -08:00
libata-pmp.c
libata-scsi.c libata: remove SCT WRITE SAME support 2017-04-28 18:09:59 -04:00
libata-sff.c libata: drop WARN from protocol error in ata_sff_qc_issue() 2017-03-06 15:26:54 -05:00
libata-trace.c libata: NCQ encapsulation for ZAC MANAGEMENT OUT 2016-05-09 12:36:46 -04:00
libata-transport.c libata: transport: Remove circular dependency at free time 2017-03-06 15:24:48 -05:00
libata-transport.h
libata-zpodd.c
libata.h Merge branch 'for-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata 2017-02-21 17:21:32 -08:00
Makefile ARM: SoC driver updates 2017-05-09 10:01:15 -07:00
pata_acpi.c
pata_ali.c
pata_amd.c
pata_arasan_cf.c drivers: ata: pata_arasan_cf: use the same name for the same lock 2016-06-28 12:49:40 -04:00
pata_artop.c
pata_at32.c
pata_atiixp.c Revert "pata_atiixp: Don't use unconnected secondary port on SB600/SB700" 2017-03-27 13:52:00 -04:00
pata_atp867x.c
pata_bf54x.c ata: pass queued command to ->sff_data_xfer method 2017-01-10 11:11:17 -05:00
pata_bk3710.c pata_bk3710: clear status bits of BMISP on chipset initialization 2017-03-30 16:13:04 +05:30
pata_cmd64x.c
pata_cmd640.c
pata_cs5520.c
pata_cs5530.c
pata_cs5535.c
pata_cs5536.c
pata_cypress.c
pata_efar.c
pata_ep93xx.c ata: pass queued command to ->sff_data_xfer method 2017-01-10 11:11:17 -05:00
pata_falcon.c Merge branch 'for-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata 2017-02-21 17:21:32 -08:00
pata_hpt3x2n.c
pata_hpt3x3.c
pata_hpt37x.c
pata_hpt366.c ata: hpt366: fix incorrect mask when checking at cmd_high_time 2016-07-12 11:02:05 -04:00
pata_icside.c scsi: rename SCSI_MAX_{SG, SG_CHAIN}_SEGMENTS 2016-04-15 16:53:14 -04:00
pata_imx.c pata: imx: support controller modes up to PIO4 2016-11-09 11:48:58 -05:00
pata_isapnp.c
pata_it821x.c pata_it821x: use "const char *" for string literals 2015-10-15 10:58:53 -04:00
pata_it8213.c
pata_ixp4xx_cf.c ata: pass queued command to ->sff_data_xfer method 2017-01-10 11:11:17 -05:00
pata_jmicron.c
pata_legacy.c ata: pass queued command to ->sff_data_xfer method 2017-01-10 11:11:17 -05:00
pata_macio.c ata: constify of_device_id structures 2017-03-06 15:18:01 -05:00
pata_marvell.c ata: Use IS_ENABLED() instead of checking for built-in or module 2016-05-27 11:27:23 -04:00
pata_mpc52xx.c ata: constify of_device_id structures 2017-03-06 15:18:01 -05:00
pata_mpiix.c
pata_netcell.c
pata_ninja32.c pata_ninja32: Avoid corrupting status flags 2016-08-30 11:59:47 -04:00
pata_ns87410.c
pata_ns87415.c
pata_octeon_cf.c pata_octeon_cf: remove unused local variables from octeon_cf_set_piomode() 2017-01-23 14:28:51 -05:00
pata_of_platform.c ata: constify of_device_id structures 2017-03-06 15:18:01 -05:00
pata_oldpiix.c
pata_opti.c
pata_optidma.c
pata_palmld.c
pata_pcmcia.c ata: pass queued command to ->sff_data_xfer method 2017-01-10 11:11:17 -05:00
pata_pdc202xx_old.c
pata_pdc2027x.c
pata_piccolo.c
pata_platform.c
pata_pxa.c
pata_radisys.c
pata_rb532_cf.c pata-rb532-cf: get rid of the irq_to_gpio() call 2016-02-18 11:26:27 -05:00
pata_rdc.c
pata_rz1000.c
pata_samsung_cf.c ata: pass queued command to ->sff_data_xfer method 2017-01-10 11:11:17 -05:00
pata_sc1200.c
pata_sch.c
pata_serverworks.c
pata_sil680.c
pata_sis.c
pata_sl82c105.c
pata_triflex.c
pata_via.c
pdc_adma.c
sata_dwc_460ex.c ata: sata_dwc_460ex: remove redundant dev_err call 2016-07-19 14:32:04 -04:00
sata_fsl.c ata: constify of_device_id structures 2017-03-06 15:18:01 -05:00
sata_highbank.c remove lots of IS_ERR_VALUE abuses 2016-05-27 15:26:11 -07:00
sata_inic162x.c
sata_mv.c Revert "ata: sata_mv: Convert to devm_ioremap_resource()" 2017-05-24 10:56:32 -04:00
sata_nv.c
sata_promise.c
sata_promise.h
sata_qstor.c
sata_rcar.c ata: sata_rcar: Handle return value of clk_prepare_enable 2017-05-16 11:23:28 -04:00
sata_sil24.c
sata_sil.c sata_sil: disable trim 2015-11-30 10:02:49 -05:00
sata_sis.c
sata_svw.c
sata_sx4.c sata_sx4: correctly handling failed allocation 2015-12-31 21:33:42 -05:00
sata_uli.c
sata_via.c sata_via: Enable hotplug only on VT6421 2017-04-11 09:12:18 +09:00
sata_vsc.c
sis.h