diff options
| author | Valentin Vidic <[email protected]> | 2017-05-05 07:27:41 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-06-03 17:32:41 +0900 |
| commit | 135e55f1d712fc4f92302aa9daa6304a51963678 (patch) | |
| tree | 6284a92839a08b742cf667fcd967c6f45d618e72 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 82a52f8ee02bfbecc45bcc0b72daafb39304064b (diff) | |
staging: lustre: cleanup le32 assignment to ldp_flags
Introduces a local var to collect flags and convert
them to le32.
Fixes the following sparse warnings:
drivers/staging/lustre/lustre/lmv/lmv_obd.c:2305:23: warning: invalid assignment: |=
drivers/staging/lustre/lustre/lmv/lmv_obd.c:2305:23: left side has type restricted __le32
drivers/staging/lustre/lustre/lmv/lmv_obd.c:2305:23: right side has type int
drivers/staging/lustre/lustre/lmv/lmv_obd.c:2383:39: warning: invalid assignment: |=
drivers/staging/lustre/lustre/lmv/lmv_obd.c:2383:39: left side has type restricted __le32
drivers/staging/lustre/lustre/lmv/lmv_obd.c:2383:39: right side has type int
Signed-off-by: Valentin Vidic <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions