diff options
| author | Arnd Bergmann <[email protected]> | 2020-10-26 22:49:07 +0100 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-10-29 21:52:02 -0400 |
| commit | 3fb52041a832a253f708c845dff081a0c4fef35e (patch) | |
| tree | c5c17bac61978777b1b0cd215f7c35e099a12f58 /tools/perf/scripts/python/bin/flamegraph-report | |
| parent | 8fd9efca86d083bb6fe8676ed4edd1c626d19367 (diff) | |
scsi: libfc: Fix enum-conversion warning
gcc -Wextra points out an assignment between two different enum types:
drivers/scsi/libfc/fc_exch.c: In function 'fc_exch_setup_hdr':
../drivers/scsi/libfc/fc_exch.c:275:26: warning: implicit conversion from 'enum fc_class' to 'enum fc_sof' [-Wenum-conversion]
This seems to be intentional, as the same numeric values are used here, so
shut up the warning by adding an explicit cast.
Link: https://lore.kernel.org/r/[email protected]
Fixes: 42e9a92fe6a9 ("[SCSI] libfc: A modular Fibre Channel library")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-report')
0 files changed, 0 insertions, 0 deletions