diff options
| author | 2023-01-09 02:08:24 +0530 | |
|---|---|---|
| committer | 2023-01-23 21:15:02 -0500 | |
| commit | 4fd62973739de61cf4c83b960db7d1824bd854a3 (patch) | |
| tree | 416bc8985d5f886537cb674f9713cd4420e6abc1 /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | scsi: elx: libefc_sli: Use "/*" for non-kernel-doc comment (diff) | |
scsi: qla2xxx: Use a variable for repeated mem_size computation
Use a variable to compute memory size to be allocated once instead of
repeatedly computing it at different locations in the function. Issue
identified using the array_size_dup Coccinelle semantic patch.
Link: https://lore.kernel.org/r/Y7spwF8HTt0c0l7y@ubun2204.myguest.virtualbox.org
Signed-off-by: Deepak R Varma <drv@mailo.com>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
