linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [mac80211-next:pending 17/17] net/mac80211/sta_info.c:1996:18: error: 'RATE_INFO_FLAGS_HE_MCS' undeclared
@ 2017-04-28 20:30 kbuild test robot
  2017-04-28 20:51 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2017-04-28 20:30 UTC (permalink / raw)
  To: Johannes Berg; +Cc: kbuild-all, linux-wireless

[-- Attachment #1: Type: text/plain, Size: 2111 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git pending
head:   c7e12d92078f1789c8409523f81ad89fa8fe4bd8
commit: c7e12d92078f1789c8409523f81ad89fa8fe4bd8 [17/17] mac80211: add support for HE RX rate reporting
config: x86_64-kexec (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout c7e12d92078f1789c8409523f81ad89fa8fe4bd8
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   net/mac80211/sta_info.c: In function 'sta_stats_decode_rate':
>> net/mac80211/sta_info.c:1996:18: error: 'RATE_INFO_FLAGS_HE_MCS' undeclared (first use in this function)
      rinfo->flags = RATE_INFO_FLAGS_HE_MCS;
                     ^~~~~~~~~~~~~~~~~~~~~~
   net/mac80211/sta_info.c:1996:18: note: each undeclared identifier is reported only once for each function it appears in
>> net/mac80211/sta_info.c:1999:8: error: 'struct rate_info' has no member named 'he_gi'
      rinfo->he_gi = STA_STATS_GET(HE_GI, rate);
           ^~
>> net/mac80211/sta_info.c:2000:8: error: 'struct rate_info' has no member named 'he_ru_alloc'
      rinfo->he_ru_alloc = STA_STATS_GET(HE_RU, rate);
           ^~
>> net/mac80211/sta_info.c:2001:8: error: 'struct rate_info' has no member named 'he_dcm'
      rinfo->he_dcm = STA_STATS_GET(HE_DCM, rate);
           ^~

vim +/RATE_INFO_FLAGS_HE_MCS +1996 net/mac80211/sta_info.c

  1990			else
  1991				shift = 0;
  1992			rinfo->legacy = DIV_ROUND_UP(brate, 1 << shift);
  1993			break;
  1994			}
  1995		case STA_STATS_RATE_TYPE_HE:
> 1996			rinfo->flags = RATE_INFO_FLAGS_HE_MCS;
  1997			rinfo->mcs = STA_STATS_GET(HE_MCS, rate);
  1998			rinfo->nss = STA_STATS_GET(HE_NSS, rate);
> 1999			rinfo->he_gi = STA_STATS_GET(HE_GI, rate);
> 2000			rinfo->he_ru_alloc = STA_STATS_GET(HE_RU, rate);
> 2001			rinfo->he_dcm = STA_STATS_GET(HE_DCM, rate);
  2002			break;
  2003		}
  2004	}

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 25160 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-28 20:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-28 20:30 [mac80211-next:pending 17/17] net/mac80211/sta_info.c:1996:18: error: 'RATE_INFO_FLAGS_HE_MCS' undeclared kbuild test robot
2017-04-28 20:51 ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).