diff options
| author | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-02-20 12:17:42 +0900 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-02-22 21:31:16 -0500 |
| commit | c58e935e809a9337bb34c5d6f62cf0a6d0496b31 (patch) | |
| tree | 2dac0296173074e757367cdaa9d02d2b2cb8ff51 /lib/mpi/mpiutil.c | |
| parent | d2ed913b9a42e8f9072e4ef836727ff50eb8b8cc (diff) | |
scsi: pm8001: Fix pm8001_update_flash() local variable type
Change the type of partitionSizeTmp from u32 to __be32 to suppress the
sparse warning:
warning: cast to restricted __be32
Link: https://lore.kernel.org/r/20220220031810.738362-4-damien.lemoal@opensource.wdc.com
Reviewed-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
