[mac80211-next:vht-he 11/14] net/mac80211/vht.c:575:0: error: unterminated argument list invoking macro "if"

From: kbuild test robot <hidden>
Date: 2017-02-15 14:28:57

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git vht-he
head:   860f13022f1783b9ac8e5ce4aed06ac9dbf110cb
commit: 5df804200a23280b5c7955996897a5a235a96cb7 [11/14] mac80211: copy VHT EXT NSS BW Support/Capable data to station
config: i386-randconfig-x076-201707 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 5df804200a23280b5c7955996897a5a235a96cb7
        # save the attached .config to linux build tree
        make ARCH=i386 

All error/warnings (new ones prefixed by >>):

   net/mac80211/vht.c: In function 'ieee80211_vht_cap_ie_to_sta_vht_cap':
quoted
net/mac80211/vht.c:575:0: error: unterminated argument list invoking macro "if"
    }
    
quoted
net/mac80211/vht.c:305:3: error: expected '(' at end of input
      if (!(vht_cap->vht_mcs.tx_highest &
      ^~
quoted
net/mac80211/vht.c:305:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   net/mac80211/vht.c:575:0: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    }
    
quoted
net/mac80211/vht.c:305:3: error: expected declaration or statement at end of input
      if (!(vht_cap->vht_mcs.tx_highest &
      ^~
quoted
net/mac80211/vht.c:305:3: error: expected declaration or statement at end of input
vim +/if +575 net/mac80211/vht.c

b119ad6e Lorenzo Bianconi 2015-08-06  569  		case IEEE80211_VHT_MCS_NOT_SUPPORTED:
b119ad6e Lorenzo Bianconi 2015-08-06  570  		default:
b119ad6e Lorenzo Bianconi 2015-08-06  571  			vht_mask[i] = 0;
b119ad6e Lorenzo Bianconi 2015-08-06  572  			break;
b119ad6e Lorenzo Bianconi 2015-08-06  573  		}
b119ad6e Lorenzo Bianconi 2015-08-06  574  	}
b119ad6e Lorenzo Bianconi 2015-08-06 @575  }

:::::: The code at line 575 was first introduced by commit
:::::: b119ad6e726cc805f739f8f6843b9de4df1f895e mac80211: add rate mask logic for vht rates

:::::: TO: Lorenzo Bianconi [off-list ref]
:::::: CC: Johannes Berg [off-list ref]

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help