summaryrefslogtreecommitdiff
path: root/drivers/dma/fsl_raid.h
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2019-03-07 17:03:22 -0700
committerLuca Coelho <luciano.coelho@intel.com>2019-04-19 10:27:33 +0300
commitf8510d67d658c4f4fb7dcb13560d4c99e4de5082 (patch)
tree22d06a58e59628754a1d524389a89da8771a8707 /drivers/dma/fsl_raid.h
parent2644f9d0db43043c662f425598ea8329fcb78c4d (diff)
iwlwifi: mvm: Change an 'else if' into an 'else' in iwl_mvm_send_add_bcast_sta
When building with -Wsometimes-uninitialized, Clang warns: drivers/net/wireless/intel/iwlwifi/mvm/sta.c:2114:12: warning: variable 'queue' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] Clang can't evaluate at this point that WARN(1, ...) always returns true because __ret_warn_on is defined as !!(condition), which isn't immediately evaluated as 1. Change this branch to else so that it's clear to Clang that we intend to bail out here. Link: https://github.com/ClangBuiltLinux/linux/issues/399 Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> [added a few more braces] Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/dma/fsl_raid.h')
0 files changed, 0 insertions, 0 deletions