diff options
author | Bart Van Assche <bvanassche@acm.org> | 2020-05-18 23:17:09 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-05-20 03:43:19 +0200 |
commit | ab053c09ee2066a2fe62a755f1e64dbc8eddc17c (patch) | |
tree | 73055919e8c61901ec304e7270b7de906118022b /drivers/clk/clk-devres.c | |
parent | scsi: qla2xxx: Change {RD,WRT}_REG_*() function names from upper case into lo... (diff) | |
download | linux-ab053c09ee2066a2fe62a755f1e64dbc8eddc17c.tar.xz linux-ab053c09ee2066a2fe62a755f1e64dbc8eddc17c.zip |
scsi: qla2xxx: Cast explicitly to uint16_t / uint32_t
Casting a pointer to void * and relying on an implicit cast from void *
to uint16_t or uint32_t suppresses sparse warnings about endianness. Hence
cast explicitly to uint16_t and uint32_t. Additionally, remove superfluous
void * casts.
Link: https://lore.kernel.org/r/20200518211712.11395-13-bvanassche@acm.org
Cc: Arun Easi <aeasi@marvell.com>
Cc: Nilesh Javali <njavali@marvell.com>
Cc: Daniel Wagner <dwagner@suse.de>
Cc: Himanshu Madhani <himanshu.madhani@oracle.com>
Cc: Martin Wilck <mwilck@suse.com>
Cc: Roman Bolshakov <r.bolshakov@yadro.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/clk/clk-devres.c')
0 files changed, 0 insertions, 0 deletions