diff options
| author | Alok Tiwari <alok.a.tiwari@oracle.com> | 2025-10-21 02:03:52 -0700 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2025-10-23 23:02:15 -0400 |
| commit | e9ff858c9adff26f5d2f77d3575e39fb1470027c (patch) | |
| tree | 224b2fad3acde4d856bad9ded973d93148950469 /include/ufs | |
| parent | e414748b7e83673cc777ce33e44d90e5157d687f (diff) | |
scsi: qla4xxx: Use correct variable in memset for clarity
Both mbox_cmd and mbox_sts have the same size, so using sizeof(mbox_cmd)
when clearing mbox_sts did not cause any functional issue. However, it
is misleading and reduces code readability.
Update the memset() calls to use sizeof(mbox_sts) to make the intent
clear
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Link: https://patch.msgid.link/20251021090354.1804327-1-alok.a.tiwari@oracle.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/ufs')
0 files changed, 0 insertions, 0 deletions