1. 01 Oct, 2018 1 commit
    • Nathan Chancellor's avatar
      ipw2x00: Remove unnecessary parentheses · c15ace86
      Nathan Chancellor authored
      Clang warns when multiple pairs of parentheses are used for a single
      conditional statement.
      
      drivers/net/wireless/intel/ipw2x00/ipw2200.c:5655:28: warning: equality
      comparison with extraneous parentheses [-Wparentheses-equality]
                      if ((priv->ieee->iw_mode == IW_MODE_ADHOC)) {
                           ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
      drivers/net/wireless/intel/ipw2x00/ipw2200.c:5655:28: note: remove
      extraneous parentheses around the comparison to silence this warning
                      if ((priv->ieee->iw_mode == IW_MODE_ADHOC)) {
                          ~                    ^               ~
      drivers/net/wireless/intel/ipw2x00/ipw2200.c:5655:28: note: use '=' to
      turn this equality comparison into an assignment
                      if ((priv->ieee->iw_mode == IW_MODE_ADHOC)) {
                                               ^~
                                               =
      1 warning generated.
      
      Link: https://github.com/ClangBuiltLinux/linux/issues/134Signed-off-by: default avatarNathan Chancellor <natechancellor@gmail.com>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      c15ace86
  2. 20 Sep, 2018 7 commits
  3. 19 Sep, 2018 32 commits