diff options
author | Benjamin Block <bblock@linux.ibm.com> | 2023-02-21 18:55:58 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2023-02-22 04:00:51 +0100 |
commit | 79f9abd64719cc71ba78a76574e21dc8266c65a3 (patch) | |
tree | 32de71d424f329077f230bff43267b9db19f24bb /drivers/bus | |
parent | scsi: ufs: core: Simplify ufshcd_execute_start_stop() (diff) | |
download | linux-79f9abd64719cc71ba78a76574e21dc8266c65a3.tar.xz linux-79f9abd64719cc71ba78a76574e21dc8266c65a3.zip |
scsi: zfcp: Make the type for accessing request hashtable buckets size_t
The appropriate type for array indices is 'size_t' and the current
implementation in 'zfcp_reqlist.h' mixes 'int' and 'unsigned int' in
different places to access the hashtable buckets of our internal request
hash table.
To prevent any confusion, change all places to 'size_t'.
Link: https://lore.kernel.org/r/64afe93f6263c6b07815937826cd7d5fc4f1a674.1677000450.git.bblock@linux.ibm.com
Signed-off-by: Benjamin Block <bblock@linux.ibm.com>
Reviewed-by: Steffen Maier <maier@linux.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/bus')
0 files changed, 0 insertions, 0 deletions