diff options
| author | Damien Le Moal <[email protected]> | 2022-02-20 12:17:48 +0900 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-02-22 21:31:18 -0500 |
| commit | f8b12dfb476dad38ce755aaf5e2df46f06f1822e (patch) | |
| tree | 47e413cc7646613269f3b3e82ab9e4a9215aeb9e /tools/perf/scripts/python | |
| parent | ca374f5d92b8ae778f6a37dd3e7ed809bbf7a953 (diff) | |
scsi: pm8001: Fix payload initialization in pm80xx_encrypt_update()
All fields of the kek_mgmt_req structure have the type __le32. So make sure
to use cpu_to_le32() to initialize them. This suppresses the sparse
warning:
warning: incorrect type in assignment (different base types)
expected restricted __le32 [addressable] [assigned] [usertype] new_curidx_ksop
got int
Link: https://lore.kernel.org/r/[email protected]
Fixes: f5860992db55 ("[SCSI] pm80xx: Added SPCv/ve specific hardware functionalities and relevant changes in common files")
Reviewed-by: Jack Wang <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions