diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-02-07 15:59:30 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-02-08 01:25:05 +0300 |
commit | 80a94bb357813901e61f2dc80deae2015c50fdcd (patch) | |
tree | 308650d1e2ca3854c0213999c37acb96cd4cf692 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 76291469772fb932523c2e0003848934cd29e7cb (diff) | |
download | linux-80a94bb357813901e61f2dc80deae2015c50fdcd.tar.xz |
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: d1ef4da8487f ("scsi: aacraid: added support for init_struct_8")
Fixes: 423400e64d37 ("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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions