OpenCloudOS-Kernel/drivers/ata
Harvey Harrison d9c74fbead pata_amd: fix sparse warning
Current code is essentially choosing between dividing by 1 or
dividing by two, make the conditions a little more obvious.

As a bonus, removes a sparse error:
drivers/ata/pata_amd.c:59:11: warning: symbol '__x' shadows an earlier one
drivers/ata/pata_amd.c:59:11: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2008-04-17 15:44:18 -04:00
..
Kconfig ACPI: fix ATA_ACPI build 2008-03-18 00:26:07 -04:00
Makefile [libata] Add support for the RB500 PATA CompactFlash 2008-03-10 20:54:05 -04:00
ahci.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
ata_generic.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
ata_piix.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
libata-acpi.c libata-acpi: improve dock event handling 2008-03-17 08:26:42 -04:00
libata-core.c libata: kill ata_chk_status() call from ata_dev_configure() 2008-04-17 15:44:18 -04:00
libata-eh.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
libata-pmp.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
libata-scsi.c libata: kill ata_ehi_schedule_probe() 2008-04-17 15:44:16 -04:00
libata-sff.c libata: kill ata_chk_status() 2008-04-17 15:44:18 -04:00
libata.h libata: reorganize SFF related stuff 2008-04-17 15:44:18 -04:00
pata_acpi.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_ali.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_amd.c pata_amd: fix sparse warning 2008-04-17 15:44:18 -04:00
pata_artop.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_at32.c libata: implement and use ops inheritance 2008-04-17 15:44:17 -04:00
pata_atiixp.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_bf54x.c libata: kill ata_chk_status() 2008-04-17 15:44:18 -04:00
pata_cmd64x.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_cmd640.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_cs5520.c libata: implement and use ops inheritance 2008-04-17 15:44:17 -04:00
pata_cs5530.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_cs5535.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_cs5536.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_cypress.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_efar.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_hpt3x2n.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_hpt3x3.c libata: implement and use ops inheritance 2008-04-17 15:44:17 -04:00
pata_hpt37x.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_hpt366.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_icside.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_isapnp.c libata: implement and use ops inheritance 2008-04-17 15:44:17 -04:00
pata_it821x.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_it8213.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_ixp4xx_cf.c libata: implement and use ops inheritance 2008-04-17 15:44:17 -04:00
pata_jmicron.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_legacy.c libata: implement and use ops inheritance 2008-04-17 15:44:17 -04:00
pata_marvell.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_mpc52xx.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_mpiix.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_netcell.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_ninja32.c libata: implement and use ops inheritance 2008-04-17 15:44:17 -04:00
pata_ns87410.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_ns87415.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_of_platform.c Rename: linux/pata_platform.h to linux/ata_platform.h 2008-02-06 06:54:17 -05:00
pata_oldpiix.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_opti.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_optidma.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_pcmcia.c libata: implement and use ops inheritance 2008-04-17 15:44:17 -04:00
pata_pdc202xx_old.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_pdc2027x.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_platform.c libata: implement and use ops inheritance 2008-04-17 15:44:17 -04:00
pata_qdi.c libata: implement and use ops inheritance 2008-04-17 15:44:17 -04:00
pata_radisys.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_rb500_cf.c libata: implement and use ops inheritance 2008-04-17 15:44:17 -04:00
pata_rz1000.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_sc1200.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_scc.c libata: kill ata_chk_status() 2008-04-17 15:44:18 -04:00
pata_serverworks.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_sil680.c libata: stop overloading port_info->private_data 2008-04-17 15:44:17 -04:00
pata_sis.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_sl82c105.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_triflex.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_via.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
pata_winbond.c libata: implement and use ops inheritance 2008-04-17 15:44:17 -04:00
pdc_adma.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
sata_fsl.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
sata_inic162x.c libata: kill ata_chk_status() 2008-04-17 15:44:18 -04:00
sata_mv.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
sata_nv.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
sata_promise.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
sata_promise.h libata annotations and fixes 2008-01-23 05:24:15 -05:00
sata_qstor.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
sata_sil.c libata: kill ata_chk_status() 2008-04-17 15:44:18 -04:00
sata_sil24.c libata: make reset related methods proper port operations 2008-04-17 15:44:18 -04:00
sata_sis.c libata: implement and use ops inheritance 2008-04-17 15:44:17 -04:00
sata_svw.c libata: implement and use ops inheritance 2008-04-17 15:44:17 -04:00
sata_sx4.c libata: implement and use ops inheritance 2008-04-17 15:44:17 -04:00
sata_uli.c libata: implement and use ops inheritance 2008-04-17 15:44:17 -04:00
sata_via.c libata: kill ata_chk_status() 2008-04-17 15:44:18 -04:00
sata_vsc.c libata: kill ata_chk_status() 2008-04-17 15:44:18 -04:00
sis.h libata: PATA-mode fixes for sis_sata 2007-07-02 10:17:42 -04:00