]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: use lower_32_bits and upper_32_bits instead of reinventing them
authorChristoph Hellwig <hch@lst.de>
Thu, 18 Oct 2018 13:03:37 +0000 (15:03 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 7 Nov 2018 02:31:29 +0000 (21:31 -0500)
commit89af19fc0c2a98da60bd3e4465e3ad21bd95f3be
tree6d962353bba7f0fd7590ba0b3f726273b5b4d991
parentb15b4f02cf739bd475cb02def95103153846a8e9
scsi: qla2xxx: use lower_32_bits and upper_32_bits instead of reinventing them

This also moves the optimization for builds with 32-bit dma_addr_t to
the compiler (where it belongs) instead of opencoding it based on
incorrect assumptions.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_target.c
drivers/scsi/qla2xxx/qla_target.h