linux_dsm_epyc7002/drivers/scsi/lpfc
Tejun Heo 83096ebf12 block: convert to pos and nr_sectors accessors
With recent cleanups, there is no place where low level driver
directly manipulates request fields.  This means that the 'hard'
request fields always equal the !hard fields.  Convert all
rq->sectors, nr_sectors and current_nr_sectors references to
accessors.

While at it, drop superflous blk_rq_pos() < 0 test in swim.c.

[ Impact: use pos and nr_sectors accessors ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Tested-by: Grant Likely <grant.likely@secretlab.ca>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Tested-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Acked-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Acked-by: Mike Miller <mike.miller@hp.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: Borislav Petkov <petkovbb@googlemail.com>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Cc: Eric Moore <Eric.Moore@lsi.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Pete Zaitcev <zaitcev@redhat.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Paul Clements <paul.clements@steeleye.com>
Cc: Tim Waugh <tim@cyberelk.net>
Cc: Jeff Garzik <jgarzik@pobox.com>
Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
Cc: Alex Dubov <oakad@yahoo.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Dario Ballabio <ballabio_dario@emc.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: unsik Kim <donari75@gmail.com>
Cc: Laurent Vivier <Laurent@lvivier.info>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-05-11 09:50:54 +02:00
..
lpfc_attr.c [SCSI] lpfc : correct printk types on PPC compiles 2008-12-29 11:24:34 -06:00
lpfc_compat.h
lpfc_crtn.h [SCSI] lpfc 8.3.0 : Add BlockGuard support (T10-DIF) structs and defs 2008-12-29 11:24:27 -06:00
lpfc_ct.c [SCSI] lpfc 8.3.0 : Fix multiple NPIV issues 2008-12-29 11:24:26 -06:00
lpfc_debugfs.c [SCSI] lpfc: constify virtual function tables 2009-03-12 12:57:56 -05:00
lpfc_debugfs.h [SCSI] lpfc 8.3.0 : Hook lpfc's debugfs into Kconfig 2008-12-29 11:24:28 -06:00
lpfc_disc.h [SCSI] lpfc 8.2.8 v2 : Add statistical reporting control and additional fc vendor events 2008-10-13 09:28:57 -04:00
lpfc_els.c [SCSI] lpfc: introduce missing kfree 2009-02-10 11:15:19 -05:00
lpfc_hbadisc.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
lpfc_hw.h [SCSI] lpfc 8.3.0 : Add BlockGuard support (T10-DIF) structs and defs 2008-12-29 11:24:27 -06:00
lpfc_init.c dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) 2009-04-07 08:31:11 -07:00
lpfc_logmsg.h [SCSI] lpfc 8.3.0 : Add BlockGuard support (T10-DIF) structs and defs 2008-12-29 11:24:27 -06:00
lpfc_mbox.c [SCSI] lpfc 8.3.0 : Add BlockGuard support (T10-DIF) code 2008-12-29 11:24:28 -06:00
lpfc_mem.c [SCSI] lpfc 8.2.8 v2 : Add statistical reporting control and additional fc vendor events 2008-10-13 09:28:57 -04:00
lpfc_nl.h [SCSI] lpfc 8.3.0 : Added 3 small features and improve PCI EEH support 2008-12-29 11:24:26 -06:00
lpfc_nportdisc.c [SCSI] lpfc 8.3.0 : Fix several minor issues 2008-12-29 11:24:26 -06:00
lpfc_scsi.c block: convert to pos and nr_sectors accessors 2009-05-11 09:50:54 +02:00
lpfc_scsi.h [SCSI] lpfc 8.3.0 : Add BlockGuard support (T10-DIF) code 2008-12-29 11:24:28 -06:00
lpfc_sli.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
lpfc_sli.h [SCSI] lpfc 8.2.8 : Add new FCOE hardware support 2008-10-13 09:28:54 -04:00
lpfc_version.h [SCSI] lpfc 8.3.0 : Update driver version to 8.3.0 2008-12-29 11:24:28 -06:00
lpfc_vport.c [SCSI] lpfc 8.3.0 : Fix multiple NPIV issues 2008-12-29 11:24:26 -06:00
lpfc_vport.h [SCSI] lpfc 8.2.8 v2 : Add statistical reporting control and additional fc vendor events 2008-10-13 09:28:57 -04:00
lpfc.h [SCSI] lpfc 8.3.0 : Hook lpfc's debugfs into Kconfig 2008-12-29 11:24:28 -06:00
Makefile [SCSI] lpfc: bug fixes 2007-06-17 22:38:11 -05:00