linux/drivers/scsi/aacraid
Arnd Bergmann 80a94bb357 scsi: aacraid: avoid open-coded upper_32_bits
Shifting a dma_addr_t right by 32 bits causes a compile-time warning
when that type is only 32 bit wide:

drivers/scsi/aacraid/src.c: In function 'aac_src_start_adapter':
drivers/scsi/aacraid/src.c:414:29: error: right shift count >= width of type [-Werror=shift-count-overflow]

This changes the driver to use the predefined macros consistently,
including one correct but open-coded upper_32_bits() instance.

Fixes: d1ef4da848 ("scsi: aacraid: added support for init_struct_8")
Fixes: 423400e64d ("scsi: aacraid: Include HBA direct interface")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2017-02-07 17:25:05 -05:00
..
aachba.c scsi: aacraid: rcode is unsigned and should be signed int 2017-02-07 17:22:28 -05:00
aacraid.h scsi: aacraid: update version 2017-02-03 10:35:04 -05:00
commctrl.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
comminit.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
commsup.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
dpcsup.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
linit.c scsi: aacraid: Change Driver Version Prefix 2017-02-03 10:35:04 -05:00
Makefile [SCSI] aacraid: Add new code for PMC-Sierra's SRC based controller family 2011-03-23 11:36:58 -05:00
nark.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
rkt.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
rx.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
sa.c scsi: aacraid: Update copyrights 2017-02-03 10:35:04 -05:00
src.c scsi: aacraid: avoid open-coded upper_32_bits 2017-02-07 17:25:05 -05:00
TODO