diff options
| author | Damien Le Moal <[email protected]> | 2022-02-20 12:17:51 +0900 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2022-02-22 21:31:18 -0500 |
| commit | e5039a92f1502c94f1fcf645995ee810394fb6cc (patch) | |
| tree | 3536d9b0858baa86be229519de6415c9ad05ea52 /drivers/scsi/pm8001/pm8001_init.c | |
| parent | fd6d0e376211d7ed759db96b0fbd9a1cee67d462 (diff) | |
scsi: pm8001: Fix use of struct set_phy_profile_req fields
In mpi_set_phy_profile_req() and pm8001_set_phy_profile_single(), use
cpu_to_le32() to initialize the ppc_phyid field of struct
set_phy_profile_req. Furthermore, fix the definition of the reserved field
of this structure to be an array of __le32, to match the use of
cpu_to_le32() when assigning values. These changes remove several sparse
type warnings.
Link: https://lore.kernel.org/r/[email protected]
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 'drivers/scsi/pm8001/pm8001_init.c')
0 files changed, 0 insertions, 0 deletions