diff options
| author | Nathan Chancellor <[email protected]> | 2018-09-26 17:32:01 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-09-28 14:30:52 +0200 |
| commit | 71c29144481299bbc587ac3cb16a39737a3a1488 (patch) | |
| tree | 499bd6d0243a3c7d2348f283d4abe51d1c8a3f95 /tools/perf/scripts/python/bin | |
| parent | 6505090a34ef1b69df234f0b64a61646a220c345 (diff) | |
staging: rtl8188eu: Use proper enum in rtl8188eu_config_rf_reg
Clang warns when an enumerated type is implicitly converted to another.
drivers/staging/rtl8188eu/hal/rf_cfg.c:180:25: warning: implicit
conversion from enumeration type 'enum rf90_radio_path' to different
enumeration type 'enum rf_radio_path' [-Wenum-conversion]
rtl_rfreg_delay(adapt, RF90_PATH_A, addr | maskforphyset,
~~~~~~~~~~~~~~~ ^~~~~~~~~~~
1 warning generated.
Avoid this by using the equivalent value from the expected type,
rf_radio_path:
RF90_PATH_A = RF_PATH_A = 0
Link: https://github.com/ClangBuiltLinux/linux/issues/164
Signed-off-by: Nathan Chancellor <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions