The patch titled
Subject: resource: fix integer overflow at reallocation
has been added to the -mm tree. Its filename is
resource-fix-integer-overflow-at-reallocation-v1.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/resource-fix-integer-overflow-at-r…
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/resource-fix-integer-overflow-at-r…
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Takashi Iwai <tiwai(a)suse.de>
Subject: resource: fix integer overflow at reallocation
We've got a bug report indicating a kernel panic at booting on an x86-32
system, and it turned out to be the invalid PCI resource assigned after
reallocation. __find_resource() first aligns the resource start address
and resets the end address with start+size-1 accordingly, then checks
whether it's contained. Here the end address may overflow the integer,
although resource_contains() still returns true because the function
validates only start and end address. So this ends up with returning an
invalid resource (start > end).
There was already an attempt to cover such a problem in the commit
47ea91b4052d ("Resource: fix wrong resource window calculation"), but this
case is an overseen one.
This patch adds the validity check of the newly calculated resource for
avoiding the integer overflow problem.
Bugzilla: http://bugzilla.opensuse.org/show_bug.cgi?id=1086739
Link: http://lkml.kernel.org/r/s5hpo37d5l8.wl-tiwai@suse.de
Fixes: 23c570a67448 ("resource: ability to resize an allocated resource")
Signed-off-by: Takashi Iwai <tiwai(a)suse.de>
Reported-by: Michael Henders <hendersm(a)shaw.ca>
Tested-by: Michael Henders <hendersm(a)shaw.ca>
Reviewed-by: Andrew Morton <akpm(a)linux-foundation.org>
Cc: Ram Pai <linuxram(a)us.ibm.com>
Cc: Bjorn Helgaas <bhelgaas(a)google.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
kernel/resource.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff -puN kernel/resource.c~resource-fix-integer-overflow-at-reallocation-v1 kernel/resource.c
--- a/kernel/resource.c~resource-fix-integer-overflow-at-reallocation-v1
+++ a/kernel/resource.c
@@ -651,7 +651,8 @@ static int __find_resource(struct resour
alloc.start = constraint->alignf(constraint->alignf_data, &avail,
size, constraint->align);
alloc.end = alloc.start + size - 1;
- if (resource_contains(&avail, &alloc)) {
+ if (alloc.start <= alloc.end &&
+ resource_contains(&avail, &alloc)) {
new->start = alloc.start;
new->end = alloc.end;
return 0;
_
Patches currently in -mm which might be from tiwai(a)suse.de are
resource-fix-integer-overflow-at-reallocation-v1.patch
resource-fix-integer-overflow-at-reallocation.patch
The patch titled
Subject: writeback: safer lock nesting
has been added to the -mm tree. Its filename is
writeback-safer-lock-nesting.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/writeback-safer-lock-nesting.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/writeback-safer-lock-nesting.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Greg Thelen <gthelen(a)google.com>
Subject: writeback: safer lock nesting
lock_page_memcg()/unlock_page_memcg() use spin_lock_irqsave/restore() if
the page's memcg is undergoing move accounting, which occurs when a
process leaves its memcg for a new one that has
memory.move_charge_at_immigrate set.
unlocked_inode_to_wb_begin,end() use spin_lock_irq/spin_unlock_irq() if
the given inode is switching writeback domains. Switches occur when
enough writes are issued from a new domain.
This existing pattern is thus suspicious:
lock_page_memcg(page);
unlocked_inode_to_wb_begin(inode, &locked);
...
unlocked_inode_to_wb_end(inode, locked);
unlock_page_memcg(page);
If both inode switch and process memcg migration are both in-flight then
unlocked_inode_to_wb_end() will unconditionally enable interrupts while
still holding the lock_page_memcg() irq spinlock. This suggests the
possibility of deadlock if an interrupt occurs before unlock_page_memcg().
truncate
__cancel_dirty_page
lock_page_memcg
unlocked_inode_to_wb_begin
unlocked_inode_to_wb_end
<interrupts mistakenly enabled>
<interrupt>
end_page_writeback
test_clear_page_writeback
lock_page_memcg
<deadlock>
unlock_page_memcg
Due to configuration limitations this deadlock is not currently possible
because we don't mix cgroup writeback (a cgroupv2 feature) and
memory.move_charge_at_immigrate (a cgroupv1 feature).
If the kernel is hacked to always claim inode switching and memcg
moving_account, then this script triggers lockup in less than a minute:
cd /mnt/cgroup/memory
mkdir a b
echo 1 > a/memory.move_charge_at_immigrate
echo 1 > b/memory.move_charge_at_immigrate
(
echo $BASHPID > a/cgroup.procs
while true; do
dd if=/dev/zero of=/mnt/big bs=1M count=256
done
) &
while true; do
sync
done &
sleep 1h &
SLEEP=$!
while true; do
echo $SLEEP > a/cgroup.procs
echo $SLEEP > b/cgroup.procs
done
Given the deadlock is not currently possible, it's debatable if there's
any reason to modify the kernel. I suggest we should to prevent future
surprises.
Wang Long said "this deadlock occurs three times in our environment"
Change-Id: Ibb773e8045852978f6207074491d262f1b3fb613
Link: http://lkml.kernel.org/r/20180410005908.167976-1-gthelen@google.com
Signed-off-by: Greg Thelen <gthelen(a)google.com>
Reported-by: Wang Long <wanglong19(a)meituan.com>
Acked-by: Wang Long <wanglong19(a)meituan.com>
Reviewed-by: Andrew Morton <akpm(a)linux-foundation.org>
Cc: Wang Long <wanglong19(a)meituan.com>
Cc: Michal Hocko <mhocko(a)kernel.org>
Cc: Johannes Weiner <hannes(a)cmpxchg.org>
Cc: Tejun Heo <tj(a)kernel.org>
Cc: Nicholas Piggin <npiggin(a)gmail.com>
Cc: <stable(a)vger.kernel.org>
Signed-off-by: Andrew Morton <akpm(a)linux-foundation.org>
---
fs/fs-writeback.c | 7 +++---
include/linux/backing-dev-defs.h | 5 ++++
include/linux/backing-dev.h | 30 +++++++++++++++--------------
mm/page-writeback.c | 18 ++++++++---------
4 files changed, 34 insertions(+), 26 deletions(-)
diff -puN fs/fs-writeback.c~writeback-safer-lock-nesting fs/fs-writeback.c
--- a/fs/fs-writeback.c~writeback-safer-lock-nesting
+++ a/fs/fs-writeback.c
@@ -745,11 +745,12 @@ int inode_congested(struct inode *inode,
*/
if (inode && inode_to_wb_is_valid(inode)) {
struct bdi_writeback *wb;
- bool locked, congested;
+ struct wb_lock_cookie lock_cookie;
+ bool congested;
- wb = unlocked_inode_to_wb_begin(inode, &locked);
+ wb = unlocked_inode_to_wb_begin(inode, &lock_cookie);
congested = wb_congested(wb, cong_bits);
- unlocked_inode_to_wb_end(inode, locked);
+ unlocked_inode_to_wb_end(inode, &lock_cookie);
return congested;
}
diff -puN include/linux/backing-dev-defs.h~writeback-safer-lock-nesting include/linux/backing-dev-defs.h
--- a/include/linux/backing-dev-defs.h~writeback-safer-lock-nesting
+++ a/include/linux/backing-dev-defs.h
@@ -223,6 +223,11 @@ static inline void set_bdi_congested(str
set_wb_congested(bdi->wb.congested, sync);
}
+struct wb_lock_cookie {
+ bool locked;
+ unsigned long flags;
+};
+
#ifdef CONFIG_CGROUP_WRITEBACK
/**
diff -puN include/linux/backing-dev.h~writeback-safer-lock-nesting include/linux/backing-dev.h
--- a/include/linux/backing-dev.h~writeback-safer-lock-nesting
+++ a/include/linux/backing-dev.h
@@ -346,7 +346,7 @@ static inline struct bdi_writeback *inod
/**
* unlocked_inode_to_wb_begin - begin unlocked inode wb access transaction
* @inode: target inode
- * @lockedp: temp bool output param, to be passed to the end function
+ * @cookie: output param, to be passed to the end function
*
* The caller wants to access the wb associated with @inode but isn't
* holding inode->i_lock, mapping->tree_lock or wb->list_lock. This
@@ -354,12 +354,11 @@ static inline struct bdi_writeback *inod
* association doesn't change until the transaction is finished with
* unlocked_inode_to_wb_end().
*
- * The caller must call unlocked_inode_to_wb_end() with *@lockdep
- * afterwards and can't sleep during transaction. IRQ may or may not be
- * disabled on return.
+ * The caller must call unlocked_inode_to_wb_end() with *@cookie afterwards and
+ * can't sleep during transaction. IRQ may or may not be disabled on return.
*/
static inline struct bdi_writeback *
-unlocked_inode_to_wb_begin(struct inode *inode, bool *lockedp)
+unlocked_inode_to_wb_begin(struct inode *inode, struct wb_lock_cookie *cookie)
{
rcu_read_lock();
@@ -367,10 +366,10 @@ unlocked_inode_to_wb_begin(struct inode
* Paired with store_release in inode_switch_wb_work_fn() and
* ensures that we see the new wb if we see cleared I_WB_SWITCH.
*/
- *lockedp = smp_load_acquire(&inode->i_state) & I_WB_SWITCH;
+ cookie->locked = smp_load_acquire(&inode->i_state) & I_WB_SWITCH;
- if (unlikely(*lockedp))
- spin_lock_irq(&inode->i_mapping->tree_lock);
+ if (unlikely(cookie->locked))
+ spin_lock_irqsave(&inode->i_mapping->tree_lock, cookie->flags);
/*
* Protected by either !I_WB_SWITCH + rcu_read_lock() or tree_lock.
@@ -382,12 +381,14 @@ unlocked_inode_to_wb_begin(struct inode
/**
* unlocked_inode_to_wb_end - end inode wb access transaction
* @inode: target inode
- * @locked: *@lockedp from unlocked_inode_to_wb_begin()
+ * @cookie: @cookie from unlocked_inode_to_wb_begin()
*/
-static inline void unlocked_inode_to_wb_end(struct inode *inode, bool locked)
+static inline void unlocked_inode_to_wb_end(struct inode *inode,
+ struct wb_lock_cookie *cookie)
{
- if (unlikely(locked))
- spin_unlock_irq(&inode->i_mapping->tree_lock);
+ if (unlikely(cookie->locked))
+ spin_unlock_irqrestore(&inode->i_mapping->tree_lock,
+ cookie->flags);
rcu_read_unlock();
}
@@ -434,12 +435,13 @@ static inline struct bdi_writeback *inod
}
static inline struct bdi_writeback *
-unlocked_inode_to_wb_begin(struct inode *inode, bool *lockedp)
+unlocked_inode_to_wb_begin(struct inode *inode, struct wb_lock_cookie *cookie)
{
return inode_to_wb(inode);
}
-static inline void unlocked_inode_to_wb_end(struct inode *inode, bool locked)
+static inline void unlocked_inode_to_wb_end(struct inode *inode,
+ struct wb_lock_cookie *cookie)
{
}
diff -puN mm/page-writeback.c~writeback-safer-lock-nesting mm/page-writeback.c
--- a/mm/page-writeback.c~writeback-safer-lock-nesting
+++ a/mm/page-writeback.c
@@ -2501,13 +2501,13 @@ void account_page_redirty(struct page *p
if (mapping && mapping_cap_account_dirty(mapping)) {
struct inode *inode = mapping->host;
struct bdi_writeback *wb;
- bool locked;
+ struct wb_lock_cookie cookie = {0};
- wb = unlocked_inode_to_wb_begin(inode, &locked);
+ wb = unlocked_inode_to_wb_begin(inode, &cookie);
current->nr_dirtied--;
dec_node_page_state(page, NR_DIRTIED);
dec_wb_stat(wb, WB_DIRTIED);
- unlocked_inode_to_wb_end(inode, locked);
+ unlocked_inode_to_wb_end(inode, &cookie);
}
}
EXPORT_SYMBOL(account_page_redirty);
@@ -2613,15 +2613,15 @@ void __cancel_dirty_page(struct page *pa
if (mapping_cap_account_dirty(mapping)) {
struct inode *inode = mapping->host;
struct bdi_writeback *wb;
- bool locked;
+ struct wb_lock_cookie cookie = {0};
lock_page_memcg(page);
- wb = unlocked_inode_to_wb_begin(inode, &locked);
+ wb = unlocked_inode_to_wb_begin(inode, &cookie);
if (TestClearPageDirty(page))
account_page_cleaned(page, mapping, wb);
- unlocked_inode_to_wb_end(inode, locked);
+ unlocked_inode_to_wb_end(inode, &cookie);
unlock_page_memcg(page);
} else {
ClearPageDirty(page);
@@ -2653,7 +2653,7 @@ int clear_page_dirty_for_io(struct page
if (mapping && mapping_cap_account_dirty(mapping)) {
struct inode *inode = mapping->host;
struct bdi_writeback *wb;
- bool locked;
+ struct wb_lock_cookie cookie = {0};
/*
* Yes, Virginia, this is indeed insane.
@@ -2690,14 +2690,14 @@ int clear_page_dirty_for_io(struct page
* always locked coming in here, so we get the desired
* exclusion.
*/
- wb = unlocked_inode_to_wb_begin(inode, &locked);
+ wb = unlocked_inode_to_wb_begin(inode, &cookie);
if (TestClearPageDirty(page)) {
dec_lruvec_page_state(page, NR_FILE_DIRTY);
dec_zone_page_state(page, NR_ZONE_WRITE_PENDING);
dec_wb_stat(wb, WB_RECLAIMABLE);
ret = 1;
}
- unlocked_inode_to_wb_end(inode, locked);
+ unlocked_inode_to_wb_end(inode, &cookie);
return ret;
}
return TestClearPageDirty(page);
_
Patches currently in -mm which might be from gthelen(a)google.com are
writeback-safer-lock-nesting.patch
Hi,
[This is an automated email]
This commit has been processed because it contains a "Fixes:" tag,
fixing commit: 00f3ca2c2d66 mm: memcontrol: per-lruvec stats infrastructure.
The bot has also determined it's probably a bug fixing patch. (score: 40.3266)
The bot has tested the following trees: v4.16.1, v4.15.16, v4.14.33.
v4.16.1: Build OK!
v4.15.16: Failed to apply! Possible dependencies:
a983b5ebee57 ("mm: memcontrol: fix excessive complexity in memory.stat reporting")
v4.14.33: Failed to apply! Possible dependencies:
a983b5ebee57 ("mm: memcontrol: fix excessive complexity in memory.stat reporting")
--
Thanks,
Sasha
This is a note to let you know that I've just added the patch titled
fix race in drivers/char/random.c:get_reg()
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
fix-race-in-drivers-char-random.c-get_reg.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Apr 9 17:09:24 CEST 2018
From: Michael Schmitz <schmitzmic(a)gmail.com>
Date: Sun, 30 Apr 2017 19:49:21 +1200
Subject: fix race in drivers/char/random.c:get_reg()
From: Michael Schmitz <schmitzmic(a)gmail.com>
[ Upstream commit 9dfa7bba35ac08a63565d58c454dccb7e1bb0a08 ]
get_reg() can be reentered on architectures with prioritized interrupts
(m68k in this case), causing f->reg_index to be incremented after the
range check. Out of bounds memory access past the pt_regs struct results.
This will go mostly undetected unless access is beyond end of memory.
Prevent the race by disabling interrupts in get_reg().
Tested on m68k (Atari Falcon, and ARAnyM emulator).
Kudos to Geert Uytterhoeven for helping to trace this race.
Signed-off-by: Michael Schmitz <schmitzmic(a)gmail.com>
Signed-off-by: Theodore Ts'o <tytso(a)mit.edu>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/char/random.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
--- a/drivers/char/random.c
+++ b/drivers/char/random.c
@@ -1115,12 +1115,16 @@ static void add_interrupt_bench(cycles_t
static __u32 get_reg(struct fast_pool *f, struct pt_regs *regs)
{
__u32 *ptr = (__u32 *) regs;
+ unsigned long flags;
if (regs == NULL)
return 0;
+ local_irq_save(flags);
if (f->reg_idx >= sizeof(struct pt_regs) / sizeof(__u32))
f->reg_idx = 0;
- return *(ptr + f->reg_idx++);
+ ptr += f->reg_idx++;
+ local_irq_restore(flags);
+ return *ptr;
}
void add_interrupt_randomness(int irq, int irq_flags)
Patches currently in stable-queue which might be from schmitzmic(a)gmail.com are
queue-4.9/fix-race-in-drivers-char-random.c-get_reg.patch
Tree/Branch: v4.1.51
Git describe: v4.1.51
Commit: 2d61e08a10 Linux 4.1.51
Build Time: 0 min 17 sec
Passed: 0 / 11 ( 0.00 %)
Failed: 11 / 11 (100.00 %)
Errors: 918
Warnings: 172
Section Mismatches: 0
Failed defconfigs:
arm64-allnoconfig
arm64-allmodconfig
arm-multi_v5_defconfig
arm-multi_v7_defconfig
x86_64-defconfig
arm-allmodconfig
arm-allnoconfig
x86_64-allnoconfig
arm-multi_v4t_defconfig
x86_64-allmodconfig
arm64-defconfig
Errors:
arm64-allnoconfig
../include/linux/thread_info.h:128:2: error: implicit declaration of function 'WARN_ON' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/arch_timer.h:113:2: error: implicit declaration of function 'BUG' [-Werror=implicit-function-declaration]
../include/linux/kref.h:47:2: error: implicit declaration of function 'WARN_ON_ONCE' [-Werror=implicit-function-declaration]
../include/linux/dma-attrs.h:54:2: error: implicit declaration of function 'BUG_ON' [-Werror=implicit-function-declaration]
../include/linux/jump_label.h:60:32: error: implicit declaration of function 'WARN' [-Werror=implicit-function-declaration]
arm64-allmodconfig
../include/linux/mmdebug.h:17:25: error: implicit declaration of function 'BUG_ON' [-Werror=implicit-function-declaration]
arm-multi_v5_defconfig
../arch/arm/mm/init.c:235:24: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/init.c:235:33: error: '_end' undeclared (first use in this function)
../arch/arm/mm/init.c:536:16: error: '_text' undeclared (first use in this function)
../arch/arm/mm/init.c:536:23: error: '_etext' undeclared (first use in this function)
../arch/arm/mm/init.c:537:16: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:537:30: error: '__init_end' undeclared (first use in this function)
../arch/arm/mm/init.c:538:16: error: '_sdata' undeclared (first use in this function)
../arch/arm/mm/init.c:538:24: error: '_edata' undeclared (first use in this function)
../arch/arm/mm/init.c:539:16: error: '__bss_start' undeclared (first use in this function)
../arch/arm/mm/init.c:539:29: error: '__bss_stop' undeclared (first use in this function)
../arch/arm/mm/init.c:723:18: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:723:32: error: '__init_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:769:37: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:770:37: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:771:37: error: '_sdata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:772:37: error: '_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:928:39: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:929:39: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:930:39: error: '_edata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:931:35: error: '_end' undeclared (first use in this function)
../arch/arm/mm/mmu.c:1332:47: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/mmu.c:1333:43: error: '__init_end' undeclared (first use in this function)
../mm/page_alloc.c:5582:13: error: '_etext' undeclared (first use in this function)
../mm/page_alloc.c:5582:22: error: '_stext' undeclared (first use in this function)
../mm/page_alloc.c:5583:13: error: '_edata' undeclared (first use in this function)
../mm/page_alloc.c:5583:22: error: '_sdata' undeclared (first use in this function)
../mm/page_alloc.c:5584:11: error: '__end_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5584:26: error: '__start_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5585:13: error: '__bss_stop' undeclared (first use in this function)
../mm/page_alloc.c:5585:26: error: '__bss_start' undeclared (first use in this function)
../mm/page_alloc.c:5586:19: error: '__init_end' undeclared (first use in this function)
../mm/page_alloc.c:5586:32: error: '__init_begin' undeclared (first use in this function)
../mm/page_alloc.c:5587:19: error: '_einittext' undeclared (first use in this function)
../mm/page_alloc.c:5587:32: error: '_sinittext' undeclared (first use in this function)
../mm/util.c:22:32: error: '__start_rodata' undeclared (first use in this function)
../mm/util.c:23:25: error: '__end_rodata' undeclared (first use in this function)
../kernel/extable.c:64:29: error: '_sinittext' undeclared (first use in this function)
../kernel/extable.c:65:28: error: '_einittext' undeclared (first use in this function)
../kernel/extable.c:72:29: error: '_stext' undeclared (first use in this function)
../kernel/extable.c:73:28: error: '_etext' undeclared (first use in this function)
../kernel/extable.c:94:29: error: '_sdata' undeclared (first use in this function)
../kernel/extable.c:95:28: error: '_edata' undeclared (first use in this function)
../kernel/extable.c:140:25: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../net/core/sock.c:708:7: error: 'SO_REUSEPORT' undeclared (first use in this function)
../net/core/sock.c:906:7: error: 'SO_ATTACH_BPF' undeclared (first use in this function)
../net/core/sock.c:923:7: error: 'SO_LOCK_FILTER' undeclared (first use in this function)
../net/core/sock.c:962:7: error: 'SO_SELECT_ERR_QUEUE' undeclared (first use in this function)
../net/core/sock.c:967:7: error: 'SO_BUSY_POLL' undeclared (first use in this function)
../net/core/sock.c:980:7: error: 'SO_MAX_PACING_RATE' undeclared (first use in this function)
../net/core/sock.c:1055:7: error: 'SO_REUSEPORT' undeclared (first use in this function)
../net/core/sock.c:1213:7: error: 'SO_GET_FILTER' undeclared (first use in this function)
../net/core/sock.c:1220:7: error: 'SO_LOCK_FILTER' undeclared (first use in this function)
../net/core/sock.c:1224:7: error: 'SO_BPF_EXTENSIONS' undeclared (first use in this function)
../net/core/sock.c:1228:7: error: 'SO_SELECT_ERR_QUEUE' undeclared (first use in this function)
../net/core/sock.c:1233:7: error: 'SO_BUSY_POLL' undeclared (first use in this function)
../net/core/sock.c:1238:7: error: 'SO_MAX_PACING_RATE' undeclared (first use in this function)
../net/core/sock.c:1242:7: error: 'SO_INCOMING_CPU' undeclared (first use in this function)
../kernel/profile.c:106:14: error: '_etext' undeclared (first use in this function)
../kernel/profile.c:106:23: error: '_stext' undeclared (first use in this function)
../kernel/profile.c:396:45: error: '_stext' undeclared (first use in this function)
../kernel/module.c:907:35: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../kernel/kallsyms.c:57:29: error: '_sinittext' undeclared (first use in this function)
../kernel/kallsyms.c:58:32: error: '_einittext' undeclared (first use in this function)
../kernel/kallsyms.c:65:30: error: '_stext' undeclared (first use in this function)
../kernel/kallsyms.c:65:63: error: '_etext' undeclared (first use in this function)
../kernel/kallsyms.c:66:6: error: implicit declaration of function 'arch_is_kernel_text' [-Werror=implicit-function-declaration]
../kernel/kallsyms.c:73:29: error: '_stext' undeclared (first use in this function)
../kernel/kallsyms.c:73:62: error: '_end' undeclared (first use in this function)
../kernel/kallsyms.c:257:32: error: '_einittext' undeclared (first use in this function)
../kernel/kallsyms.c:259:32: error: '_end' undeclared (first use in this function)
../kernel/kallsyms.c:261:32: error: '_etext' undeclared (first use in this function)
../lib/vsprintf.c:1474:9: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../net/packet/af_packet.c:2420:9: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2420:24: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2471:25: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2483:28: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2484:33: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2485:9: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2488:9: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2491:9: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2959:10: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2959:25: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2977:25: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2979:25: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2981:25: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2987:26: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2989:24: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2992:21: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2998:21: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../net/sunrpc/xprtsock.c:1635:38: error: 'SO_REUSEPORT' undeclared (first use in this function)
arm-multi_v7_defconfig
../arch/arm/mm/init.c:235:24: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/init.c:235:33: error: '_end' undeclared (first use in this function)
../arch/arm/mm/init.c:536:16: error: '_text' undeclared (first use in this function)
../arch/arm/mm/init.c:536:23: error: '_etext' undeclared (first use in this function)
../arch/arm/mm/init.c:537:16: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:537:30: error: '__init_end' undeclared (first use in this function)
../arch/arm/mm/init.c:538:16: error: '_sdata' undeclared (first use in this function)
../arch/arm/mm/init.c:538:24: error: '_edata' undeclared (first use in this function)
../arch/arm/mm/init.c:539:16: error: '__bss_start' undeclared (first use in this function)
../arch/arm/mm/init.c:539:29: error: '__bss_stop' undeclared (first use in this function)
../arch/arm/mm/init.c:723:18: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:723:32: error: '__init_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:769:37: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:770:37: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:771:37: error: '_sdata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:772:37: error: '_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:928:39: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:929:39: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:930:39: error: '_edata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:931:35: error: '_end' undeclared (first use in this function)
../arch/arm/mm/mmu.c:1332:47: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/mmu.c:1333:43: error: '__init_end' undeclared (first use in this function)
../mm/page_alloc.c:5582:13: error: '_etext' undeclared (first use in this function)
../mm/page_alloc.c:5582:22: error: '_stext' undeclared (first use in this function)
../mm/page_alloc.c:5583:13: error: '_edata' undeclared (first use in this function)
../mm/page_alloc.c:5583:22: error: '_sdata' undeclared (first use in this function)
../mm/page_alloc.c:5584:11: error: '__end_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5584:26: error: '__start_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5585:13: error: '__bss_stop' undeclared (first use in this function)
../mm/page_alloc.c:5585:26: error: '__bss_start' undeclared (first use in this function)
../mm/page_alloc.c:5586:19: error: '__init_end' undeclared (first use in this function)
../mm/page_alloc.c:5586:32: error: '__init_begin' undeclared (first use in this function)
../mm/page_alloc.c:5587:19: error: '_einittext' undeclared (first use in this function)
../mm/page_alloc.c:5587:32: error: '_sinittext' undeclared (first use in this function)
../mm/util.c:22:32: error: '__start_rodata' undeclared (first use in this function)
../mm/util.c:23:25: error: '__end_rodata' undeclared (first use in this function)
../mm/percpu.c:90:21: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:96:20: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:1302:29: error: '__per_cpu_end' undeclared (first use in this function)
../mm/percpu.c:1302:45: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:90:21: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:1575:35: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:1800:29: error: '__per_cpu_end' undeclared (first use in this function)
../mm/percpu.c:1800:45: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:2026:16: error: '__per_cpu_load' undeclared (first use in this function)
../mm/percpu.c:2228:57: error: '__per_cpu_start' undeclared (first use in this function)
../kernel/extable.c:64:29: error: '_sinittext' undeclared (first use in this function)
../kernel/extable.c:65:28: error: '_einittext' undeclared (first use in this function)
../kernel/extable.c:72:29: error: '_stext' undeclared (first use in this function)
../kernel/extable.c:73:28: error: '_etext' undeclared (first use in this function)
../kernel/extable.c:94:29: error: '_sdata' undeclared (first use in this function)
../kernel/extable.c:95:28: error: '_edata' undeclared (first use in this function)
../kernel/extable.c:140:25: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../kernel/module.c:907:35: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../kernel/kallsyms.c:57:29: error: '_sinittext' undeclared (first use in this function)
../kernel/kallsyms.c:58:32: error: '_einittext' undeclared (first use in this function)
../kernel/kallsyms.c:65:30: error: '_stext' undeclared (first use in this function)
../kernel/kallsyms.c:65:63: error: '_etext' undeclared (first use in this function)
../kernel/kallsyms.c:66:6: error: implicit declaration of function 'arch_is_kernel_text' [-Werror=implicit-function-declaration]
../kernel/kallsyms.c:73:29: error: '_stext' undeclared (first use in this function)
../kernel/kallsyms.c:73:62: error: '_end' undeclared (first use in this function)
../kernel/kallsyms.c:257:32: error: '_einittext' undeclared (first use in this function)
../kernel/kallsyms.c:259:32: error: '_end' undeclared (first use in this function)
../kernel/kallsyms.c:261:32: error: '_etext' undeclared (first use in this function)
../kernel/kexec.c:1950:20: error: '_stext' undeclared (first use in this function)
../net/core/sock.c:708:7: error: 'SO_REUSEPORT' undeclared (first use in this function)
../net/core/sock.c:906:7: error: 'SO_ATTACH_BPF' undeclared (first use in this function)
../net/core/sock.c:923:7: error: 'SO_LOCK_FILTER' undeclared (first use in this function)
../net/core/sock.c:962:7: error: 'SO_SELECT_ERR_QUEUE' undeclared (first use in this function)
../net/core/sock.c:967:7: error: 'SO_BUSY_POLL' undeclared (first use in this function)
../net/core/sock.c:980:7: error: 'SO_MAX_PACING_RATE' undeclared (first use in this function)
../net/core/sock.c:1055:7: error: 'SO_REUSEPORT' undeclared (first use in this function)
../net/core/sock.c:1213:7: error: 'SO_GET_FILTER' undeclared (first use in this function)
../net/core/sock.c:1220:7: error: 'SO_LOCK_FILTER' undeclared (first use in this function)
../net/core/sock.c:1224:7: error: 'SO_BPF_EXTENSIONS' undeclared (first use in this function)
../net/core/sock.c:1228:7: error: 'SO_SELECT_ERR_QUEUE' undeclared (first use in this function)
../net/core/sock.c:1233:7: error: 'SO_BUSY_POLL' undeclared (first use in this function)
../net/core/sock.c:1238:7: error: 'SO_MAX_PACING_RATE' undeclared (first use in this function)
../net/core/sock.c:1242:7: error: 'SO_INCOMING_CPU' undeclared (first use in this function)
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../net/packet/af_packet.c:2420:9: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2420:24: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2471:25: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2483:28: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2484:33: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2485:9: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2488:9: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2491:9: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2959:10: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2959:25: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2977:25: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2979:25: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2981:25: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2987:26: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2989:24: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2992:21: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2998:21: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../net/sunrpc/xprtsock.c:1635:38: error: 'SO_REUSEPORT' undeclared (first use in this function)
../lib/vsprintf.c:1474:9: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../drivers/net/usb/cdc_ether.c:76:19: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:77:6: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:84:17: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:86:17: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:90:4: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:170:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:176:20: error: dereferencing pointer to incomplete type 'struct usb_cdc_header_desc'
../drivers/net/usb/cdc_ether.c:182:8: error: 'USB_CDC_ACM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:190:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_acm_descriptor'
../drivers/net/usb/cdc_ether.c:199:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:205:15: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/net/usb/cdc_ether.c:257:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:263:19: error: dereferencing pointer to incomplete type 'struct usb_cdc_ether_desc'
../drivers/net/usb/cdc_ether.c:274:8: error: 'USB_CDC_MDLM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:282:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_desc'
../drivers/net/usb/cdc_ether.c:288:8: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:296:14: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_detail_desc'
../drivers/net/usb/cdc_ether.c:362:17: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:439:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:450:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:455:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:461:4: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:538:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/cdc_ether.c:539:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/cdc_ether.c:626:4: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
../drivers/net/usb/zaurus.c:163:8: error: 'USB_CDC_MDLM_TYPE' undeclared (first use in this function)
../drivers/net/usb/zaurus.c:169:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_desc'
../drivers/net/usb/zaurus.c:182:8: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared (first use in this function)
../drivers/net/usb/zaurus.c:188:18: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_detail_desc'
../drivers/net/usb/zaurus.c:268:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/zaurus.c:269:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/zaurus.c:319:4: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
../include/linux/usb/cdc_ncm.h:88:36: error: field 'ncm_parm' has incomplete type
../drivers/net/usb/cdc_ncm.c:153:8: error: 'USB_CDC_NCM_NTB_MIN_IN_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:176:60: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:346:29: error: 'USB_CDC_SET_NTB_INPUT_SIZE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:408:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_desc'
../drivers/net/usb/cdc_ncm.c:410:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_ncm_desc'
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:435:37: error: dereferencing pointer to incomplete type 'const struct usb_cdc_ether_desc'
../drivers/net/usb/cdc_ncm.c:448:29: error: 'USB_CDC_GET_NTB_PARAMETERS' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:459:27: error: 'USB_CDC_NCM_NCAP_CRC_MODE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:461:31: error: 'USB_CDC_SET_CRC_MODE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:464:12: error: 'USB_CDC_NCM_CRC_NOT_APPENDED' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:476:7: error: 'USB_CDC_NCM_NTB32_SUPPORTED' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:478:31: error: 'USB_CDC_SET_NTB_FORMAT' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:481:12: error: 'USB_CDC_NCM_NTB16_FORMAT' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:507:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:507:94: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:530:29: error: 'USB_CDC_NCM_NCAP_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:534:29: error: 'USB_CDC_GET_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:546:30: error: 'USB_CDC_SET_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:558:49: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_extended_desc'
../drivers/net/usb/cdc_ncm.c:577:13: error: 'USB_CDC_NCM_NDP_ALIGN_MIN_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:757:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:758:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
../drivers/net/usb/cdc_ncm.c:772:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:780:8: error: 'USB_CDC_NCM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:787:8: error: 'USB_CDC_MBIM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:794:8: error: 'USB_CDC_MBIM_EXTENDED_TYPE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1029:38: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1034:13: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:38: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:73: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1091:70: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1091:108: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1092:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1092:36: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1093:45: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1145:28: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1145:64: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1150:48: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1296:56: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1319:28: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1320:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1327:11: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1327:40: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1364:26: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1378:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1379:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1382:14: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1383:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1418:40: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1426:37: error: increment of pointer to an incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1427:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1480:38: error: dereferencing pointer to incomplete type 'struct usb_cdc_speed_change'
../drivers/net/usb/cdc_ncm.c:1507:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ncm.c:1520:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1532:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1534:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_speed_change'
../drivers/net/usb/cdc_ncm.c:1538:19: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ncm.c:1592:26: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
../drivers/net/usb/cdc_ncm.c:1593:26: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
x86_64-defconfig
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:25: error: 'RTIT_CTL_TSC_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:43: error: 'RTIT_CTL_DISRETC' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:196:18: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:8: error: 'RTIT_CTL_TOPA' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:24: error: 'RTIT_CTL_BRANCH_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:45: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:206:10: error: 'RTIT_CTL_OS' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:208:10: error: 'RTIT_CTL_USR' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:25: error: 'RTIT_CTL_TSC_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:43: error: 'RTIT_CTL_DISRETC' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:221:10: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:519:15: error: 'RTIT_STATUS_ERROR' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:525:15: error: 'RTIT_STATUS_STOPPED' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:1071:22: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../net/packet/af_packet.c:2420:9: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2420:24: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2471:25: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2483:28: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2484:33: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2485:9: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2488:9: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2491:9: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2959:10: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2959:25: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2977:25: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2979:25: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2981:25: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2987:26: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2989:24: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2992:21: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2998:21: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
arm-allmodconfig
../init/main.c:685:32: error: '__ctors_start' undeclared (first use in this function)
../init/main.c:687:28: error: '__ctors_end' undeclared (first use in this function)
../arch/arm/mm/init.c:235:24: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/init.c:235:33: error: '_end' undeclared (first use in this function)
../arch/arm/mm/init.c:536:16: error: '_text' undeclared (first use in this function)
../arch/arm/mm/init.c:536:23: error: '_etext' undeclared (first use in this function)
../arch/arm/mm/init.c:537:16: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:537:30: error: '__init_end' undeclared (first use in this function)
../arch/arm/mm/init.c:538:16: error: '_sdata' undeclared (first use in this function)
../arch/arm/mm/init.c:538:24: error: '_edata' undeclared (first use in this function)
../arch/arm/mm/init.c:539:16: error: '__bss_start' undeclared (first use in this function)
../arch/arm/mm/init.c:539:29: error: '__bss_stop' undeclared (first use in this function)
../arch/arm/mm/init.c:583:25: error: '_stext' undeclared here (not in a function)
../arch/arm/mm/init.c:589:27: error: '__init_begin' undeclared here (not in a function)
../arch/arm/mm/init.c:590:25: error: '_sdata' undeclared here (not in a function)
../arch/arm/mm/init.c:597:28: error: '__start_rodata' undeclared here (not in a function)
../arch/arm/mm/init.c:609:13: error: initializer element is not constant
../arch/arm/mm/init.c:610:13: error: initializer element is not constant
../arch/arm/mm/init.c:723:32: error: '__init_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:769:37: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:770:37: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:771:37: error: '_sdata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:772:37: error: '_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:928:39: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:929:39: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:930:39: error: '_edata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:931:35: error: '_end' undeclared (first use in this function)
../arch/arm/mm/mmu.c:1332:47: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/mmu.c:1333:43: error: '__init_end' undeclared (first use in this function)
../arch/arm/kernel/hibernate.c:29:48: error: '__nosave_begin' undeclared (first use in this function)
../arch/arm/kernel/hibernate.c:30:46: error: '__nosave_end' undeclared (first use in this function)
../mm/page_alloc.c:5582:13: error: '_etext' undeclared (first use in this function)
../mm/page_alloc.c:5582:22: error: '_stext' undeclared (first use in this function)
../mm/page_alloc.c:5583:13: error: '_edata' undeclared (first use in this function)
../mm/page_alloc.c:5583:22: error: '_sdata' undeclared (first use in this function)
../mm/page_alloc.c:5584:11: error: '__end_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5584:26: error: '__start_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5585:13: error: '__bss_stop' undeclared (first use in this function)
../mm/page_alloc.c:5585:26: error: '__bss_start' undeclared (first use in this function)
../mm/page_alloc.c:5586:19: error: '__init_end' undeclared (first use in this function)
../mm/page_alloc.c:5586:32: error: '__init_begin' undeclared (first use in this function)
../mm/page_alloc.c:5587:19: error: '_einittext' undeclared (first use in this function)
../mm/page_alloc.c:5587:32: error: '_sinittext' undeclared (first use in this function)
../mm/util.c:22:32: error: '__start_rodata' undeclared (first use in this function)
../mm/util.c:23:25: error: '__end_rodata' undeclared (first use in this function)
../mm/percpu.c:90:21: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:96:20: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:1302:29: error: '__per_cpu_end' undeclared (first use in this function)
../mm/percpu.c:1302:45: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:90:21: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:1575:35: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:1800:29: error: '__per_cpu_end' undeclared (first use in this function)
../mm/percpu.c:1800:45: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:2026:16: error: '__per_cpu_load' undeclared (first use in this function)
../mm/percpu.c:2228:57: error: '__per_cpu_start' undeclared (first use in this function)
../kernel/extable.c:64:29: error: '_sinittext' undeclared (first use in this function)
../kernel/extable.c:65:28: error: '_einittext' undeclared (first use in this function)
../kernel/extable.c:72:29: error: '_stext' undeclared (first use in this function)
../kernel/extable.c:73:28: error: '_etext' undeclared (first use in this function)
../kernel/extable.c:94:29: error: '_sdata' undeclared (first use in this function)
../kernel/extable.c:95:28: error: '_edata' undeclared (first use in this function)
../kernel/extable.c:140:25: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../mm/kmemleak.c:1334:13: error: '_sdata' undeclared (first use in this function)
../mm/kmemleak.c:1334:21: error: '_edata' undeclared (first use in this function)
../mm/kmemleak.c:1335:13: error: '__bss_start' undeclared (first use in this function)
../mm/kmemleak.c:1335:26: error: '__bss_stop' undeclared (first use in this function)
../mm/kmemleak.c:1340:14: error: '__per_cpu_start' undeclared (first use in this function)
../mm/kmemleak.c:1341:7: error: '__per_cpu_end' undeclared (first use in this function)
../kernel/locking/lockdep.c:612:41: error: '_stext' undeclared (first use in this function)
../kernel/locking/lockdep.c:613:34: error: '_end' undeclared (first use in this function)
../kernel/locking/lockdep.c:622:6: error: implicit declaration of function 'arch_is_kernel_data' [-Werror=implicit-function-declaration]
../kernel/profile.c:106:14: error: '_etext' undeclared (first use in this function)
../kernel/profile.c:106:23: error: '_stext' undeclared (first use in this function)
../kernel/profile.c:287:32: error: '_stext' undeclared (first use in this function)
../kernel/module.c:907:35: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../kernel/kallsyms.c:57:29: error: '_sinittext' undeclared (first use in this function)
../kernel/kallsyms.c:58:32: error: '_einittext' undeclared (first use in this function)
../kernel/kallsyms.c:65:30: error: '_stext' undeclared (first use in this function)
../kernel/kallsyms.c:65:63: error: '_etext' undeclared (first use in this function)
../kernel/kallsyms.c:66:6: error: implicit declaration of function 'arch_is_kernel_text' [-Werror=implicit-function-declaration]
../kernel/kallsyms.c:73:29: error: '_stext' undeclared (first use in this function)
../kernel/kallsyms.c:73:62: error: '_end' undeclared (first use in this function)
../kernel/kallsyms.c:257:32: error: '_einittext' undeclared (first use in this function)
../kernel/kallsyms.c:259:32: error: '_end' undeclared (first use in this function)
../kernel/kallsyms.c:261:32: error: '_etext' undeclared (first use in this function)
../kernel/kexec.c:1950:20: error: '_stext' undeclared (first use in this function)
../net/core/sock.c:708:7: error: 'SO_REUSEPORT' undeclared (first use in this function)
../net/core/sock.c:906:7: error: 'SO_ATTACH_BPF' undeclared (first use in this function)
../net/core/sock.c:923:7: error: 'SO_LOCK_FILTER' undeclared (first use in this function)
../net/core/sock.c:962:7: error: 'SO_SELECT_ERR_QUEUE' undeclared (first use in this function)
../net/core/sock.c:967:7: error: 'SO_BUSY_POLL' undeclared (first use in this function)
../net/core/sock.c:980:7: error: 'SO_MAX_PACING_RATE' undeclared (first use in this function)
../net/core/sock.c:1055:7: error: 'SO_REUSEPORT' undeclared (first use in this function)
../net/core/sock.c:1213:7: error: 'SO_GET_FILTER' undeclared (first use in this function)
../net/core/sock.c:1220:7: error: 'SO_LOCK_FILTER' undeclared (first use in this function)
../net/core/sock.c:1224:7: error: 'SO_BPF_EXTENSIONS' undeclared (first use in this function)
../net/core/sock.c:1228:7: error: 'SO_SELECT_ERR_QUEUE' undeclared (first use in this function)
../net/core/sock.c:1233:7: error: 'SO_BUSY_POLL' undeclared (first use in this function)
../net/core/sock.c:1238:7: error: 'SO_MAX_PACING_RATE' undeclared (first use in this function)
../net/core/sock.c:1242:7: error: 'SO_INCOMING_CPU' undeclared (first use in this function)
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../net/netfilter/nf_conntrack_proto_sctp.c:52:35: error: 'SCTP_CONNTRACK_MAX' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:53:3: error: 'SCTP_CONNTRACK_CLOSED' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:53:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:54:3: error: 'SCTP_CONNTRACK_COOKIE_WAIT' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:54:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:55:3: error: 'SCTP_CONNTRACK_COOKIE_ECHOED' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:55:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:56:3: error: 'SCTP_CONNTRACK_ESTABLISHED' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:56:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:57:3: error: 'SCTP_CONNTRACK_SHUTDOWN_SENT' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:57:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:58:3: error: 'SCTP_CONNTRACK_SHUTDOWN_RECD' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:58:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:59:3: error: 'SCTP_CONNTRACK_SHUTDOWN_ACK_SENT' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:59:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:180:22: error: storage size of 'state' isn't known
../net/netfilter/nf_conntrack_proto_sctp.c:237:26: error: parameter 2 ('cur_state') has incomplete type
../net/netfilter/nf_conntrack_proto_sctp.c:236:12: error: function declaration isn't a prototype [-Werror=strict-prototypes]
../net/netfilter/nf_conntrack_proto_sctp.c:310:22: error: storage size of 'new_state' isn't known
../net/netfilter/nf_conntrack_proto_sctp.c:310:33: error: storage size of 'old_state' isn't known
../net/netfilter/nf_conntrack_proto_sctp.c:337:26: error: 'SCTP_CONNTRACK_NONE' undeclared (first use in this function)
../net/netfilter/nf_conntrack_proto_sctp.c:415:22: error: storage size of 'new_state' isn't known
../net/netfilter/nf_conntrack_proto_sctp.c:441:9: error: 'SCTP_CONNTRACK_NONE' undeclared (first use in this function)
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../net/packet/af_packet.c:2420:9: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2420:24: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2471:25: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2483:28: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2484:33: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2485:9: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2488:9: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2491:9: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2959:10: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2959:25: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2977:25: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2979:25: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2981:25: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2987:26: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2989:24: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2992:21: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2998:21: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../lib/dma-debug.c:1184:25: error: '_stext' undeclared (first use in this function)
../lib/dma-debug.c:1184:33: error: '_etext' undeclared (first use in this function)
../lib/dma-debug.c:1185:25: error: '__start_rodata' undeclared (first use in this function)
../lib/dma-debug.c:1185:41: error: '__end_rodata' undeclared (first use in this function)
../drivers/hwtracing/coresight/coresight-etm3x.c:1769:32: error: '_stext' undeclared (first use in this function)
../drivers/hwtracing/coresight/coresight-etm3x.c:1770:32: error: '_etext' undeclared (first use in this function)
../lib/vsprintf.c:1474:9: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../net/sunrpc/xprtsock.c:1635:38: error: 'SO_REUSEPORT' undeclared (first use in this function)
../drivers/input/misc/ims-pcu.c:1638:26: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/input/misc/ims-pcu.c:1647:41: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/input/misc/ims-pcu.c:1677:17: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
../drivers/input/misc/ims-pcu.c:1771:25: error: dereferencing pointer to incomplete type 'struct usb_cdc_line_coding'
../drivers/input/misc/ims-pcu.c:1776:5: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
../drivers/input/misc/ims-pcu.c:1779:18: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_line_coding'
../drivers/input/misc/ims-pcu.c:1788:5: error: 'USB_CDC_REQ_SET_CONTROL_LINE_STATE' undeclared (first use in this function)
../drivers/input/misc/ims-pcu.c:2134:6: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/input/misc/ims-pcu.c:2135:6: error: 'USB_CDC_ACM_PROTO_AT_V25TER' undeclared here (not in a function)
../drivers/misc/kgdbts.c:226:25: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../arch/arm/include/asm/parport.h:12:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'parport_pc_find_isa_ports'
../arch/arm/include/asm/parport.h:13:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'parport_pc_find_nonpci_ports'
../drivers/parport/parport_pc.c:3066:2: error: implicit declaration of function 'parport_pc_find_nonpci_ports' [-Werror=implicit-function-declaration]
../drivers/net/usb/r8152.c:4091:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/r8152.c:4092:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/hso.c:1795:14: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/net/usb/hso.c:1807:24: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/net/usb/hso.c:1852:7: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/net/usb/hso.c:1921:7: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:76:19: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:77:6: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:84:17: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:86:17: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:90:4: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:170:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:176:20: error: dereferencing pointer to incomplete type 'struct usb_cdc_header_desc'
../drivers/net/usb/cdc_ether.c:182:8: error: 'USB_CDC_ACM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:190:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_acm_descriptor'
../drivers/net/usb/cdc_ether.c:199:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:205:15: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/net/usb/cdc_ether.c:257:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:263:19: error: dereferencing pointer to incomplete type 'struct usb_cdc_ether_desc'
../drivers/net/usb/cdc_ether.c:274:8: error: 'USB_CDC_MDLM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:282:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_desc'
../drivers/net/usb/cdc_ether.c:288:8: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:296:14: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_detail_desc'
../drivers/net/usb/cdc_ether.c:362:17: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:439:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:450:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:455:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:461:4: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:538:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/cdc_ether.c:539:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/cdc_ether.c:626:4: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
../drivers/net/usb/cdc_eem.c:357:37: error: 'USB_CDC_SUBCLASS_EEM' undeclared here (not in a function)
../drivers/net/usb/cdc_eem.c:358:4: error: 'USB_CDC_PROTO_EEM' undeclared here (not in a function)
../drivers/net/usb/rndis_host.c:106:30: error: storage size of 'notification' isn't known
../drivers/net/usb/rndis_host.c:130:3: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/net/usb/rndis_host.c:157:4: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/net/usb/zaurus.c:163:8: error: 'USB_CDC_MDLM_TYPE' undeclared (first use in this function)
../drivers/net/usb/zaurus.c:169:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_desc'
../drivers/net/usb/zaurus.c:182:8: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared (first use in this function)
../drivers/net/usb/zaurus.c:188:18: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_detail_desc'
../drivers/net/usb/zaurus.c:268:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/zaurus.c:269:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/zaurus.c:319:4: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
../drivers/net/usb/cdc-phonet.c:355:9: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc-phonet.c:373:50: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
../drivers/net/usb/sierra_net.c:340:33: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/net/usb/sierra_net.c:504:5: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/net/usb/sierra_net.c:611:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/sierra_net.c:617:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/net/usb/sierra_net.c:618:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/net/usb/sierra_net.c:621:7: error: 'USB_CDC_NOTIFY_RESPONSE_AVAILABLE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:88:36: error: field 'ncm_parm' has incomplete type
../drivers/net/usb/cdc_ncm.c:153:8: error: 'USB_CDC_NCM_NTB_MIN_IN_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:176:60: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:346:29: error: 'USB_CDC_SET_NTB_INPUT_SIZE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:408:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_desc'
../drivers/net/usb/cdc_ncm.c:410:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_ncm_desc'
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:435:37: error: dereferencing pointer to incomplete type 'const struct usb_cdc_ether_desc'
../drivers/net/usb/cdc_ncm.c:448:29: error: 'USB_CDC_GET_NTB_PARAMETERS' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:459:27: error: 'USB_CDC_NCM_NCAP_CRC_MODE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:461:31: error: 'USB_CDC_SET_CRC_MODE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:464:12: error: 'USB_CDC_NCM_CRC_NOT_APPENDED' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:476:7: error: 'USB_CDC_NCM_NTB32_SUPPORTED' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:478:31: error: 'USB_CDC_SET_NTB_FORMAT' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:481:12: error: 'USB_CDC_NCM_NTB16_FORMAT' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:507:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:507:94: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:530:29: error: 'USB_CDC_NCM_NCAP_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:534:29: error: 'USB_CDC_GET_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:546:30: error: 'USB_CDC_SET_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:558:49: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_extended_desc'
../drivers/net/usb/cdc_ncm.c:577:13: error: 'USB_CDC_NCM_NDP_ALIGN_MIN_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:757:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:758:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
../drivers/net/usb/cdc_ncm.c:772:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:780:8: error: 'USB_CDC_NCM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:787:8: error: 'USB_CDC_MBIM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:794:8: error: 'USB_CDC_MBIM_EXTENDED_TYPE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1029:38: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1034:13: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:38: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:73: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1055:38: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:73: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1055:38: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:73: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1055:38: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:73: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1091:70: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1091:108: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1092:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1092:36: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1093:45: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1093:45: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1093:45: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1093:45: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1145:28: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1145:64: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1150:48: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1150:48: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1150:48: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1150:48: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1296:56: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1319:28: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1320:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1327:11: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1327:40: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1364:26: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1378:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1379:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1382:14: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1383:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1418:40: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1426:37: error: increment of pointer to an incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1427:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1480:38: error: dereferencing pointer to incomplete type 'struct usb_cdc_speed_change'
../drivers/net/usb/cdc_ncm.c:1507:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ncm.c:1520:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1532:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1534:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_speed_change'
../drivers/net/usb/cdc_ncm.c:1538:19: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ncm.c:1592:26: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
../drivers/net/usb/cdc_ncm.c:1593:26: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../include/linux/usb/cdc_ncm.h:88:36: error: field 'ncm_parm' has incomplete type
../drivers/net/usb/lg-vl600.c:332:5: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/lg-vl600.c:332:32: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/qmi_wwan.c:255:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/net/usb/qmi_wwan.c:260:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/net/usb/qmi_wwan.c:266:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/qmi_wwan.c:271:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/net/usb/qmi_wwan.c:278:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
../drivers/net/usb/qmi_wwan.c:283:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
../drivers/net/usb/qmi_wwan.c:307:20: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/net/usb/qmi_wwan.c:319:28: error: dereferencing pointer to incomplete type 'struct usb_cdc_ether_desc'
../drivers/net/usb/qmi_wwan.c:500:33: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/qmi_wwan.c:501:33: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../include/linux/usb/cdc_ncm.h:88:36: error: field 'ncm_parm' has incomplete type
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:171:34: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_desc'
../drivers/net/usb/cdc_mbim.c:225:28: error: 'USB_CDC_MBIM_NDP16_IPS_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:281:23: error: 'USB_CDC_MBIM_NDP16_DSS_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:438:15: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_mbim.c:439:19: error: 'USB_CDC_MBIM_NDP16_IPS_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:446:19: error: 'USB_CDC_MBIM_NDP16_DSS_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:459:37: error: increment of pointer to an incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_mbim.c:460:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_mbim.c:593:39: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
../drivers/net/usb/cdc_mbim.c:593:61: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/cdc_mbim.c:597:58: error: 'USB_CDC_SUBCLASS_MBIM' undeclared here (not in a function)
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/macvtap.c:52:61: error: unknown type name '__virtio16'
../drivers/net/macvtap.c:57:15: error: unknown type name '__virtio16'
../drivers/net/macvtap.c:493:26: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../drivers/net/macvtap.c:579:14: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../drivers/net/macvtap.c:579:28: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/macvtap.c:580:33: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/macvtap.c:581:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/macvtap.c:584:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/macvtap.c:587:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/macvtap.c:601:24: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/macvtap.c:602:34: error: implicit declaration of function 'macvtap16_to_cpu' [-Werror=implicit-function-declaration]
../drivers/net/macvtap.c:622:29: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../drivers/net/macvtap.c:631:25: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/macvtap.c:633:25: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/macvtap.c:635:25: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/macvtap.c:639:26: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/macvtap.c:641:24: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/macvtap.c:644:21: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/macvtap.c:653:21: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/macvtap.c:670:9: error: variable 'vnet_hdr' has initializer but incomplete type
../drivers/net/macvtap.c:670:24: error: storage size of 'vnet_hdr' isn't known
../drivers/net/macvtap.c:690:25: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/macvtap.c:811:25: error: storage size of 'vnet_hdr' isn't known
../drivers/net/macvtap.c:1077:23: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../drivers/staging/gdm724x/gdm_usb.c:39:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/staging/gdm724x/gdm_mux.c:41:24: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/tun.c:209:56: error: unknown type name '__virtio16'
../drivers/net/tun.c:214:15: error: unknown type name '__virtio16'
../drivers/net/tun.c:1041:9: error: variable 'gso' has initializer but incomplete type
../drivers/net/tun.c:1041:24: error: storage size of 'gso' isn't known
../drivers/net/tun.c:1068:20: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/tun.c:1069:7: error: implicit declaration of function 'tun16_to_cpu' [-Werror=implicit-function-declaration]
../drivers/net/tun.c:1170:22: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/tun.c:1172:27: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/tun.c:1173:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/tun.c:1176:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/tun.c:1179:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/tun.c:1274:10: error: variable 'gso' has initializer but incomplete type
../drivers/net/tun.c:1274:25: error: storage size of 'gso' isn't known
../drivers/net/tun.c:1285:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/tun.c:1287:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/tun.c:1289:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/tun.c:1303:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/tun.c:1305:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/tun.c:1308:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/tun.c:1313:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/tun.c:1653:29: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../drivers/net/tun.c:2043:33: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/virtio_net.c:154:34: error: field 'hdr' has incomplete type
../drivers/net/virtio_net.c:269:27: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
../drivers/net/virtio_net.c:360:16: error: implicit declaration of function 'virtio16_to_cpu' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:480:23: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/virtio_net.c:486:30: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/virtio_net.c:494:27: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/virtio_net.c:496:32: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/virtio_net.c:497:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/virtio_net.c:500:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/virtio_net.c:503:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/virtio_net.c:613:32: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
../drivers/net/virtio_net.c:787:21: error: 'VIRTIO_NET_S_LINK_UP' undeclared (first use in this function)
../drivers/net/virtio_net.c:872:20: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/virtio_net.c:873:25: error: implicit declaration of function 'cpu_to_virtio16' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:887:24: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/virtio_net.c:889:24: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/virtio_net.c:891:24: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/virtio_net.c:895:25: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/virtio_net.c:897:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/virtio_net.c:987:29: error: storage size of 'ctrl' isn't known
../drivers/net/virtio_net.c:988:2: error: unknown type name 'virtio_net_ctrl_ack'
../drivers/net/virtio_net.c:992:10: error: implicit declaration of function 'virtio_has_feature' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:992:39: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1011:20: error: 'VIRTIO_NET_OK' undeclared (first use in this function)
../drivers/net/virtio_net.c:1035:31: error: 'VIRTIO_NET_F_CTRL_MAC_ADDR' undeclared (first use in this function)
../drivers/net/virtio_net.c:1037:33: error: 'VIRTIO_NET_CTRL_MAC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1038:8: error: 'VIRTIO_NET_CTRL_MAC_ADDR_SET' undeclared (first use in this function)
../drivers/net/virtio_net.c:1043:38: error: 'VIRTIO_NET_F_MAC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1044:32: error: 'VIRTIO_F_VERSION_1' undeclared (first use in this function)
../drivers/net/virtio_net.c:1049:4: error: implicit declaration of function 'virtio_cwrite8' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1050:28: error: invalid use of undefined type 'struct virtio_net_config'
../drivers/net/virtio_net.c:1111:32: error: 'VIRTIO_NET_CTRL_ANNOUNCE' undeclared (first use in this function)
../drivers/net/virtio_net.c:1112:7: error: 'VIRTIO_NET_CTRL_ANNOUNCE_ACK' undeclared (first use in this function)
../drivers/net/virtio_net.c:1120:28: error: storage size of 's' isn't known
../drivers/net/virtio_net.c:1123:52: error: 'VIRTIO_NET_F_MQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1129:32: error: 'VIRTIO_NET_CTRL_MQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1130:7: error: 'VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET' undeclared (first use in this function)
../drivers/net/virtio_net.c:1171:36: error: 'VIRTIO_NET_F_CTRL_RX' undeclared (first use in this function)
../drivers/net/virtio_net.c:1179:32: error: 'VIRTIO_NET_CTRL_RX' undeclared (first use in this function)
../drivers/net/virtio_net.c:1180:7: error: 'VIRTIO_NET_CTRL_RX_PROMISC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1187:7: error: 'VIRTIO_NET_CTRL_RX_ALLMULTI' undeclared (first use in this function)
../drivers/net/virtio_net.c:1195:29: error: dereferencing pointer to incomplete type 'struct virtio_net_ctrl_mac'
../drivers/net/virtio_net.c:1203:22: error: implicit declaration of function 'cpu_to_virtio32' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1222:32: error: 'VIRTIO_NET_CTRL_MAC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1223:7: error: 'VIRTIO_NET_CTRL_MAC_TABLE_SET' undeclared (first use in this function)
../drivers/net/virtio_net.c:1237:32: error: 'VIRTIO_NET_CTRL_VLAN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1238:7: error: 'VIRTIO_NET_CTRL_VLAN_ADD' undeclared (first use in this function)
../drivers/net/virtio_net.c:1251:32: error: 'VIRTIO_NET_CTRL_VLAN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1252:7: error: 'VIRTIO_NET_CTRL_VLAN_DEL' undeclared (first use in this function)
../drivers/net/virtio_net.c:1263:4: error: implicit declaration of function 'virtqueue_set_affinity' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1338:26: error: implicit declaration of function 'virtio_bus_name' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1431:6: error: implicit declaration of function 'virtio_cread_feature' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1431:37: error: 'VIRTIO_NET_F_STATUS' undeclared (first use in this function)
../drivers/net/virtio_net.c:1432:6: error: expected expression before 'struct'
../drivers/net/virtio_net.c:1435:10: error: 'VIRTIO_NET_S_ANNOUNCE' undeclared (first use in this function)
../drivers/net/virtio_net.c:1441:7: error: 'VIRTIO_NET_S_LINK_UP' undeclared (first use in this function)
../drivers/net/virtio_net.c:1529:14: error: dereferencing pointer to incomplete type 'const struct virtio_config_ops'
../drivers/net/virtio_net.c:1536:2: error: unknown type name 'vq_callback_t'
../drivers/net/virtio_net.c:1547:36: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1583:36: error: 'VIRTIO_NET_F_CTRL_VLAN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1709:32: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1710:29: error: 'VIRTIO_NET_F_CTRL_RX' undeclared (first use in this function)
../drivers/net/virtio_net.c:1712:29: error: 'VIRTIO_NET_F_CTRL_VLAN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1714:29: error: 'VIRTIO_NET_F_GUEST_ANNOUNCE' undeclared (first use in this function)
../drivers/net/virtio_net.c:1716:29: error: 'VIRTIO_NET_F_MQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1717:29: error: 'VIRTIO_NET_F_CTRL_MAC_ADDR' undeclared (first use in this function)
../drivers/net/virtio_net.c:1742:35: error: 'VIRTIO_NET_F_MQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1743:8: error: expected expression before 'struct'
../drivers/net/virtio_net.c:1747:31: error: 'VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MIN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1748:24: error: 'VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MAX' undeclared (first use in this function)
../drivers/net/virtio_net.c:1749:32: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1766:31: error: 'VIRTIO_NET_F_CSUM' undeclared (first use in this function)
../drivers/net/virtio_net.c:1772:32: error: 'VIRTIO_NET_F_GSO' undeclared (first use in this function)
../drivers/net/virtio_net.c:1777:32: error: 'VIRTIO_NET_F_HOST_TSO4' undeclared (first use in this function)
../drivers/net/virtio_net.c:1779:32: error: 'VIRTIO_NET_F_HOST_TSO6' undeclared (first use in this function)
../drivers/net/virtio_net.c:1781:32: error: 'VIRTIO_NET_F_HOST_ECN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1783:32: error: 'VIRTIO_NET_F_HOST_UFO' undeclared (first use in this function)
../drivers/net/virtio_net.c:1792:31: error: 'VIRTIO_NET_F_GUEST_CSUM' undeclared (first use in this function)
../drivers/net/virtio_net.c:1798:31: error: 'VIRTIO_NET_F_MAC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1799:3: error: implicit declaration of function 'virtio_cread_bytes' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1800:24: error: invalid use of undefined type 'struct virtio_net_config'
../drivers/net/virtio_net.c:1825:31: error: 'VIRTIO_NET_F_GUEST_TSO4' undeclared (first use in this function)
../drivers/net/virtio_net.c:1826:31: error: 'VIRTIO_NET_F_GUEST_TSO6' undeclared (first use in this function)
../drivers/net/virtio_net.c:1827:31: error: 'VIRTIO_NET_F_GUEST_ECN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1828:31: error: 'VIRTIO_NET_F_GUEST_UFO' undeclared (first use in this function)
../drivers/net/virtio_net.c:1831:31: error: 'VIRTIO_NET_F_MRG_RXBUF' undeclared (first use in this function)
../drivers/net/virtio_net.c:1835:31: error: 'VIRTIO_F_VERSION_1' undeclared (first use in this function)
../drivers/net/virtio_net.c:1836:24: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
../drivers/net/virtio_net.c:1838:24: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../drivers/net/virtio_net.c:1840:31: error: 'VIRTIO_F_ANY_LAYOUT' undeclared (first use in this function)
../drivers/net/virtio_net.c:1872:2: error: implicit declaration of function 'virtio_device_ready' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1896:35: error: 'VIRTIO_NET_F_STATUS' undeclared (first use in this function)
../drivers/net/virtio_net.c:1900:16: error: 'VIRTIO_NET_S_LINK_UP' undeclared (first use in this function)
../drivers/net/virtio_net.c:2015:4: error: 'VIRTIO_ID_NET' undeclared here (not in a function)
../drivers/net/virtio_net.c:2020:2: error: 'VIRTIO_NET_F_CSUM' undeclared here (not in a function)
../drivers/net/virtio_net.c:2020:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2020:21: error: 'VIRTIO_NET_F_GUEST_CSUM' undeclared here (not in a function)
../drivers/net/virtio_net.c:2020:21: error: initializer element is not constant
../drivers/net/virtio_net.c:2021:2: error: 'VIRTIO_NET_F_GSO' undeclared here (not in a function)
../drivers/net/virtio_net.c:2021:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2021:20: error: 'VIRTIO_NET_F_MAC' undeclared here (not in a function)
../drivers/net/virtio_net.c:2021:20: error: initializer element is not constant
../drivers/net/virtio_net.c:2022:2: error: 'VIRTIO_NET_F_HOST_TSO4' undeclared here (not in a function)
../drivers/net/virtio_net.c:2022:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2022:26: error: 'VIRTIO_NET_F_HOST_UFO' undeclared here (not in a function)
../drivers/net/virtio_net.c:2022:26: error: initializer element is not constant
../drivers/net/virtio_net.c:2022:49: error: 'VIRTIO_NET_F_HOST_TSO6' undeclared here (not in a function)
../drivers/net/virtio_net.c:2022:49: error: initializer element is not constant
../drivers/net/virtio_net.c:2023:2: error: 'VIRTIO_NET_F_HOST_ECN' undeclared here (not in a function)
../drivers/net/virtio_net.c:2023:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2023:25: error: 'VIRTIO_NET_F_GUEST_TSO4' undeclared here (not in a function)
../drivers/net/virtio_net.c:2023:25: error: initializer element is not constant
../drivers/net/virtio_net.c:2023:50: error: 'VIRTIO_NET_F_GUEST_TSO6' undeclared here (not in a function)
../drivers/net/virtio_net.c:2023:50: error: initializer element is not constant
../drivers/net/virtio_net.c:2024:2: error: 'VIRTIO_NET_F_GUEST_ECN' undeclared here (not in a function)
../drivers/net/virtio_net.c:2024:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2024:26: error: 'VIRTIO_NET_F_GUEST_UFO' undeclared here (not in a function)
../drivers/net/virtio_net.c:2024:26: error: initializer element is not constant
../drivers/net/virtio_net.c:2025:2: error: 'VIRTIO_NET_F_MRG_RXBUF' undeclared here (not in a function)
../drivers/net/virtio_net.c:2025:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2025:26: error: 'VIRTIO_NET_F_STATUS' undeclared here (not in a function)
../drivers/net/virtio_net.c:2025:26: error: initializer element is not constant
../drivers/net/virtio_net.c:2025:47: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared here (not in a function)
../drivers/net/virtio_net.c:2025:47: error: initializer element is not constant
../drivers/net/virtio_net.c:2026:2: error: 'VIRTIO_NET_F_CTRL_RX' undeclared here (not in a function)
../drivers/net/virtio_net.c:2026:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2026:24: error: 'VIRTIO_NET_F_CTRL_VLAN' undeclared here (not in a function)
../drivers/net/virtio_net.c:2026:24: error: initializer element is not constant
../drivers/net/virtio_net.c:2027:2: error: 'VIRTIO_NET_F_GUEST_ANNOUNCE' undeclared here (not in a function)
../drivers/net/virtio_net.c:2027:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2027:31: error: 'VIRTIO_NET_F_MQ' undeclared here (not in a function)
../drivers/net/virtio_net.c:2027:31: error: initializer element is not constant
../drivers/net/virtio_net.c:2028:2: error: 'VIRTIO_NET_F_CTRL_MAC_ADDR' undeclared here (not in a function)
../drivers/net/virtio_net.c:2028:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2029:2: error: 'VIRTIO_F_ANY_LAYOUT' undeclared here (not in a function)
../drivers/net/virtio_net.c:2029:2: error: initializer element is not constant
../drivers/usb/class/cdc-acm.h:104:29: error: field 'line' has incomplete type
../drivers/usb/class/cdc-acm.c:156:27: error: 'USB_CDC_REQ_SET_CONTROL_LINE_STATE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:310:2: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/usb/class/cdc-acm.c:311:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/class/cdc-acm.c:312:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:317:7: error: 'USB_CDC_NOTIFY_SERIAL_STATE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:547:31: error: 'USB_CDC_CAP_LINE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:163:20: error: 'USB_CDC_REQ_SEND_BREAK' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:984:29: error: storage size of 'newline' isn't known
../drivers/usb/class/cdc-acm.c:161:20: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1166:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1167:25: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/class/cdc-acm.c:1176:8: error: 'USB_CDC_COUNTRY_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1177:25: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_country_functional_desc'
../drivers/usb/class/cdc-acm.c:1181:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1183:8: error: 'USB_CDC_ACM_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1188:8: error: 'USB_CDC_CALL_MANAGEMENT_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1230:60: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/class/cdc-acm.c:1345:22: error: 'USB_CDC_CAP_LINE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1437:35: error: dereferencing pointer to incomplete type 'struct usb_cdc_country_functional_desc'
../drivers/usb/class/cdc-acm.c:161:20: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1668:19: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1669:3: error: 'USB_CDC_ACM_PROTO_VENDOR' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1883:3: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1887:3: error: 'USB_CDC_ACM_PROTO_AT_V25TER' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1889:3: error: 'USB_CDC_ACM_PROTO_AT_PCCA101' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1891:3: error: 'USB_CDC_ACM_PROTO_AT_PCCA101_WAKE' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1893:3: error: 'USB_CDC_ACM_PROTO_AT_GSM' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1895:3: error: 'USB_CDC_ACM_PROTO_AT_3G' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1897:3: error: 'USB_CDC_ACM_PROTO_AT_CDMA' undeclared here (not in a function)
../drivers/usb/class/cdc-wdm.c:41:25: error: 'USB_CDC_SUBCLASS_DMM' undeclared here (not in a function)
../drivers/usb/class/cdc-wdm.c:238:34: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
../drivers/usb/class/cdc-wdm.c:244:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/class/cdc-wdm.c:244:12: error: request for member 'bNotificationType' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:244:10: error: switch quantity not an integer
../drivers/usb/class/cdc-wdm.c:245:7: error: 'USB_CDC_NOTIFY_RESPONSE_AVAILABLE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:248:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:248:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:248:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:248:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:248:43: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:248:43: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:248:43: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:248:43: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:251:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:255:6: error: request for member 'wValue' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:257:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:265:6: error: request for member 'bNotificationType' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:266:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:266:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:266:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:266:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:267:18: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:267:18: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:267:18: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:267:18: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:405:18: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:824:24: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:892:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:894:8: error: 'USB_CDC_DMM_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:896:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_dmm_desc'
../drivers/usb/class/cdc-wdm.c:896:29: error: request for member 'wMaxCommand' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:896:29: error: request for member 'wMaxCommand' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:896:29: error: request for member 'wMaxCommand' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:896:29: error: request for member 'wMaxCommand' in something not a structure or union
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/f_acm.c:60:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/f_acm.c:105:23: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:106:23: error: 'USB_CDC_ACM_PROTO_AT_V25TER' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:133:15: error: variable 'acm_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_acm.c:134:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_acm.c:134:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_acm.c:135:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:136:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:136:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:137:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_acm.c:141:1: error: variable 'acm_call_mgmt_descriptor' has initializer but incomplete type
../drivers/usb/gadget/function/f_acm.c:142:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_acm.c:142:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_call_mgmt_descriptor'
../drivers/usb/gadget/function/f_acm.c:143:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:144:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:144:24: error: 'USB_CDC_CALL_MANAGEMENT_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:145:2: error: unknown field 'bmCapabilities' specified in initializer
../drivers/usb/gadget/function/f_acm.c:149:15: error: variable 'acm_descriptor' has initializer but incomplete type
../drivers/usb/gadget/function/f_acm.c:150:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_acm.c:150:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_acm_descriptor'
../drivers/usb/gadget/function/f_acm.c:151:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:152:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:152:24: error: 'USB_CDC_ACM_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:153:2: error: unknown field 'bmCapabilities' specified in initializer
../drivers/usb/gadget/function/f_acm.c:153:20: error: 'USB_CDC_CAP_LINE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:156:15: error: variable 'acm_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_acm.c:157:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_acm.c:157:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_acm.c:158:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:159:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:159:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:336:27: error: dereferencing pointer to incomplete type 'struct usb_cdc_line_coding'
../drivers/usb/gadget/function/f_acm.c:362:6: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
../drivers/usb/gadget/function/f_acm.c:363:26: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_line_coding'
../drivers/usb/gadget/function/f_acm.c:374:6: error: 'USB_CDC_REQ_GET_LINE_CODING' undeclared (first use in this function)
../drivers/usb/gadget/function/f_acm.c:379:12: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_line_coding'
../drivers/usb/gadget/function/f_acm.c:385:6: error: 'USB_CDC_REQ_SET_CONTROL_LINE_STATE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_acm.c:504:32: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_acm.c:514:2: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_acm.c:550:32: error: 'USB_CDC_NOTIFY_SERIAL_STATE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_acm.c:643:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_acm.c:651:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_acm.c:652:2: error: invalid use of undefined type 'struct usb_cdc_call_mgmt_descriptor'
../drivers/usb/gadget/function/f_acm.c:677:11: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.c:119:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.c:1055:27: error: dereferencing pointer to incomplete type 'struct usb_cdc_line_coding'
../drivers/usb/gadget/function/u_serial.c:1103:29: error: storage size of 'coding' isn't known
../drivers/usb/gadget/function/u_serial.c:1110:23: error: 'USB_CDC_NO_PARITY' undeclared (first use in this function)
../drivers/usb/gadget/function/u_serial.c:1111:21: error: 'USB_CDC_1_STOP_BITS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/f_obex.c:84:24: error: 'USB_CDC_SUBCLASS_OBEX' undeclared here (not in a function)
../drivers/usb/gadget/function/f_obex.c:107:15: error: variable 'obex_cdc_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_obex.c:108:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_obex.c:108:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_obex.c:109:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:110:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:110:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_obex.c:111:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_obex.c:114:15: error: variable 'obex_cdc_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_obex.c:115:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_obex.c:115:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_obex.c:116:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:117:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:117:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_obex.c:118:2: error: unknown field 'bMasterInterface0' specified in initializer
../drivers/usb/gadget/function/f_obex.c:119:2: error: unknown field 'bSlaveInterface0' specified in initializer
../drivers/usb/gadget/function/f_obex.c:122:15: error: variable 'obex_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_obex.c:123:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_obex.c:123:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_obex_desc'
../drivers/usb/gadget/function/f_obex.c:124:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:125:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:125:24: error: 'USB_CDC_OBEX_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_obex.c:126:2: error: unknown field 'bcdVersion' specified in initializer
../drivers/usb/gadget/function/f_obex.c:341:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_obex.c:350:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/u_ether.c:479:22: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.c:519:12: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.c:521:12: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:125:15: error: variable 'ntb_parameters' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:126:2: error: unknown field 'wLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:126:31: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:126:31: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:126:31: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:126:31: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:127:2: error: unknown field 'bmNtbFormatsSupported' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:122:28: error: 'USB_CDC_NCM_NTB16_SUPPORTED' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:123:6: error: 'USB_CDC_NCM_NTB32_SUPPORTED' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:128:2: error: unknown field 'dwNtbInMaxSize' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:129:2: error: unknown field 'wNdpInDivisor' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:130:2: error: unknown field 'wNdpInPayloadRemainder' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:131:2: error: unknown field 'wNdpInAlignment' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:133:2: error: unknown field 'dwNtbOutMaxSize' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:134:2: error: unknown field 'wNdpOutDivisor' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:135:2: error: unknown field 'wNdpOutPayloadRemainder' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:136:2: error: unknown field 'wNdpOutAlignment' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:155:23: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:156:23: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:174:15: error: variable 'ncm_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:175:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:175:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_ncm.c:176:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:177:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:177:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:179:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:182:15: error: variable 'ncm_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:183:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:183:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ncm.c:184:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:185:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:185:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:190:15: error: variable 'ecm_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:191:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:191:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_ncm.c:192:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:193:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:193:24: error: 'USB_CDC_ETHERNET_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:197:2: error: unknown field 'bmEthernetStatistics' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:198:2: error: unknown field 'wMaxSegmentSize' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:199:2: error: unknown field 'wNumberMCFilters' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:200:2: error: unknown field 'bNumberPowerFilters' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:205:15: error: variable 'ncm_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:206:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:206:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_desc'
../drivers/usb/gadget/function/f_ncm.c:207:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:208:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:208:24: error: 'USB_CDC_NCM_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:210:2: error: unknown field 'bcdNcmVersion' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:212:2: error: unknown field 'bmNetworkCapabilities' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:203:16: error: 'USB_CDC_NCM_NCAP_ETH_FILTER' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:203:46: error: 'USB_CDC_NCM_NCAP_CRC_MODE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:226:24: error: 'USB_CDC_NCM_PROTO_NTB' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:387:15: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:388:15: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:389:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/usb/gadget/function/f_ncm.c:390:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/usb/gadget/function/f_ncm.c:391:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/usb/gadget/function/f_ncm.c:403:15: error: 'USB_CDC_NCM_NTH32_SIGN' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:404:15: error: 'USB_CDC_NCM_NDP32_NOCRC_SIGN' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:405:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth32'
../drivers/usb/gadget/function/f_ncm.c:406:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp32'
../drivers/usb/gadget/function/f_ncm.c:407:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe32'
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:467:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:467:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:467:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:467:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:467:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:467:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:492:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_ncm.c:492:30: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:506:30: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:567:13: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_ncm.c:598:16: error: 'USB_CDC_NCM_NTB_MIN_IN_SIZE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:599:6: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:599:6: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:599:6: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:599:6: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:599:6: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:599:6: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:629:6: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:656:5: error: 'USB_CDC_GET_NTB_PARAMETERS' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:660:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:661:11: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:667:5: error: 'USB_CDC_GET_NTB_INPUT_SIZE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:678:5: error: 'USB_CDC_SET_NTB_INPUT_SIZE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:691:5: error: 'USB_CDC_GET_NTB_FORMAT' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:705:5: error: 'USB_CDC_SET_NTB_FORMAT' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:725:5: error: 'USB_CDC_GET_CRC_MODE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:739:5: error: 'USB_CDC_SET_CRC_MODE' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:901:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:901:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:901:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:901:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:964:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:964:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:964:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:964:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:965:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:965:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:965:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:965:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:966:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:966:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:966:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:966:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1140:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1140:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1140:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1140:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1140:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1140:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1377:2: error: invalid use of undefined type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_ncm.c:1388:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ncm.c:1397:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ecm.c:111:23: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:112:23: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:130:15: error: variable 'ecm_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ecm.c:131:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:131:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_ecm.c:132:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:133:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:133:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:135:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:138:15: error: variable 'ecm_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ecm.c:139:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:139:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ecm.c:140:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:141:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:141:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:146:15: error: variable 'ecm_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ecm.c:147:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:147:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_ecm.c:148:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:149:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:149:24: error: 'USB_CDC_ETHERNET_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:153:2: error: unknown field 'bmEthernetStatistics' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:154:2: error: unknown field 'wMaxSegmentSize' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:155:2: error: unknown field 'wNumberMCFilters' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:156:2: error: unknown field 'bNumberPowerFilters' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:396:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_ecm.c:396:30: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ecm.c:410:30: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ecm.c:462:9: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_ecm.c:484:6: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ecm.c:724:2: error: invalid use of undefined type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_ecm.c:735:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ecm.c:744:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_phonet.c:80:1: error: variable 'pn_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_phonet.c:81:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:81:21: error: invalid application of 'sizeof' to incomplete type 'const struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_phonet.c:82:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:83:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:83:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_phonet.c:84:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:88:1: error: variable 'pn_phonet_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_phonet.c:89:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:89:21: error: invalid application of 'sizeof' to incomplete type 'const struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_phonet.c:90:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:91:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:92:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:96:1: error: variable 'pn_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_phonet.c:97:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:97:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_phonet.c:98:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:99:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:99:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_phonet.c:518:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_phonet.c:525:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_eem.c:53:24: error: 'USB_CDC_SUBCLASS_EEM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_eem.c:54:24: error: 'USB_CDC_PROTO_EEM' undeclared here (not in a function)
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_subset.c:87:24: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:92:15: error: variable 'mdlm_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_subset.c:93:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_subset.c:93:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_subset.c:94:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:95:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:95:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:97:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_subset.c:100:15: error: variable 'mdlm_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_subset.c:101:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_subset.c:101:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_mdlm_desc'
../drivers/usb/gadget/function/f_subset.c:102:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:103:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:103:24: error: 'USB_CDC_MDLM_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:105:2: error: unknown field 'bcdVersion' specified in initializer
../drivers/usb/gadget/function/f_subset.c:106:2: error: unknown field 'bGUID' specified in initializer
../drivers/usb/gadget/function/f_subset.c:106:11: error: extra brace group at end of initializer
../drivers/usb/gadget/function/f_subset.c:119:2: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:126:15: error: variable 'ether_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_subset.c:127:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_subset.c:127:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_subset.c:128:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:129:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:129:24: error: 'USB_CDC_ETHERNET_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:133:2: error: unknown field 'bmEthernetStatistics' specified in initializer
../drivers/usb/gadget/function/f_subset.c:134:2: error: unknown field 'wMaxSegmentSize' specified in initializer
../drivers/usb/gadget/function/f_subset.c:135:2: error: unknown field 'wNumberMCFilters' specified in initializer
../drivers/usb/gadget/function/f_subset.c:136:2: error: unknown field 'bNumberPowerFilters' specified in initializer
../drivers/usb/gadget/function/f_subset.c:331:2: error: invalid use of undefined type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:4: error: invalid operands to binary | (have 'u8 * {aka unsigned char *}' and 'u8 * {aka unsigned char *}')
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:4: error: invalid operands to binary | (have 'u8 * {aka unsigned char *}' and 'u8 * {aka unsigned char *}')
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:4: error: invalid operands to binary | (have 'u8 * {aka unsigned char *}' and 'u8 * {aka unsigned char *}')
../drivers/usb/gadget/function/f_rndis.c:121:26: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:122:26: error: 'USB_CDC_ACM_PROTO_VENDOR' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:126:15: error: variable 'header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_rndis.c:127:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:127:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_rndis.c:128:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:129:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:129:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:131:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:134:15: error: variable 'call_mgmt_descriptor' has initializer but incomplete type
../drivers/usb/gadget/function/f_rndis.c:135:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:135:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_call_mgmt_descriptor'
../drivers/usb/gadget/function/f_rndis.c:136:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:137:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:137:24: error: 'USB_CDC_CALL_MANAGEMENT_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:139:2: error: unknown field 'bmCapabilities' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:140:2: error: unknown field 'bDataInterface' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:143:15: error: variable 'rndis_acm_descriptor' has initializer but incomplete type
../drivers/usb/gadget/function/f_rndis.c:144:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:144:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_acm_descriptor'
../drivers/usb/gadget/function/f_rndis.c:145:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:146:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:146:24: error: 'USB_CDC_ACM_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:148:2: error: unknown field 'bmCapabilities' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:151:15: error: variable 'rndis_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_rndis.c:152:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:152:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_rndis.c:153:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:154:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:154:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:182:23: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:183:23: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:483:6: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/usb/gadget/function/f_rndis.c:494:6: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_rndis.c:727:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_rndis.c:739:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/serial/visor.c:452:4: error: 'USB_CDC_SUBCLASS_ACM' undeclared (first use in this function)
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/vhost/net.c:64:14: error: 'VIRTIO_NET_F_MRG_RXBUF' undeclared here (not in a function)
../drivers/vhost/net.c:531:9: error: variable 'hdr' has initializer but incomplete type
../drivers/vhost/net.c:532:3: error: unknown field 'flags' specified in initializer
../drivers/vhost/net.c:533:3: error: unknown field 'gso_type' specified in initializer
../drivers/vhost/net.c:533:15: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/vhost/net.c:531:24: error: storage size of 'hdr' isn't known
../drivers/vhost/net.c:1004:11: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
../drivers/vhost/net.c:1005:11: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
arm-allnoconfig
../arch/arm/mm/init.c:235:24: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/init.c:235:33: error: '_end' undeclared (first use in this function)
../arch/arm/mm/init.c:536:16: error: '_text' undeclared (first use in this function)
../arch/arm/mm/init.c:536:23: error: '_etext' undeclared (first use in this function)
../arch/arm/mm/init.c:537:16: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:537:30: error: '__init_end' undeclared (first use in this function)
../arch/arm/mm/init.c:538:16: error: '_sdata' undeclared (first use in this function)
../arch/arm/mm/init.c:538:24: error: '_edata' undeclared (first use in this function)
../arch/arm/mm/init.c:539:16: error: '__bss_start' undeclared (first use in this function)
../arch/arm/mm/init.c:539:29: error: '__bss_stop' undeclared (first use in this function)
../arch/arm/mm/init.c:723:18: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:723:32: error: '__init_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:769:37: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:770:37: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:771:37: error: '_sdata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:772:37: error: '_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:928:39: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:929:39: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:930:39: error: '_edata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:931:35: error: '_end' undeclared (first use in this function)
../mm/page_alloc.c:5582:13: error: '_etext' undeclared (first use in this function)
../mm/page_alloc.c:5582:22: error: '_stext' undeclared (first use in this function)
../mm/page_alloc.c:5583:13: error: '_edata' undeclared (first use in this function)
../mm/page_alloc.c:5583:22: error: '_sdata' undeclared (first use in this function)
../mm/page_alloc.c:5584:11: error: '__end_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5584:26: error: '__start_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5585:13: error: '__bss_stop' undeclared (first use in this function)
../mm/page_alloc.c:5585:26: error: '__bss_start' undeclared (first use in this function)
../mm/page_alloc.c:5586:19: error: '__init_end' undeclared (first use in this function)
../mm/page_alloc.c:5586:32: error: '__init_begin' undeclared (first use in this function)
../mm/page_alloc.c:5587:19: error: '_einittext' undeclared (first use in this function)
../mm/page_alloc.c:5587:32: error: '_sinittext' undeclared (first use in this function)
../mm/util.c:22:32: error: '__start_rodata' undeclared (first use in this function)
../mm/util.c:23:25: error: '__end_rodata' undeclared (first use in this function)
../kernel/extable.c:64:29: error: '_sinittext' undeclared (first use in this function)
../kernel/extable.c:65:28: error: '_einittext' undeclared (first use in this function)
../kernel/extable.c:72:29: error: '_stext' undeclared (first use in this function)
../kernel/extable.c:73:28: error: '_etext' undeclared (first use in this function)
../kernel/extable.c:94:29: error: '_sdata' undeclared (first use in this function)
../kernel/extable.c:95:28: error: '_edata' undeclared (first use in this function)
../kernel/extable.c:140:25: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../lib/vsprintf.c:1474:9: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
x86_64-allnoconfig
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:25: error: 'RTIT_CTL_TSC_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:43: error: 'RTIT_CTL_DISRETC' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:196:18: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:8: error: 'RTIT_CTL_TOPA' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:24: error: 'RTIT_CTL_BRANCH_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:45: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:206:10: error: 'RTIT_CTL_OS' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:208:10: error: 'RTIT_CTL_USR' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:25: error: 'RTIT_CTL_TSC_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:43: error: 'RTIT_CTL_DISRETC' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:221:10: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:519:15: error: 'RTIT_STATUS_ERROR' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:525:15: error: 'RTIT_STATUS_STOPPED' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:1071:22: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
arm-multi_v4t_defconfig
../arch/arm/mm/init.c:235:24: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/init.c:235:33: error: '_end' undeclared (first use in this function)
../arch/arm/mm/init.c:536:16: error: '_text' undeclared (first use in this function)
../arch/arm/mm/init.c:536:23: error: '_etext' undeclared (first use in this function)
../arch/arm/mm/init.c:537:16: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:537:30: error: '__init_end' undeclared (first use in this function)
../arch/arm/mm/init.c:538:16: error: '_sdata' undeclared (first use in this function)
../arch/arm/mm/init.c:538:24: error: '_edata' undeclared (first use in this function)
../arch/arm/mm/init.c:539:16: error: '__bss_start' undeclared (first use in this function)
../arch/arm/mm/init.c:539:29: error: '__bss_stop' undeclared (first use in this function)
../arch/arm/mm/init.c:723:18: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:723:32: error: '__init_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:769:37: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:770:37: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:771:37: error: '_sdata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:772:37: error: '_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:928:39: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:929:39: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:930:39: error: '_edata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:931:35: error: '_end' undeclared (first use in this function)
../arch/arm/mm/mmu.c:1332:47: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/mmu.c:1333:43: error: '__init_end' undeclared (first use in this function)
../mm/page_alloc.c:5582:13: error: '_etext' undeclared (first use in this function)
../mm/page_alloc.c:5582:22: error: '_stext' undeclared (first use in this function)
../mm/page_alloc.c:5583:13: error: '_edata' undeclared (first use in this function)
../mm/page_alloc.c:5583:22: error: '_sdata' undeclared (first use in this function)
../mm/page_alloc.c:5584:11: error: '__end_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5584:26: error: '__start_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5585:13: error: '__bss_stop' undeclared (first use in this function)
../mm/page_alloc.c:5585:26: error: '__bss_start' undeclared (first use in this function)
../mm/page_alloc.c:5586:19: error: '__init_end' undeclared (first use in this function)
../mm/page_alloc.c:5586:32: error: '__init_begin' undeclared (first use in this function)
../mm/page_alloc.c:5587:19: error: '_einittext' undeclared (first use in this function)
../mm/page_alloc.c:5587:32: error: '_sinittext' undeclared (first use in this function)
../mm/util.c:22:32: error: '__start_rodata' undeclared (first use in this function)
../mm/util.c:23:25: error: '__end_rodata' undeclared (first use in this function)
../kernel/extable.c:64:29: error: '_sinittext' undeclared (first use in this function)
../kernel/extable.c:65:28: error: '_einittext' undeclared (first use in this function)
../kernel/extable.c:72:29: error: '_stext' undeclared (first use in this function)
../kernel/extable.c:73:28: error: '_etext' undeclared (first use in this function)
../kernel/extable.c:94:29: error: '_sdata' undeclared (first use in this function)
../kernel/extable.c:95:28: error: '_edata' undeclared (first use in this function)
../kernel/extable.c:140:25: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../kernel/kallsyms.c:57:29: error: '_sinittext' undeclared (first use in this function)
../kernel/kallsyms.c:58:32: error: '_einittext' undeclared (first use in this function)
../kernel/kallsyms.c:65:30: error: '_stext' undeclared (first use in this function)
../kernel/kallsyms.c:65:63: error: '_etext' undeclared (first use in this function)
../kernel/kallsyms.c:66:6: error: implicit declaration of function 'arch_is_kernel_text' [-Werror=implicit-function-declaration]
../kernel/kallsyms.c:73:29: error: '_stext' undeclared (first use in this function)
../kernel/kallsyms.c:73:62: error: '_end' undeclared (first use in this function)
../kernel/kallsyms.c:257:32: error: '_einittext' undeclared (first use in this function)
../kernel/kallsyms.c:259:32: error: '_end' undeclared (first use in this function)
../kernel/kallsyms.c:261:32: error: '_etext' undeclared (first use in this function)
../lib/vsprintf.c:1474:9: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
x86_64-allmodconfig
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:25: error: 'RTIT_CTL_TSC_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:43: error: 'RTIT_CTL_DISRETC' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:196:18: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:8: error: 'RTIT_CTL_TOPA' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:24: error: 'RTIT_CTL_BRANCH_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:45: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:206:10: error: 'RTIT_CTL_OS' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:208:10: error: 'RTIT_CTL_USR' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:25: error: 'RTIT_CTL_TSC_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:43: error: 'RTIT_CTL_DISRETC' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:221:10: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:519:15: error: 'RTIT_STATUS_ERROR' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:525:15: error: 'RTIT_STATUS_STOPPED' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:1071:22: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../drivers/cpufreq/intel_pstate.c:594:9: error: 'MSR_NHM_TURBO_RATIO_LIMIT' undeclared (first use in this function)
../drivers/cpufreq/intel_pstate.c:623:9: error: 'MSR_NHM_TURBO_RATIO_LIMIT' undeclared (first use in this function)
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../drivers/input/misc/ims-pcu.c:1638:26: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/input/misc/ims-pcu.c:1647:41: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/input/misc/ims-pcu.c:1677:17: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
../drivers/input/misc/ims-pcu.c:1771:25: error: dereferencing pointer to incomplete type 'struct usb_cdc_line_coding'
../drivers/input/misc/ims-pcu.c:1776:5: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
../drivers/input/misc/ims-pcu.c:1779:18: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_line_coding'
../drivers/input/misc/ims-pcu.c:1788:5: error: 'USB_CDC_REQ_SET_CONTROL_LINE_STATE' undeclared (first use in this function)
../drivers/input/misc/ims-pcu.c:2134:6: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/input/misc/ims-pcu.c:2135:6: error: 'USB_CDC_ACM_PROTO_AT_V25TER' undeclared here (not in a function)
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../net/netfilter/nf_conntrack_proto_sctp.c:52:35: error: 'SCTP_CONNTRACK_MAX' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:53:3: error: 'SCTP_CONNTRACK_CLOSED' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:53:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:54:3: error: 'SCTP_CONNTRACK_COOKIE_WAIT' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:54:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:55:3: error: 'SCTP_CONNTRACK_COOKIE_ECHOED' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:55:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:56:3: error: 'SCTP_CONNTRACK_ESTABLISHED' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:56:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:57:3: error: 'SCTP_CONNTRACK_SHUTDOWN_SENT' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:57:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:58:3: error: 'SCTP_CONNTRACK_SHUTDOWN_RECD' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:58:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:59:3: error: 'SCTP_CONNTRACK_SHUTDOWN_ACK_SENT' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:59:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:180:22: error: storage size of 'state' isn't known
../net/netfilter/nf_conntrack_proto_sctp.c:237:26: error: parameter 2 ('cur_state') has incomplete type
../net/netfilter/nf_conntrack_proto_sctp.c:236:12: error: function declaration isn't a prototype [-Werror=strict-prototypes]
../net/netfilter/nf_conntrack_proto_sctp.c:310:22: error: storage size of 'new_state' isn't known
../net/netfilter/nf_conntrack_proto_sctp.c:310:33: error: storage size of 'old_state' isn't known
../net/netfilter/nf_conntrack_proto_sctp.c:337:26: error: 'SCTP_CONNTRACK_NONE' undeclared (first use in this function)
../net/netfilter/nf_conntrack_proto_sctp.c:415:22: error: storage size of 'new_state' isn't known
../net/netfilter/nf_conntrack_proto_sctp.c:441:9: error: 'SCTP_CONNTRACK_NONE' undeclared (first use in this function)
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../net/packet/af_packet.c:2420:9: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2420:24: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2471:25: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2483:28: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2484:33: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2485:9: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2488:9: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2491:9: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2959:10: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2959:25: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2977:25: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2979:25: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2981:25: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2987:26: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2989:24: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2992:21: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2998:21: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../drivers/staging/gdm724x/gdm_usb.c:39:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/r8152.c:4091:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/r8152.c:4092:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/hso.c:1795:14: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/net/usb/hso.c:1807:24: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/net/usb/hso.c:1852:7: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/net/usb/hso.c:1921:7: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/staging/gdm724x/gdm_mux.c:41:24: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/net/usb/cdc_ether.c:76:19: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:77:6: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:84:17: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:86:17: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:90:4: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:170:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:176:20: error: dereferencing pointer to incomplete type 'struct usb_cdc_header_desc'
../drivers/net/usb/cdc_ether.c:182:8: error: 'USB_CDC_ACM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:190:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_acm_descriptor'
../drivers/net/usb/cdc_ether.c:199:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:205:15: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/net/usb/cdc_ether.c:257:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:263:19: error: dereferencing pointer to incomplete type 'struct usb_cdc_ether_desc'
../drivers/net/usb/cdc_ether.c:274:8: error: 'USB_CDC_MDLM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:282:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_desc'
../drivers/net/usb/cdc_ether.c:288:8: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:296:14: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_detail_desc'
../drivers/net/usb/cdc_ether.c:362:17: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:439:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:450:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:455:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:461:4: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:538:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/cdc_ether.c:539:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/cdc_ether.c:626:4: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
../drivers/net/usb/cdc_eem.c:357:37: error: 'USB_CDC_SUBCLASS_EEM' undeclared here (not in a function)
../drivers/net/usb/cdc_eem.c:358:4: error: 'USB_CDC_PROTO_EEM' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.h:104:29: error: field 'line' has incomplete type
../drivers/usb/class/cdc-acm.c:156:27: error: 'USB_CDC_REQ_SET_CONTROL_LINE_STATE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:310:2: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/usb/class/cdc-acm.c:311:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/class/cdc-acm.c:312:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:317:7: error: 'USB_CDC_NOTIFY_SERIAL_STATE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:547:31: error: 'USB_CDC_CAP_LINE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:163:20: error: 'USB_CDC_REQ_SEND_BREAK' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:984:29: error: storage size of 'newline' isn't known
../drivers/usb/class/cdc-acm.c:161:20: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1166:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1167:25: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/class/cdc-acm.c:1176:8: error: 'USB_CDC_COUNTRY_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1177:25: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_country_functional_desc'
../drivers/usb/class/cdc-acm.c:1181:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1183:8: error: 'USB_CDC_ACM_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1188:8: error: 'USB_CDC_CALL_MANAGEMENT_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1230:60: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/class/cdc-acm.c:1345:22: error: 'USB_CDC_CAP_LINE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1437:35: error: dereferencing pointer to incomplete type 'struct usb_cdc_country_functional_desc'
../drivers/usb/class/cdc-acm.c:161:20: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1668:19: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1669:3: error: 'USB_CDC_ACM_PROTO_VENDOR' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1883:3: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1887:3: error: 'USB_CDC_ACM_PROTO_AT_V25TER' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1889:3: error: 'USB_CDC_ACM_PROTO_AT_PCCA101' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1891:3: error: 'USB_CDC_ACM_PROTO_AT_PCCA101_WAKE' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1893:3: error: 'USB_CDC_ACM_PROTO_AT_GSM' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1895:3: error: 'USB_CDC_ACM_PROTO_AT_3G' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1897:3: error: 'USB_CDC_ACM_PROTO_AT_CDMA' undeclared here (not in a function)
../drivers/net/usb/rndis_host.c:106:30: error: storage size of 'notification' isn't known
../drivers/net/usb/rndis_host.c:130:3: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/net/usb/rndis_host.c:157:4: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/net/usb/zaurus.c:163:8: error: 'USB_CDC_MDLM_TYPE' undeclared (first use in this function)
../drivers/net/usb/zaurus.c:169:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_desc'
../drivers/net/usb/zaurus.c:182:8: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared (first use in this function)
../drivers/net/usb/zaurus.c:188:18: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_detail_desc'
../drivers/net/usb/zaurus.c:268:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/zaurus.c:269:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/zaurus.c:319:4: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
../drivers/usb/class/cdc-wdm.c:41:25: error: 'USB_CDC_SUBCLASS_DMM' undeclared here (not in a function)
../drivers/usb/class/cdc-wdm.c:238:34: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
../drivers/usb/class/cdc-wdm.c:244:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/class/cdc-wdm.c:244:12: error: request for member 'bNotificationType' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:244:10: error: switch quantity not an integer
../drivers/usb/class/cdc-wdm.c:245:7: error: 'USB_CDC_NOTIFY_RESPONSE_AVAILABLE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:248:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:248:43: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:251:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:255:6: error: request for member 'wValue' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:257:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:265:6: error: request for member 'bNotificationType' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:266:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:267:18: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:405:18: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:824:24: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:892:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:894:8: error: 'USB_CDC_DMM_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:896:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_dmm_desc'
../drivers/usb/class/cdc-wdm.c:896:29: error: request for member 'wMaxCommand' in something not a structure or union
../drivers/net/usb/cdc-phonet.c:355:9: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc-phonet.c:373:50: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
../drivers/net/usb/sierra_net.c:340:33: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/net/usb/sierra_net.c:504:5: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/net/usb/sierra_net.c:611:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/sierra_net.c:617:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/net/usb/sierra_net.c:618:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/net/usb/sierra_net.c:621:7: error: 'USB_CDC_NOTIFY_RESPONSE_AVAILABLE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:88:36: error: field 'ncm_parm' has incomplete type
../drivers/net/usb/cdc_ncm.c:153:8: error: 'USB_CDC_NCM_NTB_MIN_IN_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:176:60: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:346:29: error: 'USB_CDC_SET_NTB_INPUT_SIZE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:408:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_desc'
../drivers/net/usb/cdc_ncm.c:410:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_ncm_desc'
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:435:37: error: dereferencing pointer to incomplete type 'const struct usb_cdc_ether_desc'
../drivers/net/usb/cdc_ncm.c:448:29: error: 'USB_CDC_GET_NTB_PARAMETERS' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:459:27: error: 'USB_CDC_NCM_NCAP_CRC_MODE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:461:31: error: 'USB_CDC_SET_CRC_MODE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:464:12: error: 'USB_CDC_NCM_CRC_NOT_APPENDED' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:476:7: error: 'USB_CDC_NCM_NTB32_SUPPORTED' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:478:31: error: 'USB_CDC_SET_NTB_FORMAT' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:481:12: error: 'USB_CDC_NCM_NTB16_FORMAT' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:507:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:507:94: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:530:29: error: 'USB_CDC_NCM_NCAP_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:534:29: error: 'USB_CDC_GET_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:546:30: error: 'USB_CDC_SET_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:558:49: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_extended_desc'
../drivers/net/usb/cdc_ncm.c:577:13: error: 'USB_CDC_NCM_NDP_ALIGN_MIN_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:757:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:758:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
../drivers/net/usb/cdc_ncm.c:772:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:780:8: error: 'USB_CDC_NCM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:787:8: error: 'USB_CDC_MBIM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:794:8: error: 'USB_CDC_MBIM_EXTENDED_TYPE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1029:38: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1034:13: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:38: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:73: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1091:70: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1091:108: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1092:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1092:36: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1093:45: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1145:28: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1145:64: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1150:48: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1296:56: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1319:28: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1320:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1327:11: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1327:40: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1364:26: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1378:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1379:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1382:14: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1383:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1418:40: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1426:37: error: increment of pointer to an incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1427:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1480:38: error: dereferencing pointer to incomplete type 'struct usb_cdc_speed_change'
../drivers/net/usb/cdc_ncm.c:1507:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ncm.c:1520:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1532:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1534:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_speed_change'
../drivers/net/usb/cdc_ncm.c:1538:19: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ncm.c:1592:26: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
../drivers/net/usb/cdc_ncm.c:1593:26: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../include/linux/usb/cdc_ncm.h:88:36: error: field 'ncm_parm' has incomplete type
../drivers/net/usb/lg-vl600.c:332:5: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/lg-vl600.c:332:32: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/qmi_wwan.c:255:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/net/usb/qmi_wwan.c:260:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/net/usb/qmi_wwan.c:266:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/qmi_wwan.c:271:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/net/usb/qmi_wwan.c:278:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
../drivers/net/usb/qmi_wwan.c:283:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
../drivers/net/usb/qmi_wwan.c:307:20: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/net/usb/qmi_wwan.c:319:28: error: dereferencing pointer to incomplete type 'struct usb_cdc_ether_desc'
../drivers/net/usb/qmi_wwan.c:500:33: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/qmi_wwan.c:501:33: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../include/linux/usb/cdc_ncm.h:88:36: error: field 'ncm_parm' has incomplete type
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:171:34: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_desc'
../drivers/net/usb/cdc_mbim.c:225:28: error: 'USB_CDC_MBIM_NDP16_IPS_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:281:23: error: 'USB_CDC_MBIM_NDP16_DSS_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:438:15: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_mbim.c:439:19: error: 'USB_CDC_MBIM_NDP16_IPS_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:446:19: error: 'USB_CDC_MBIM_NDP16_DSS_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:459:37: error: increment of pointer to an incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_mbim.c:460:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_mbim.c:593:39: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
../drivers/net/usb/cdc_mbim.c:593:61: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/cdc_mbim.c:597:58: error: 'USB_CDC_SUBCLASS_MBIM' undeclared here (not in a function)
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/f_acm.c:60:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/f_acm.c:105:23: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:106:23: error: 'USB_CDC_ACM_PROTO_AT_V25TER' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:133:15: error: variable 'acm_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_acm.c:134:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_acm.c:134:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_acm.c:135:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:136:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:136:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:137:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_acm.c:141:1: error: variable 'acm_call_mgmt_descriptor' has initializer but incomplete type
../drivers/usb/gadget/function/f_acm.c:142:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_acm.c:142:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_call_mgmt_descriptor'
../drivers/usb/gadget/function/f_acm.c:143:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:144:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:144:24: error: 'USB_CDC_CALL_MANAGEMENT_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:145:2: error: unknown field 'bmCapabilities' specified in initializer
../drivers/usb/gadget/function/f_acm.c:149:15: error: variable 'acm_descriptor' has initializer but incomplete type
../drivers/usb/gadget/function/f_acm.c:150:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_acm.c:150:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_acm_descriptor'
../drivers/usb/gadget/function/f_acm.c:151:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:152:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:152:24: error: 'USB_CDC_ACM_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:153:2: error: unknown field 'bmCapabilities' specified in initializer
../drivers/usb/gadget/function/f_acm.c:153:20: error: 'USB_CDC_CAP_LINE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:156:15: error: variable 'acm_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_acm.c:157:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_acm.c:157:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_acm.c:158:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:159:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:159:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:336:27: error: dereferencing pointer to incomplete type 'struct usb_cdc_line_coding'
../drivers/usb/gadget/function/f_acm.c:362:6: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
../drivers/usb/gadget/function/f_acm.c:363:26: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_line_coding'
../drivers/usb/gadget/function/f_acm.c:374:6: error: 'USB_CDC_REQ_GET_LINE_CODING' undeclared (first use in this function)
../drivers/usb/gadget/function/f_acm.c:379:12: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_line_coding'
../drivers/usb/gadget/function/f_acm.c:385:6: error: 'USB_CDC_REQ_SET_CONTROL_LINE_STATE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_acm.c:504:32: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_acm.c:514:2: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_acm.c:550:32: error: 'USB_CDC_NOTIFY_SERIAL_STATE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_acm.c:643:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_acm.c:651:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_acm.c:652:2: error: invalid use of undefined type 'struct usb_cdc_call_mgmt_descriptor'
../drivers/usb/gadget/function/f_acm.c:677:11: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_acm.c:133:35: error: storage size of 'acm_header_desc' isn't known
../drivers/usb/gadget/function/f_acm.c:141:1: error: storage size of 'acm_call_mgmt_descriptor' isn't known
../drivers/usb/gadget/function/f_acm.c:149:38: error: storage size of 'acm_descriptor' isn't known
../drivers/usb/gadget/function/f_acm.c:156:34: error: storage size of 'acm_union_desc' isn't known
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.c:119:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.c:1055:27: error: dereferencing pointer to incomplete type 'struct usb_cdc_line_coding'
../drivers/usb/gadget/function/u_serial.c:1103:29: error: storage size of 'coding' isn't known
../drivers/usb/gadget/function/u_serial.c:1110:23: error: 'USB_CDC_NO_PARITY' undeclared (first use in this function)
../drivers/usb/gadget/function/u_serial.c:1111:21: error: 'USB_CDC_1_STOP_BITS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/f_obex.c:84:24: error: 'USB_CDC_SUBCLASS_OBEX' undeclared here (not in a function)
../drivers/usb/gadget/function/f_obex.c:107:15: error: variable 'obex_cdc_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_obex.c:108:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_obex.c:108:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_obex.c:109:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:110:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:110:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_obex.c:111:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_obex.c:114:15: error: variable 'obex_cdc_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_obex.c:115:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_obex.c:115:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_obex.c:116:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:117:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:117:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_obex.c:118:2: error: unknown field 'bMasterInterface0' specified in initializer
../drivers/usb/gadget/function/f_obex.c:119:2: error: unknown field 'bSlaveInterface0' specified in initializer
../drivers/usb/gadget/function/f_obex.c:122:15: error: variable 'obex_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_obex.c:123:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_obex.c:123:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_obex_desc'
../drivers/usb/gadget/function/f_obex.c:124:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:125:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:125:24: error: 'USB_CDC_OBEX_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_obex.c:126:2: error: unknown field 'bcdVersion' specified in initializer
../drivers/usb/gadget/function/f_obex.c:341:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_obex.c:350:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_obex.c:107:35: error: storage size of 'obex_cdc_header_desc' isn't known
../drivers/usb/gadget/function/f_obex.c:114:34: error: storage size of 'obex_cdc_union_desc' isn't known
../drivers/usb/gadget/function/f_obex.c:122:33: error: storage size of 'obex_desc' isn't known
../drivers/usb/gadget/function/u_ether.c:479:22: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.c:519:12: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.c:521:12: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:125:15: error: variable 'ntb_parameters' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:126:2: error: unknown field 'wLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:126:31: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:127:2: error: unknown field 'bmNtbFormatsSupported' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:122:28: error: 'USB_CDC_NCM_NTB16_SUPPORTED' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:123:6: error: 'USB_CDC_NCM_NTB32_SUPPORTED' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:128:2: error: unknown field 'dwNtbInMaxSize' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:129:2: error: unknown field 'wNdpInDivisor' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:130:2: error: unknown field 'wNdpInPayloadRemainder' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:131:2: error: unknown field 'wNdpInAlignment' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:133:2: error: unknown field 'dwNtbOutMaxSize' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:134:2: error: unknown field 'wNdpOutDivisor' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:135:2: error: unknown field 'wNdpOutPayloadRemainder' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:136:2: error: unknown field 'wNdpOutAlignment' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:155:23: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:156:23: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:174:15: error: variable 'ncm_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:175:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:175:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_ncm.c:176:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:177:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:177:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:179:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:182:15: error: variable 'ncm_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:183:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:183:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ncm.c:184:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:185:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:185:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:190:15: error: variable 'ecm_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:191:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:191:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_ncm.c:192:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:193:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:193:24: error: 'USB_CDC_ETHERNET_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:197:2: error: unknown field 'bmEthernetStatistics' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:198:2: error: unknown field 'wMaxSegmentSize' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:199:2: error: unknown field 'wNumberMCFilters' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:200:2: error: unknown field 'bNumberPowerFilters' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:205:15: error: variable 'ncm_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:206:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:206:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_desc'
../drivers/usb/gadget/function/f_ncm.c:207:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:208:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:208:24: error: 'USB_CDC_NCM_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:210:2: error: unknown field 'bcdNcmVersion' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:212:2: error: unknown field 'bmNetworkCapabilities' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:203:16: error: 'USB_CDC_NCM_NCAP_ETH_FILTER' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:203:46: error: 'USB_CDC_NCM_NCAP_CRC_MODE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:226:24: error: 'USB_CDC_NCM_PROTO_NTB' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:387:15: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:388:15: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:389:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/usb/gadget/function/f_ncm.c:390:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/usb/gadget/function/f_ncm.c:391:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/usb/gadget/function/f_ncm.c:403:15: error: 'USB_CDC_NCM_NTH32_SIGN' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:404:15: error: 'USB_CDC_NCM_NDP32_NOCRC_SIGN' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:405:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth32'
../drivers/usb/gadget/function/f_ncm.c:406:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp32'
../drivers/usb/gadget/function/f_ncm.c:407:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe32'
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:467:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:492:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_ncm.c:492:30: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:506:30: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:567:13: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_ncm.c:598:16: error: 'USB_CDC_NCM_NTB_MIN_IN_SIZE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:599:6: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:629:6: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:656:5: error: 'USB_CDC_GET_NTB_PARAMETERS' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:660:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:661:11: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:667:5: error: 'USB_CDC_GET_NTB_INPUT_SIZE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:678:5: error: 'USB_CDC_SET_NTB_INPUT_SIZE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:691:5: error: 'USB_CDC_GET_NTB_FORMAT' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:705:5: error: 'USB_CDC_SET_NTB_FORMAT' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:725:5: error: 'USB_CDC_GET_CRC_MODE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:739:5: error: 'USB_CDC_SET_CRC_MODE' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:901:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:964:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:965:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:966:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1140:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1377:2: error: invalid use of undefined type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_ncm.c:1388:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ncm.c:1397:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ncm.c:125:42: error: storage size of 'ntb_parameters' isn't known
../drivers/usb/gadget/function/f_ncm.c:174:35: error: storage size of 'ncm_header_desc' isn't known
../drivers/usb/gadget/function/f_ncm.c:182:34: error: storage size of 'ncm_union_desc' isn't known
../drivers/usb/gadget/function/f_ncm.c:190:34: error: storage size of 'ecm_desc' isn't known
../drivers/usb/gadget/function/f_ncm.c:205:32: error: storage size of 'ncm_desc' isn't known
../drivers/usb/gadget/function/f_ecm.c:111:23: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:112:23: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:130:15: error: variable 'ecm_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ecm.c:131:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:131:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_ecm.c:132:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:133:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:133:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:135:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:138:15: error: variable 'ecm_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ecm.c:139:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:139:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ecm.c:140:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:141:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:141:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:146:15: error: variable 'ecm_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ecm.c:147:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:147:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_ecm.c:148:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:149:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:149:24: error: 'USB_CDC_ETHERNET_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:153:2: error: unknown field 'bmEthernetStatistics' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:154:2: error: unknown field 'wMaxSegmentSize' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:155:2: error: unknown field 'wNumberMCFilters' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:156:2: error: unknown field 'bNumberPowerFilters' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:396:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_ecm.c:396:30: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ecm.c:410:30: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ecm.c:462:9: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_ecm.c:484:6: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ecm.c:724:2: error: invalid use of undefined type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_ecm.c:735:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ecm.c:744:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ecm.c:130:35: error: storage size of 'ecm_header_desc' isn't known
../drivers/usb/gadget/function/f_ecm.c:138:34: error: storage size of 'ecm_union_desc' isn't known
../drivers/usb/gadget/function/f_ecm.c:146:34: error: storage size of 'ecm_desc' isn't known
../drivers/usb/gadget/function/f_phonet.c:80:1: error: variable 'pn_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_phonet.c:81:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:81:21: error: invalid application of 'sizeof' to incomplete type 'const struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_phonet.c:82:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:83:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:83:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_phonet.c:84:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:88:1: error: variable 'pn_phonet_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_phonet.c:89:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:89:21: error: invalid application of 'sizeof' to incomplete type 'const struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_phonet.c:90:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:91:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:92:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:96:1: error: variable 'pn_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_phonet.c:97:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:97:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_phonet.c:98:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:99:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:99:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_phonet.c:518:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_phonet.c:525:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_phonet.c:80:1: error: storage size of 'pn_header_desc' isn't known
../drivers/usb/gadget/function/f_phonet.c:88:1: error: storage size of 'pn_phonet_desc' isn't known
../drivers/usb/gadget/function/f_phonet.c:96:1: error: storage size of 'pn_union_desc' isn't known
../drivers/usb/gadget/function/f_eem.c:53:24: error: 'USB_CDC_SUBCLASS_EEM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_eem.c:54:24: error: 'USB_CDC_PROTO_EEM' undeclared here (not in a function)
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_subset.c:87:24: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:92:15: error: variable 'mdlm_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_subset.c:93:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_subset.c:93:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_subset.c:94:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:95:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:95:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:97:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_subset.c:100:15: error: variable 'mdlm_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_subset.c:101:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_subset.c:101:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_mdlm_desc'
../drivers/usb/gadget/function/f_subset.c:102:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:103:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:103:24: error: 'USB_CDC_MDLM_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:105:2: error: unknown field 'bcdVersion' specified in initializer
../drivers/usb/gadget/function/f_subset.c:106:2: error: unknown field 'bGUID' specified in initializer
../drivers/usb/gadget/function/f_subset.c:106:11: error: extra brace group at end of initializer
../drivers/usb/gadget/function/f_subset.c:119:2: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:126:15: error: variable 'ether_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_subset.c:127:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_subset.c:127:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_subset.c:128:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:129:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:129:24: error: 'USB_CDC_ETHERNET_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:133:2: error: unknown field 'bmEthernetStatistics' specified in initializer
../drivers/usb/gadget/function/f_subset.c:134:2: error: unknown field 'wMaxSegmentSize' specified in initializer
../drivers/usb/gadget/function/f_subset.c:135:2: error: unknown field 'wNumberMCFilters' specified in initializer
../drivers/usb/gadget/function/f_subset.c:136:2: error: unknown field 'bNumberPowerFilters' specified in initializer
../drivers/usb/gadget/function/f_subset.c:331:2: error: invalid use of undefined type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:4: error: invalid operands to binary | (have 'u8 * {aka unsigned char *}' and 'u8 * {aka unsigned char *}')
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:4: error: invalid operands to binary | (have 'u8 * {aka unsigned char *}' and 'u8 * {aka unsigned char *}')
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:4: error: invalid operands to binary | (have 'u8 * {aka unsigned char *}' and 'u8 * {aka unsigned char *}')
../drivers/usb/gadget/function/f_subset.c:92:35: error: storage size of 'mdlm_header_desc' isn't known
../drivers/usb/gadget/function/f_subset.c:100:33: error: storage size of 'mdlm_desc' isn't known
../drivers/usb/gadget/function/f_subset.c:126:34: error: storage size of 'ether_desc' isn't known
../drivers/usb/gadget/function/f_rndis.c:121:26: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:122:26: error: 'USB_CDC_ACM_PROTO_VENDOR' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:126:15: error: variable 'header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_rndis.c:127:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:127:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_rndis.c:128:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:129:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:129:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:131:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:134:15: error: variable 'call_mgmt_descriptor' has initializer but incomplete type
../drivers/usb/gadget/function/f_rndis.c:135:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:135:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_call_mgmt_descriptor'
../drivers/usb/gadget/function/f_rndis.c:136:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:137:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:137:24: error: 'USB_CDC_CALL_MANAGEMENT_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:139:2: error: unknown field 'bmCapabilities' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:140:2: error: unknown field 'bDataInterface' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:143:15: error: variable 'rndis_acm_descriptor' has initializer but incomplete type
../drivers/usb/gadget/function/f_rndis.c:144:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:144:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_acm_descriptor'
../drivers/usb/gadget/function/f_rndis.c:145:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:146:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:146:24: error: 'USB_CDC_ACM_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:148:2: error: unknown field 'bmCapabilities' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:151:15: error: variable 'rndis_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_rndis.c:152:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:152:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_rndis.c:153:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:154:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:154:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:182:23: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:183:23: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:483:6: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/usb/gadget/function/f_rndis.c:494:6: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_rndis.c:727:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_rndis.c:739:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_rndis.c:126:35: error: storage size of 'header_desc' isn't known
../drivers/usb/gadget/function/f_rndis.c:134:44: error: storage size of 'call_mgmt_descriptor' isn't known
../drivers/usb/gadget/function/f_rndis.c:143:38: error: storage size of 'rndis_acm_descriptor' isn't known
../drivers/usb/gadget/function/f_rndis.c:151:34: error: storage size of 'rndis_union_desc' isn't known
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/macvtap.c:52:61: error: unknown type name '__virtio16'
../drivers/net/macvtap.c:57:15: error: unknown type name '__virtio16'
../drivers/net/macvtap.c:493:26: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../drivers/net/macvtap.c:579:14: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../drivers/net/macvtap.c:579:28: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/macvtap.c:580:33: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/macvtap.c:581:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/macvtap.c:584:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/macvtap.c:587:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/macvtap.c:601:24: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/macvtap.c:602:34: error: implicit declaration of function 'macvtap16_to_cpu' [-Werror=implicit-function-declaration]
../drivers/net/macvtap.c:622:29: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../drivers/net/macvtap.c:631:25: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/macvtap.c:633:25: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/macvtap.c:635:25: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/macvtap.c:639:26: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/macvtap.c:641:24: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/macvtap.c:644:21: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/macvtap.c:653:21: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/macvtap.c:670:9: error: variable 'vnet_hdr' has initializer but incomplete type
../drivers/net/macvtap.c:670:24: error: storage size of 'vnet_hdr' isn't known
../drivers/net/macvtap.c:690:25: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/macvtap.c:811:25: error: storage size of 'vnet_hdr' isn't known
../drivers/net/macvtap.c:1077:23: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/vhost/net.c:64:14: error: 'VIRTIO_NET_F_MRG_RXBUF' undeclared here (not in a function)
../drivers/vhost/net.c:531:9: error: variable 'hdr' has initializer but incomplete type
../drivers/vhost/net.c:532:3: error: unknown field 'flags' specified in initializer
../drivers/vhost/net.c:533:3: error: unknown field 'gso_type' specified in initializer
../drivers/vhost/net.c:533:15: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/vhost/net.c:531:24: error: storage size of 'hdr' isn't known
../drivers/vhost/net.c:1004:11: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
../drivers/vhost/net.c:1005:11: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/tun.c:209:56: error: unknown type name '__virtio16'
../drivers/net/tun.c:214:15: error: unknown type name '__virtio16'
../drivers/net/tun.c:1041:9: error: variable 'gso' has initializer but incomplete type
../drivers/net/tun.c:1041:24: error: storage size of 'gso' isn't known
../drivers/net/tun.c:1068:20: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/tun.c:1069:7: error: implicit declaration of function 'tun16_to_cpu' [-Werror=implicit-function-declaration]
../drivers/net/tun.c:1170:22: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/tun.c:1172:27: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/tun.c:1173:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/tun.c:1176:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/tun.c:1179:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/tun.c:1274:10: error: variable 'gso' has initializer but incomplete type
../drivers/net/tun.c:1274:25: error: storage size of 'gso' isn't known
../drivers/net/tun.c:1285:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/tun.c:1287:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/tun.c:1289:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/tun.c:1303:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/tun.c:1305:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/tun.c:1308:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/tun.c:1313:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/tun.c:1653:29: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../drivers/net/tun.c:2043:33: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/virtio_net.c:154:34: error: field 'hdr' has incomplete type
../drivers/net/virtio_net.c:269:27: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
../drivers/net/virtio_net.c:360:16: error: implicit declaration of function 'virtio16_to_cpu' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:480:23: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/virtio_net.c:486:30: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/virtio_net.c:494:27: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/virtio_net.c:496:32: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/virtio_net.c:497:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/virtio_net.c:500:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/virtio_net.c:503:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/virtio_net.c:613:32: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
../drivers/net/virtio_net.c:787:21: error: 'VIRTIO_NET_S_LINK_UP' undeclared (first use in this function)
../drivers/net/virtio_net.c:872:20: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/virtio_net.c:873:25: error: implicit declaration of function 'cpu_to_virtio16' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:887:24: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/virtio_net.c:889:24: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/virtio_net.c:891:24: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/virtio_net.c:895:25: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/virtio_net.c:897:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/virtio_net.c:987:29: error: storage size of 'ctrl' isn't known
../drivers/net/virtio_net.c:988:2: error: unknown type name 'virtio_net_ctrl_ack'
../drivers/net/virtio_net.c:992:10: error: implicit declaration of function 'virtio_has_feature' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:992:39: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1011:20: error: 'VIRTIO_NET_OK' undeclared (first use in this function)
../drivers/net/virtio_net.c:1035:31: error: 'VIRTIO_NET_F_CTRL_MAC_ADDR' undeclared (first use in this function)
../drivers/net/virtio_net.c:1037:33: error: 'VIRTIO_NET_CTRL_MAC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1038:8: error: 'VIRTIO_NET_CTRL_MAC_ADDR_SET' undeclared (first use in this function)
../drivers/net/virtio_net.c:1043:38: error: 'VIRTIO_NET_F_MAC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1044:32: error: 'VIRTIO_F_VERSION_1' undeclared (first use in this function)
../drivers/net/virtio_net.c:1049:4: error: implicit declaration of function 'virtio_cwrite8' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1050:28: error: invalid use of undefined type 'struct virtio_net_config'
../drivers/net/virtio_net.c:1111:32: error: 'VIRTIO_NET_CTRL_ANNOUNCE' undeclared (first use in this function)
../drivers/net/virtio_net.c:1112:7: error: 'VIRTIO_NET_CTRL_ANNOUNCE_ACK' undeclared (first use in this function)
../drivers/net/virtio_net.c:1120:28: error: storage size of 's' isn't known
../drivers/net/virtio_net.c:1123:52: error: 'VIRTIO_NET_F_MQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1129:32: error: 'VIRTIO_NET_CTRL_MQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1130:7: error: 'VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET' undeclared (first use in this function)
../drivers/net/virtio_net.c:1171:36: error: 'VIRTIO_NET_F_CTRL_RX' undeclared (first use in this function)
../drivers/net/virtio_net.c:1179:32: error: 'VIRTIO_NET_CTRL_RX' undeclared (first use in this function)
../drivers/net/virtio_net.c:1180:7: error: 'VIRTIO_NET_CTRL_RX_PROMISC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1187:7: error: 'VIRTIO_NET_CTRL_RX_ALLMULTI' undeclared (first use in this function)
../drivers/net/virtio_net.c:1195:29: error: dereferencing pointer to incomplete type 'struct virtio_net_ctrl_mac'
../drivers/net/virtio_net.c:1203:22: error: implicit declaration of function 'cpu_to_virtio32' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1222:32: error: 'VIRTIO_NET_CTRL_MAC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1223:7: error: 'VIRTIO_NET_CTRL_MAC_TABLE_SET' undeclared (first use in this function)
../drivers/net/virtio_net.c:1237:32: error: 'VIRTIO_NET_CTRL_VLAN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1238:7: error: 'VIRTIO_NET_CTRL_VLAN_ADD' undeclared (first use in this function)
../drivers/net/virtio_net.c:1251:32: error: 'VIRTIO_NET_CTRL_VLAN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1252:7: error: 'VIRTIO_NET_CTRL_VLAN_DEL' undeclared (first use in this function)
../drivers/net/virtio_net.c:1263:4: error: implicit declaration of function 'virtqueue_set_affinity' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1338:26: error: implicit declaration of function 'virtio_bus_name' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1431:6: error: implicit declaration of function 'virtio_cread_feature' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1431:37: error: 'VIRTIO_NET_F_STATUS' undeclared (first use in this function)
../drivers/net/virtio_net.c:1432:6: error: expected expression before 'struct'
../drivers/net/virtio_net.c:1435:10: error: 'VIRTIO_NET_S_ANNOUNCE' undeclared (first use in this function)
../drivers/net/virtio_net.c:1441:7: error: 'VIRTIO_NET_S_LINK_UP' undeclared (first use in this function)
../drivers/net/virtio_net.c:1529:14: error: dereferencing pointer to incomplete type 'const struct virtio_config_ops'
../drivers/net/virtio_net.c:1536:2: error: unknown type name 'vq_callback_t'
../drivers/net/virtio_net.c:1547:36: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1583:36: error: 'VIRTIO_NET_F_CTRL_VLAN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1709:32: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1710:29: error: 'VIRTIO_NET_F_CTRL_RX' undeclared (first use in this function)
../drivers/net/virtio_net.c:1712:29: error: 'VIRTIO_NET_F_CTRL_VLAN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1714:29: error: 'VIRTIO_NET_F_GUEST_ANNOUNCE' undeclared (first use in this function)
../drivers/net/virtio_net.c:1716:29: error: 'VIRTIO_NET_F_MQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1717:29: error: 'VIRTIO_NET_F_CTRL_MAC_ADDR' undeclared (first use in this function)
../drivers/net/virtio_net.c:1742:35: error: 'VIRTIO_NET_F_MQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1743:8: error: expected expression before 'struct'
../drivers/net/virtio_net.c:1747:31: error: 'VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MIN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1748:24: error: 'VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MAX' undeclared (first use in this function)
../drivers/net/virtio_net.c:1749:32: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1766:31: error: 'VIRTIO_NET_F_CSUM' undeclared (first use in this function)
../drivers/net/virtio_net.c:1772:32: error: 'VIRTIO_NET_F_GSO' undeclared (first use in this function)
../drivers/net/virtio_net.c:1777:32: error: 'VIRTIO_NET_F_HOST_TSO4' undeclared (first use in this function)
../drivers/net/virtio_net.c:1779:32: error: 'VIRTIO_NET_F_HOST_TSO6' undeclared (first use in this function)
../drivers/net/virtio_net.c:1781:32: error: 'VIRTIO_NET_F_HOST_ECN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1783:32: error: 'VIRTIO_NET_F_HOST_UFO' undeclared (first use in this function)
../drivers/net/virtio_net.c:1792:31: error: 'VIRTIO_NET_F_GUEST_CSUM' undeclared (first use in this function)
../drivers/net/virtio_net.c:1798:31: error: 'VIRTIO_NET_F_MAC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1799:3: error: implicit declaration of function 'virtio_cread_bytes' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1800:24: error: invalid use of undefined type 'struct virtio_net_config'
../drivers/net/virtio_net.c:1825:31: error: 'VIRTIO_NET_F_GUEST_TSO4' undeclared (first use in this function)
../drivers/net/virtio_net.c:1826:31: error: 'VIRTIO_NET_F_GUEST_TSO6' undeclared (first use in this function)
../drivers/net/virtio_net.c:1827:31: error: 'VIRTIO_NET_F_GUEST_ECN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1828:31: error: 'VIRTIO_NET_F_GUEST_UFO' undeclared (first use in this function)
../drivers/net/virtio_net.c:1831:31: error: 'VIRTIO_NET_F_MRG_RXBUF' undeclared (first use in this function)
../drivers/net/virtio_net.c:1835:31: error: 'VIRTIO_F_VERSION_1' undeclared (first use in this function)
../drivers/net/virtio_net.c:1836:24: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
../drivers/net/virtio_net.c:1838:24: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../drivers/net/virtio_net.c:1840:31: error: 'VIRTIO_F_ANY_LAYOUT' undeclared (first use in this function)
../drivers/net/virtio_net.c:1872:2: error: implicit declaration of function 'virtio_device_ready' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1896:35: error: 'VIRTIO_NET_F_STATUS' undeclared (first use in this function)
../drivers/net/virtio_net.c:1900:16: error: 'VIRTIO_NET_S_LINK_UP' undeclared (first use in this function)
../drivers/net/virtio_net.c:2015:4: error: 'VIRTIO_ID_NET' undeclared here (not in a function)
../drivers/net/virtio_net.c:2020:2: error: 'VIRTIO_NET_F_CSUM' undeclared here (not in a function)
../drivers/net/virtio_net.c:2020:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2020:21: error: 'VIRTIO_NET_F_GUEST_CSUM' undeclared here (not in a function)
../drivers/net/virtio_net.c:2020:21: error: initializer element is not constant
../drivers/net/virtio_net.c:2021:2: error: 'VIRTIO_NET_F_GSO' undeclared here (not in a function)
../drivers/net/virtio_net.c:2021:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2021:20: error: 'VIRTIO_NET_F_MAC' undeclared here (not in a function)
../drivers/net/virtio_net.c:2021:20: error: initializer element is not constant
../drivers/net/virtio_net.c:2022:2: error: 'VIRTIO_NET_F_HOST_TSO4' undeclared here (not in a function)
../drivers/net/virtio_net.c:2022:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2022:26: error: 'VIRTIO_NET_F_HOST_UFO' undeclared here (not in a function)
../drivers/net/virtio_net.c:2022:26: error: initializer element is not constant
../drivers/net/virtio_net.c:2022:49: error: 'VIRTIO_NET_F_HOST_TSO6' undeclared here (not in a function)
../drivers/net/virtio_net.c:2022:49: error: initializer element is not constant
../drivers/net/virtio_net.c:2023:2: error: 'VIRTIO_NET_F_HOST_ECN' undeclared here (not in a function)
../drivers/net/virtio_net.c:2023:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2023:25: error: 'VIRTIO_NET_F_GUEST_TSO4' undeclared here (not in a function)
../drivers/net/virtio_net.c:2023:25: error: initializer element is not constant
../drivers/net/virtio_net.c:2023:50: error: 'VIRTIO_NET_F_GUEST_TSO6' undeclared here (not in a function)
../drivers/net/virtio_net.c:2023:50: error: initializer element is not constant
../drivers/net/virtio_net.c:2024:2: error: 'VIRTIO_NET_F_GUEST_ECN' undeclared here (not in a function)
../drivers/net/virtio_net.c:2024:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2024:26: error: 'VIRTIO_NET_F_GUEST_UFO' undeclared here (not in a function)
../drivers/net/virtio_net.c:2024:26: error: initializer element is not constant
../drivers/net/virtio_net.c:2025:2: error: 'VIRTIO_NET_F_MRG_RXBUF' undeclared here (not in a function)
../drivers/net/virtio_net.c:2025:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2025:26: error: 'VIRTIO_NET_F_STATUS' undeclared here (not in a function)
../drivers/net/virtio_net.c:2025:26: error: initializer element is not constant
../drivers/net/virtio_net.c:2025:47: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared here (not in a function)
../drivers/net/virtio_net.c:2025:47: error: initializer element is not constant
../drivers/net/virtio_net.c:2026:2: error: 'VIRTIO_NET_F_CTRL_RX' undeclared here (not in a function)
../drivers/net/virtio_net.c:2026:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2026:24: error: 'VIRTIO_NET_F_CTRL_VLAN' undeclared here (not in a function)
../drivers/net/virtio_net.c:2026:24: error: initializer element is not constant
../drivers/net/virtio_net.c:2027:2: error: 'VIRTIO_NET_F_GUEST_ANNOUNCE' undeclared here (not in a function)
../drivers/net/virtio_net.c:2027:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2027:31: error: 'VIRTIO_NET_F_MQ' undeclared here (not in a function)
../drivers/net/virtio_net.c:2027:31: error: initializer element is not constant
../drivers/net/virtio_net.c:2028:2: error: 'VIRTIO_NET_F_CTRL_MAC_ADDR' undeclared here (not in a function)
../drivers/net/virtio_net.c:2028:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2029:2: error: 'VIRTIO_F_ANY_LAYOUT' undeclared here (not in a function)
../drivers/net/virtio_net.c:2029:2: error: initializer element is not constant
../drivers/usb/serial/visor.c:452:4: error: 'USB_CDC_SUBCLASS_ACM' undeclared (first use in this function)
../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
../drivers/staging/unisys/virthba/virthba.c:622:19: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notify'
../drivers/staging/unisys/virthba/virthba.c:623:19: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
../drivers/staging/unisys/virthba/virthba.c:630:19: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'scsicmd'
../drivers/staging/unisys/virthba/virthba.c:673:22: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notify'
../drivers/staging/unisys/virthba/virthba.c:674:22: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
../drivers/staging/unisys/virthba/virthba.c:681:22: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'scsicmd'
../drivers/staging/unisys/virthba/virthba.c:838:15: error: 'struct uiscmdrsp_scsi' has no member named 'scsicmd'; did you mean 'scsistat'?
../drivers/staging/unisys/virthba/virthba.c:1037:3: error: implicit declaration of function 'SET_NO_DISK_INQUIRY_RESULT' [-Werror=implicit-function-declaration]
../drivers/staging/unisys/virthba/virthba.c:1098:27: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
../drivers/staging/unisys/virthba/virthba.c:1099:52: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notify'
../drivers/staging/unisys/virthba/virthba.c:1107:30: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
../drivers/staging/unisys/virthba/virthba.c:1109:55: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notify'
../drivers/staging/unisys/virthba/virthba.c:1142:21: error: 'struct uiscmdrsp_scsi' has no member named 'scsicmd'; did you mean 'scsistat'?
../drivers/staging/unisys/virthba/virthba.c:1149:39: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'scsicmd'
../drivers/staging/unisys/virthba/virthba.c:1162:28: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'scsicmd'
../drivers/staging/unisys/virthba/virthba.c:1331:2: error: implicit declaration of function 'SPAR_CHANNEL_CLIENT_TRANSITION' [-Werror=implicit-function-declaration]
../drivers/staging/unisys/virthba/virthba.c:1380:29: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notify'
../drivers/staging/unisys/virthba/virthba.c:1381:32: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
../drivers/staging/unisys/virthba/virthba.c:1386:29: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
../drivers/staging/unisys/virthba/virthba.c:1389:26: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notify'
../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
../drivers/staging/unisys/virtpci/virtpci.c:896:2: error: implicit declaration of function 'SPAR_CHANNEL_CLIENT_TRANSITION' [-Werror=implicit-function-declaration]
../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
arm64-defconfig
../include/linux/thread_info.h:128:2: error: implicit declaration of function 'WARN_ON' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/arch_timer.h:113:2: error: implicit declaration of function 'BUG' [-Werror=implicit-function-declaration]
../include/linux/page-flags.h:410:2: error: implicit declaration of function 'BUG_ON' [-Werror=implicit-function-declaration]
../include/linux/kernfs.h:252:2: error: implicit declaration of function 'WARN_ON_ONCE' [-Werror=implicit-function-declaration]
-------------------------------------------------------------------------------
defconfigs with issues (other than build errors):
11 warnings 0 mismatches : arm-multi_v5_defconfig
24 warnings 0 mismatches : arm-multi_v7_defconfig
11 warnings 0 mismatches : x86_64-defconfig
228 warnings 0 mismatches : arm-allmodconfig
2 warnings 0 mismatches : arm-allnoconfig
1 warnings 0 mismatches : x86_64-allnoconfig
2 warnings 0 mismatches : arm-multi_v4t_defconfig
219 warnings 0 mismatches : x86_64-allmodconfig
-------------------------------------------------------------------------------
Errors summary: 918
305 ../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
20 ../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
20 ../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
20 ../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
14 ../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
14 ../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
14 ../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
14 ../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
13 ../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
13 ../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
13 ../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
13 ../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
13 ../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
13 ../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
13 ../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
13 ../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
13 ../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
13 ../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
13 ../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
13 ../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
13 ../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
13 ../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
13 ../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
9 ../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
9 ../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
8 ../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
7 ../include/linux/usb/cdc_ncm.h:88:36: error: field 'ncm_parm' has incomplete type
7 ../drivers/usb/gadget/function/f_ncm.c:599:6: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
7 ../drivers/usb/gadget/function/f_ncm.c:467:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
7 ../drivers/usb/gadget/function/f_ncm.c:1140:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
6 ../drivers/net/usb/cdc_ncm.c:1150:48: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
6 ../drivers/net/usb/cdc_ncm.c:1093:45: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
6 ../drivers/net/usb/cdc_ncm.c:1055:73: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
6 ../drivers/net/usb/cdc_ncm.c:1055:38: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
6 ../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:43: error: 'RTIT_CTL_DISRETC' undeclared (first use in this function)
6 ../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:25: error: 'RTIT_CTL_TSC_EN' undeclared (first use in this function)
5 ../net/packet/af_packet.c:2998:21: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
5 ../net/packet/af_packet.c:2992:21: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
5 ../net/packet/af_packet.c:2989:24: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
5 ../net/packet/af_packet.c:2987:26: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
5 ../net/packet/af_packet.c:2981:25: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
5 ../net/packet/af_packet.c:2979:25: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
5 ../net/packet/af_packet.c:2977:25: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
5 ../net/packet/af_packet.c:2959:25: error: storage size of 'vnet_hdr' isn't known
5 ../net/packet/af_packet.c:2959:10: error: variable 'vnet_hdr' has initializer but incomplete type
5 ../net/packet/af_packet.c:2491:9: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
5 ../net/packet/af_packet.c:2488:9: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
5 ../net/packet/af_packet.c:2485:9: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
5 ../net/packet/af_packet.c:2484:33: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
5 ../net/packet/af_packet.c:2483:28: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
5 ../net/packet/af_packet.c:2471:25: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
5 ../net/packet/af_packet.c:2420:9: error: variable 'vnet_hdr' has initializer but incomplete type
5 ../net/packet/af_packet.c:2420:24: error: storage size of 'vnet_hdr' isn't known
5 ../mm/util.c:23:25: error: '__end_rodata' undeclared (first use in this function)
5 ../mm/util.c:22:32: error: '__start_rodata' undeclared (first use in this function)
5 ../mm/page_alloc.c:5587:32: error: '_sinittext' undeclared (first use in this function)
5 ../mm/page_alloc.c:5587:19: error: '_einittext' undeclared (first use in this function)
5 ../mm/page_alloc.c:5586:32: error: '__init_begin' undeclared (first use in this function)
5 ../mm/page_alloc.c:5586:19: error: '__init_end' undeclared (first use in this function)
5 ../mm/page_alloc.c:5585:26: error: '__bss_start' undeclared (first use in this function)
5 ../mm/page_alloc.c:5585:13: error: '__bss_stop' undeclared (first use in this function)
5 ../mm/page_alloc.c:5584:26: error: '__start_rodata' undeclared (first use in this function)
5 ../mm/page_alloc.c:5584:11: error: '__end_rodata' undeclared (first use in this function)
5 ../mm/page_alloc.c:5583:22: error: '_sdata' undeclared (first use in this function)
5 ../mm/page_alloc.c:5583:13: error: '_edata' undeclared (first use in this function)
5 ../mm/page_alloc.c:5582:22: error: '_stext' undeclared (first use in this function)
5 ../mm/page_alloc.c:5582:13: error: '_etext' undeclared (first use in this function)
5 ../lib/vsprintf.c:1474:9: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
5 ../kernel/extable.c:95:28: error: '_edata' undeclared (first use in this function)
5 ../kernel/extable.c:94:29: error: '_sdata' undeclared (first use in this function)
5 ../kernel/extable.c:73:28: error: '_etext' undeclared (first use in this function)
5 ../kernel/extable.c:72:29: error: '_stext' undeclared (first use in this function)
5 ../kernel/extable.c:65:28: error: '_einittext' undeclared (first use in this function)
5 ../kernel/extable.c:64:29: error: '_sinittext' undeclared (first use in this function)
5 ../kernel/extable.c:140:25: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
5 ../drivers/usb/gadget/function/f_ncm.c:966:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
5 ../drivers/usb/gadget/function/f_ncm.c:965:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
5 ../drivers/usb/gadget/function/f_ncm.c:964:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
5 ../drivers/usb/gadget/function/f_ncm.c:901:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
5 ../drivers/usb/gadget/function/f_ncm.c:126:31: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
5 ../drivers/usb/class/cdc-wdm.c:896:29: error: request for member 'wMaxCommand' in something not a structure or union
5 ../drivers/usb/class/cdc-wdm.c:267:18: error: request for member 'wLength' in something not a structure or union
5 ../drivers/usb/class/cdc-wdm.c:266:18: error: request for member 'wIndex' in something not a structure or union
5 ../drivers/usb/class/cdc-wdm.c:248:43: error: request for member 'wLength' in something not a structure or union
5 ../drivers/usb/class/cdc-wdm.c:248:18: error: request for member 'wIndex' in something not a structure or union
5 ../arch/arm/mm/init.c:723:32: error: '__init_end' undeclared (first use in this function)
5 ../arch/arm/mm/init.c:539:29: error: '__bss_stop' undeclared (first use in this function)
5 ../arch/arm/mm/init.c:539:16: error: '__bss_start' undeclared (first use in this function)
5 ../arch/arm/mm/init.c:538:24: error: '_edata' undeclared (first use in this function)
5 ../arch/arm/mm/init.c:538:16: error: '_sdata' undeclared (first use in this function)
5 ../arch/arm/mm/init.c:537:30: error: '__init_end' undeclared (first use in this function)
5 ../arch/arm/mm/init.c:537:16: error: '__init_begin' undeclared (first use in this function)
5 ../arch/arm/mm/init.c:536:23: error: '_etext' undeclared (first use in this function)
5 ../arch/arm/mm/init.c:536:16: error: '_text' undeclared (first use in this function)
5 ../arch/arm/mm/init.c:235:33: error: '_end' undeclared (first use in this function)
5 ../arch/arm/mm/init.c:235:24: error: '_stext' undeclared (first use in this function)
5 ../arch/arm/kernel/setup.c:931:35: error: '_end' undeclared (first use in this function)
5 ../arch/arm/kernel/setup.c:930:39: error: '_edata' undeclared (first use in this function)
5 ../arch/arm/kernel/setup.c:929:39: error: '_etext' undeclared (first use in this function)
5 ../arch/arm/kernel/setup.c:928:39: error: '_text' undeclared (first use in this function)
5 ../arch/arm/kernel/setup.c:772:37: error: '_end' undeclared (first use in this function)
5 ../arch/arm/kernel/setup.c:771:37: error: '_sdata' undeclared (first use in this function)
5 ../arch/arm/kernel/setup.c:770:37: error: '_etext' undeclared (first use in this function)
5 ../arch/arm/kernel/setup.c:769:37: error: '_text' undeclared (first use in this function)
4 ../mm/percpu.c:90:21: error: '__per_cpu_start' undeclared (first use in this function)
4 ../kernel/kallsyms.c:73:62: error: '_end' undeclared (first use in this function)
4 ../kernel/kallsyms.c:73:29: error: '_stext' undeclared (first use in this function)
4 ../kernel/kallsyms.c:66:6: error: implicit declaration of function 'arch_is_kernel_text' [-Werror=implicit-function-declaration]
4 ../kernel/kallsyms.c:65:63: error: '_etext' undeclared (first use in this function)
4 ../kernel/kallsyms.c:65:30: error: '_stext' undeclared (first use in this function)
4 ../kernel/kallsyms.c:58:32: error: '_einittext' undeclared (first use in this function)
4 ../kernel/kallsyms.c:57:29: error: '_sinittext' undeclared (first use in this function)
4 ../kernel/kallsyms.c:261:32: error: '_etext' undeclared (first use in this function)
4 ../kernel/kallsyms.c:259:32: error: '_end' undeclared (first use in this function)
4 ../kernel/kallsyms.c:257:32: error: '_einittext' undeclared (first use in this function)
4 ../drivers/usb/class/cdc-acm.c:161:20: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
4 ../arch/arm/mm/mmu.c:1333:43: error: '__init_end' undeclared (first use in this function)
4 ../arch/arm/mm/mmu.c:1332:47: error: '_stext' undeclared (first use in this function)
4 ../arch/arm/mm/init.c:723:18: error: '__init_begin' undeclared (first use in this function)
3 ../net/sunrpc/xprtsock.c:1635:38: error: 'SO_REUSEPORT' undeclared (first use in this function)
3 ../net/core/sock.c:980:7: error: 'SO_MAX_PACING_RATE' undeclared (first use in this function)
3 ../net/core/sock.c:967:7: error: 'SO_BUSY_POLL' undeclared (first use in this function)
3 ../net/core/sock.c:962:7: error: 'SO_SELECT_ERR_QUEUE' undeclared (first use in this function)
3 ../net/core/sock.c:923:7: error: 'SO_LOCK_FILTER' undeclared (first use in this function)
3 ../net/core/sock.c:906:7: error: 'SO_ATTACH_BPF' undeclared (first use in this function)
3 ../net/core/sock.c:708:7: error: 'SO_REUSEPORT' undeclared (first use in this function)
3 ../net/core/sock.c:1242:7: error: 'SO_INCOMING_CPU' undeclared (first use in this function)
3 ../net/core/sock.c:1238:7: error: 'SO_MAX_PACING_RATE' undeclared (first use in this function)
3 ../net/core/sock.c:1233:7: error: 'SO_BUSY_POLL' undeclared (first use in this function)
3 ../net/core/sock.c:1228:7: error: 'SO_SELECT_ERR_QUEUE' undeclared (first use in this function)
3 ../net/core/sock.c:1224:7: error: 'SO_BPF_EXTENSIONS' undeclared (first use in this function)
3 ../net/core/sock.c:1220:7: error: 'SO_LOCK_FILTER' undeclared (first use in this function)
3 ../net/core/sock.c:1213:7: error: 'SO_GET_FILTER' undeclared (first use in this function)
3 ../net/core/sock.c:1055:7: error: 'SO_REUSEPORT' undeclared (first use in this function)
3 ../kernel/module.c:907:35: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
3 ../drivers/net/usb/zaurus.c:319:4: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
3 ../drivers/net/usb/zaurus.c:269:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
3 ../drivers/net/usb/zaurus.c:268:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
3 ../drivers/net/usb/zaurus.c:188:18: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_detail_desc'
3 ../drivers/net/usb/zaurus.c:182:8: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared (first use in this function)
3 ../drivers/net/usb/zaurus.c:169:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_desc'
3 ../drivers/net/usb/zaurus.c:163:8: error: 'USB_CDC_MDLM_TYPE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:794:8: error: 'USB_CDC_MBIM_EXTENDED_TYPE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:787:8: error: 'USB_CDC_MBIM_TYPE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:780:8: error: 'USB_CDC_NCM_TYPE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:772:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:758:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
3 ../drivers/net/usb/cdc_ncm.c:757:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:577:13: error: 'USB_CDC_NCM_NDP_ALIGN_MIN_SIZE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:558:49: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_extended_desc'
3 ../drivers/net/usb/cdc_ncm.c:546:30: error: 'USB_CDC_SET_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:534:29: error: 'USB_CDC_GET_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:530:29: error: 'USB_CDC_NCM_NCAP_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:507:94: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
3 ../drivers/net/usb/cdc_ncm.c:507:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
3 ../drivers/net/usb/cdc_ncm.c:481:12: error: 'USB_CDC_NCM_NTB16_FORMAT' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:478:31: error: 'USB_CDC_SET_NTB_FORMAT' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:476:7: error: 'USB_CDC_NCM_NTB32_SUPPORTED' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:464:12: error: 'USB_CDC_NCM_CRC_NOT_APPENDED' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:461:31: error: 'USB_CDC_SET_CRC_MODE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:459:27: error: 'USB_CDC_NCM_NCAP_CRC_MODE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:448:29: error: 'USB_CDC_GET_NTB_PARAMETERS' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:435:37: error: dereferencing pointer to incomplete type 'const struct usb_cdc_ether_desc'
3 ../drivers/net/usb/cdc_ncm.c:410:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_ncm_desc'
3 ../drivers/net/usb/cdc_ncm.c:408:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_desc'
3 ../drivers/net/usb/cdc_ncm.c:346:29: error: 'USB_CDC_SET_NTB_INPUT_SIZE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:176:60: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
3 ../drivers/net/usb/cdc_ncm.c:1593:26: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
3 ../drivers/net/usb/cdc_ncm.c:1592:26: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
3 ../drivers/net/usb/cdc_ncm.c:153:8: error: 'USB_CDC_NCM_NTB_MIN_IN_SIZE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:1538:19: error: invalid use of undefined type 'struct usb_cdc_notification'
3 ../drivers/net/usb/cdc_ncm.c:1534:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_speed_change'
3 ../drivers/net/usb/cdc_ncm.c:1532:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:1520:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:1507:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
3 ../drivers/net/usb/cdc_ncm.c:1480:38: error: dereferencing pointer to incomplete type 'struct usb_cdc_speed_change'
3 ../drivers/net/usb/cdc_ncm.c:1427:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_dpe16'
3 ../drivers/net/usb/cdc_ncm.c:1426:37: error: increment of pointer to an incomplete type 'struct usb_cdc_ncm_dpe16'
3 ../drivers/net/usb/cdc_ncm.c:1418:40: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:1383:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
3 ../drivers/net/usb/cdc_ncm.c:1382:14: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
3 ../drivers/net/usb/cdc_ncm.c:1379:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
3 ../drivers/net/usb/cdc_ncm.c:1378:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
3 ../drivers/net/usb/cdc_ncm.c:1364:26: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
3 ../drivers/net/usb/cdc_ncm.c:1327:40: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:1327:11: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
3 ../drivers/net/usb/cdc_ncm.c:1320:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
3 ../drivers/net/usb/cdc_ncm.c:1319:28: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
3 ../drivers/net/usb/cdc_ncm.c:1296:56: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:1145:64: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
3 ../drivers/net/usb/cdc_ncm.c:1145:28: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
3 ../drivers/net/usb/cdc_ncm.c:1092:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
3 ../drivers/net/usb/cdc_ncm.c:1092:36: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ncm.c:1091:70: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
3 ../drivers/net/usb/cdc_ncm.c:1091:108: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
3 ../drivers/net/usb/cdc_ncm.c:1034:13: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_ndp16'
3 ../drivers/net/usb/cdc_ncm.c:1029:38: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
3 ../drivers/net/usb/cdc_ether.c:90:4: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ether.c:86:17: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ether.c:84:17: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ether.c:77:6: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ether.c:76:19: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ether.c:626:4: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
3 ../drivers/net/usb/cdc_ether.c:539:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
3 ../drivers/net/usb/cdc_ether.c:538:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
3 ../drivers/net/usb/cdc_ether.c:461:4: error: invalid use of undefined type 'struct usb_cdc_notification'
3 ../drivers/net/usb/cdc_ether.c:455:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ether.c:450:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ether.c:439:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
3 ../drivers/net/usb/cdc_ether.c:362:17: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
3 ../drivers/net/usb/cdc_ether.c:296:14: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_detail_desc'
3 ../drivers/net/usb/cdc_ether.c:288:8: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ether.c:282:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_desc'
3 ../drivers/net/usb/cdc_ether.c:274:8: error: 'USB_CDC_MDLM_TYPE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ether.c:263:19: error: dereferencing pointer to incomplete type 'struct usb_cdc_ether_desc'
3 ../drivers/net/usb/cdc_ether.c:257:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ether.c:205:15: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
3 ../drivers/net/usb/cdc_ether.c:199:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ether.c:190:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_acm_descriptor'
3 ../drivers/net/usb/cdc_ether.c:182:8: error: 'USB_CDC_ACM_TYPE' undeclared (first use in this function)
3 ../drivers/net/usb/cdc_ether.c:176:20: error: dereferencing pointer to incomplete type 'struct usb_cdc_header_desc'
3 ../drivers/net/usb/cdc_ether.c:170:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
3 ../arch/x86/kernel/cpu/perf_event_intel_pt.c:525:15: error: 'RTIT_STATUS_STOPPED' undeclared (first use in this function)
3 ../arch/x86/kernel/cpu/perf_event_intel_pt.c:519:15: error: 'RTIT_STATUS_ERROR' undeclared (first use in this function)
3 ../arch/x86/kernel/cpu/perf_event_intel_pt.c:221:10: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
3 ../arch/x86/kernel/cpu/perf_event_intel_pt.c:208:10: error: 'RTIT_CTL_USR' undeclared (first use in this function)
3 ../arch/x86/kernel/cpu/perf_event_intel_pt.c:206:10: error: 'RTIT_CTL_OS' undeclared (first use in this function)
3 ../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:8: error: 'RTIT_CTL_TOPA' undeclared (first use in this function)
3 ../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:45: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
3 ../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:24: error: 'RTIT_CTL_BRANCH_EN' undeclared (first use in this function)
3 ../arch/x86/kernel/cpu/perf_event_intel_pt.c:196:18: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
3 ../arch/x86/kernel/cpu/perf_event_intel_pt.c:1071:22: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
2 ../net/netfilter/nf_conntrack_proto_sctp.c:59:3: error: array index in initializer not of integer type
2 ../net/netfilter/nf_conntrack_proto_sctp.c:59:3: error: 'SCTP_CONNTRACK_SHUTDOWN_ACK_SENT' undeclared here (not in a function)
2 ../net/netfilter/nf_conntrack_proto_sctp.c:58:3: error: array index in initializer not of integer type
2 ../net/netfilter/nf_conntrack_proto_sctp.c:58:3: error: 'SCTP_CONNTRACK_SHUTDOWN_RECD' undeclared here (not in a function)
2 ../net/netfilter/nf_conntrack_proto_sctp.c:57:3: error: array index in initializer not of integer type
2 ../net/netfilter/nf_conntrack_proto_sctp.c:57:3: error: 'SCTP_CONNTRACK_SHUTDOWN_SENT' undeclared here (not in a function)
2 ../net/netfilter/nf_conntrack_proto_sctp.c:56:3: error: array index in initializer not of integer type
2 ../net/netfilter/nf_conntrack_proto_sctp.c:56:3: error: 'SCTP_CONNTRACK_ESTABLISHED' undeclared here (not in a function)
2 ../net/netfilter/nf_conntrack_proto_sctp.c:55:3: error: array index in initializer not of integer type
2 ../net/netfilter/nf_conntrack_proto_sctp.c:55:3: error: 'SCTP_CONNTRACK_COOKIE_ECHOED' undeclared here (not in a function)
2 ../net/netfilter/nf_conntrack_proto_sctp.c:54:3: error: array index in initializer not of integer type
2 ../net/netfilter/nf_conntrack_proto_sctp.c:54:3: error: 'SCTP_CONNTRACK_COOKIE_WAIT' undeclared here (not in a function)
2 ../net/netfilter/nf_conntrack_proto_sctp.c:53:3: error: array index in initializer not of integer type
2 ../net/netfilter/nf_conntrack_proto_sctp.c:53:3: error: 'SCTP_CONNTRACK_CLOSED' undeclared here (not in a function)
2 ../net/netfilter/nf_conntrack_proto_sctp.c:52:35: error: 'SCTP_CONNTRACK_MAX' undeclared here (not in a function)
2 ../net/netfilter/nf_conntrack_proto_sctp.c:441:9: error: 'SCTP_CONNTRACK_NONE' undeclared (first use in this function)
2 ../net/netfilter/nf_conntrack_proto_sctp.c:415:22: error: storage size of 'new_state' isn't known
2 ../net/netfilter/nf_conntrack_proto_sctp.c:337:26: error: 'SCTP_CONNTRACK_NONE' undeclared (first use in this function)
2 ../net/netfilter/nf_conntrack_proto_sctp.c:310:33: error: storage size of 'old_state' isn't known
2 ../net/netfilter/nf_conntrack_proto_sctp.c:310:22: error: storage size of 'new_state' isn't known
2 ../net/netfilter/nf_conntrack_proto_sctp.c:237:26: error: parameter 2 ('cur_state') has incomplete type
2 ../net/netfilter/nf_conntrack_proto_sctp.c:236:12: error: function declaration isn't a prototype [-Werror=strict-prototypes]
2 ../net/netfilter/nf_conntrack_proto_sctp.c:180:22: error: storage size of 'state' isn't known
2 ../mm/percpu.c:96:20: error: '__per_cpu_start' undeclared (first use in this function)
2 ../mm/percpu.c:2228:57: error: '__per_cpu_start' undeclared (first use in this function)
2 ../mm/percpu.c:2026:16: error: '__per_cpu_load' undeclared (first use in this function)
2 ../mm/percpu.c:1800:45: error: '__per_cpu_start' undeclared (first use in this function)
2 ../mm/percpu.c:1800:29: error: '__per_cpu_end' undeclared (first use in this function)
2 ../mm/percpu.c:1575:35: error: '__per_cpu_start' undeclared (first use in this function)
2 ../mm/percpu.c:1302:45: error: '__per_cpu_start' undeclared (first use in this function)
2 ../mm/percpu.c:1302:29: error: '__per_cpu_end' undeclared (first use in this function)
2 ../kernel/profile.c:106:23: error: '_stext' undeclared (first use in this function)
2 ../kernel/profile.c:106:14: error: '_etext' undeclared (first use in this function)
2 ../kernel/kexec.c:1950:20: error: '_stext' undeclared (first use in this function)
2 ../include/linux/thread_info.h:128:2: error: implicit declaration of function 'WARN_ON' [-Werror=implicit-function-declaration]
2 ../drivers/vhost/net.c:64:14: error: 'VIRTIO_NET_F_MRG_RXBUF' undeclared here (not in a function)
2 ../drivers/vhost/net.c:533:3: error: unknown field 'gso_type' specified in initializer
2 ../drivers/vhost/net.c:533:15: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
2 ../drivers/vhost/net.c:532:3: error: unknown field 'flags' specified in initializer
2 ../drivers/vhost/net.c:531:9: error: variable 'hdr' has initializer but incomplete type
2 ../drivers/vhost/net.c:531:24: error: storage size of 'hdr' isn't known
2 ../drivers/vhost/net.c:1005:11: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
2 ../drivers/vhost/net.c:1004:11: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
2 ../drivers/usb/serial/visor.c:452:4: error: 'USB_CDC_SUBCLASS_ACM' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/u_serial.c:119:29: error: field 'port_line_coding' has incomplete type
2 ../drivers/usb/gadget/function/u_serial.c:1111:21: error: 'USB_CDC_1_STOP_BITS' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/u_serial.c:1110:23: error: 'USB_CDC_NO_PARITY' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/u_serial.c:1103:29: error: storage size of 'coding' isn't known
2 ../drivers/usb/gadget/function/u_serial.c:1055:27: error: dereferencing pointer to incomplete type 'struct usb_cdc_line_coding'
2 ../drivers/usb/gadget/function/u_ether.h:93:4: error: invalid operands to binary | (have 'u8 * {aka unsigned char *}' and 'u8 * {aka unsigned char *}')
2 ../drivers/usb/gadget/function/u_ether.h:92:4: error: invalid operands to binary | (have 'u8 * {aka unsigned char *}' and 'u8 * {aka unsigned char *}')
2 ../drivers/usb/gadget/function/u_ether.h:91:4: error: invalid operands to binary | (have 'u8 * {aka unsigned char *}' and 'u8 * {aka unsigned char *}')
2 ../drivers/usb/gadget/function/u_ether.c:521:12: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/u_ether.c:519:12: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/u_ether.c:479:22: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_subset.c:97:2: error: unknown field 'bcdCDC' specified in initializer
2 ../drivers/usb/gadget/function/f_subset.c:95:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_subset.c:95:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_subset.c:94:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_subset.c:93:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_subset.c:93:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
2 ../drivers/usb/gadget/function/f_subset.c:92:15: error: variable 'mdlm_header_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_subset.c:87:24: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_subset.c:331:2: error: invalid use of undefined type 'struct usb_cdc_ether_desc'
2 ../drivers/usb/gadget/function/f_subset.c:136:2: error: unknown field 'bNumberPowerFilters' specified in initializer
2 ../drivers/usb/gadget/function/f_subset.c:135:2: error: unknown field 'wNumberMCFilters' specified in initializer
2 ../drivers/usb/gadget/function/f_subset.c:134:2: error: unknown field 'wMaxSegmentSize' specified in initializer
2 ../drivers/usb/gadget/function/f_subset.c:133:2: error: unknown field 'bmEthernetStatistics' specified in initializer
2 ../drivers/usb/gadget/function/f_subset.c:129:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_subset.c:129:24: error: 'USB_CDC_ETHERNET_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_subset.c:128:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_subset.c:127:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_subset.c:127:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
2 ../drivers/usb/gadget/function/f_subset.c:126:15: error: variable 'ether_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_subset.c:119:2: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_subset.c:106:2: error: unknown field 'bGUID' specified in initializer
2 ../drivers/usb/gadget/function/f_subset.c:106:11: error: extra brace group at end of initializer
2 ../drivers/usb/gadget/function/f_subset.c:105:2: error: unknown field 'bcdVersion' specified in initializer
2 ../drivers/usb/gadget/function/f_subset.c:103:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_subset.c:103:24: error: 'USB_CDC_MDLM_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_subset.c:102:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_subset.c:101:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_subset.c:101:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_mdlm_desc'
2 ../drivers/usb/gadget/function/f_subset.c:100:15: error: variable 'mdlm_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_rndis.c:739:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_rndis.c:727:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_rndis.c:494:6: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_rndis.c:483:6: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_rndis.c:183:23: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_rndis.c:182:23: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_rndis.c:154:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_rndis.c:154:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_rndis.c:153:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_rndis.c:152:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_rndis.c:152:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_rndis.c:151:15: error: variable 'rndis_union_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_rndis.c:148:2: error: unknown field 'bmCapabilities' specified in initializer
2 ../drivers/usb/gadget/function/f_rndis.c:146:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_rndis.c:146:24: error: 'USB_CDC_ACM_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_rndis.c:145:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_rndis.c:144:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_rndis.c:144:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_acm_descriptor'
2 ../drivers/usb/gadget/function/f_rndis.c:143:15: error: variable 'rndis_acm_descriptor' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_rndis.c:140:2: error: unknown field 'bDataInterface' specified in initializer
2 ../drivers/usb/gadget/function/f_rndis.c:139:2: error: unknown field 'bmCapabilities' specified in initializer
2 ../drivers/usb/gadget/function/f_rndis.c:137:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_rndis.c:137:24: error: 'USB_CDC_CALL_MANAGEMENT_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_rndis.c:136:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_rndis.c:135:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_rndis.c:135:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_call_mgmt_descriptor'
2 ../drivers/usb/gadget/function/f_rndis.c:134:15: error: variable 'call_mgmt_descriptor' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_rndis.c:131:2: error: unknown field 'bcdCDC' specified in initializer
2 ../drivers/usb/gadget/function/f_rndis.c:129:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_rndis.c:129:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_rndis.c:128:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_rndis.c:127:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_rndis.c:127:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
2 ../drivers/usb/gadget/function/f_rndis.c:126:15: error: variable 'header_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_rndis.c:122:26: error: 'USB_CDC_ACM_PROTO_VENDOR' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_rndis.c:121:26: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_phonet.c:99:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_phonet.c:99:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_phonet.c:98:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_phonet.c:97:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_phonet.c:97:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_phonet.c:96:1: error: variable 'pn_union_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_phonet.c:92:2: error: unknown field 'bcdCDC' specified in initializer
2 ../drivers/usb/gadget/function/f_phonet.c:91:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_phonet.c:90:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_phonet.c:89:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_phonet.c:89:21: error: invalid application of 'sizeof' to incomplete type 'const struct usb_cdc_header_desc'
2 ../drivers/usb/gadget/function/f_phonet.c:88:1: error: variable 'pn_phonet_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_phonet.c:84:2: error: unknown field 'bcdCDC' specified in initializer
2 ../drivers/usb/gadget/function/f_phonet.c:83:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_phonet.c:83:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_phonet.c:82:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_phonet.c:81:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_phonet.c:81:21: error: invalid application of 'sizeof' to incomplete type 'const struct usb_cdc_header_desc'
2 ../drivers/usb/gadget/function/f_phonet.c:80:1: error: variable 'pn_header_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_phonet.c:525:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_phonet.c:518:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_obex.c:84:24: error: 'USB_CDC_SUBCLASS_OBEX' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_obex.c:350:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_obex.c:341:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_obex.c:126:2: error: unknown field 'bcdVersion' specified in initializer
2 ../drivers/usb/gadget/function/f_obex.c:125:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_obex.c:125:24: error: 'USB_CDC_OBEX_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_obex.c:124:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_obex.c:123:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_obex.c:123:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_obex_desc'
2 ../drivers/usb/gadget/function/f_obex.c:122:15: error: variable 'obex_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_obex.c:119:2: error: unknown field 'bSlaveInterface0' specified in initializer
2 ../drivers/usb/gadget/function/f_obex.c:118:2: error: unknown field 'bMasterInterface0' specified in initializer
2 ../drivers/usb/gadget/function/f_obex.c:117:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_obex.c:117:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_obex.c:116:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_obex.c:115:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_obex.c:115:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_obex.c:114:15: error: variable 'obex_cdc_union_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_obex.c:111:2: error: unknown field 'bcdCDC' specified in initializer
2 ../drivers/usb/gadget/function/f_obex.c:110:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_obex.c:110:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_obex.c:109:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_obex.c:108:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_obex.c:108:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
2 ../drivers/usb/gadget/function/f_obex.c:107:15: error: variable 'obex_cdc_header_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_ncm.c:739:5: error: 'USB_CDC_SET_CRC_MODE' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_ncm.c:725:5: error: 'USB_CDC_GET_CRC_MODE' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_ncm.c:705:5: error: 'USB_CDC_SET_NTB_FORMAT' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_ncm.c:691:5: error: 'USB_CDC_GET_NTB_FORMAT' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_ncm.c:678:5: error: 'USB_CDC_SET_NTB_INPUT_SIZE' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_ncm.c:667:5: error: 'USB_CDC_GET_NTB_INPUT_SIZE' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_ncm.c:661:11: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
2 ../drivers/usb/gadget/function/f_ncm.c:660:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
2 ../drivers/usb/gadget/function/f_ncm.c:656:5: error: 'USB_CDC_GET_NTB_PARAMETERS' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_ncm.c:629:6: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_ncm.c:598:16: error: 'USB_CDC_NCM_NTB_MIN_IN_SIZE' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_ncm.c:567:13: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
2 ../drivers/usb/gadget/function/f_ncm.c:506:30: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_ncm.c:492:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
2 ../drivers/usb/gadget/function/f_ncm.c:492:30: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_ncm.c:407:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe32'
2 ../drivers/usb/gadget/function/f_ncm.c:406:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp32'
2 ../drivers/usb/gadget/function/f_ncm.c:405:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth32'
2 ../drivers/usb/gadget/function/f_ncm.c:404:15: error: 'USB_CDC_NCM_NDP32_NOCRC_SIGN' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ncm.c:403:15: error: 'USB_CDC_NCM_NTH32_SIGN' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ncm.c:391:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
2 ../drivers/usb/gadget/function/f_ncm.c:390:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
2 ../drivers/usb/gadget/function/f_ncm.c:389:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
2 ../drivers/usb/gadget/function/f_ncm.c:388:15: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ncm.c:387:15: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ncm.c:226:24: error: 'USB_CDC_NCM_PROTO_NTB' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ncm.c:212:2: error: unknown field 'bmNetworkCapabilities' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:210:2: error: unknown field 'bcdNcmVersion' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:208:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:208:24: error: 'USB_CDC_NCM_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ncm.c:207:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:206:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:206:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_desc'
2 ../drivers/usb/gadget/function/f_ncm.c:205:15: error: variable 'ncm_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_ncm.c:203:46: error: 'USB_CDC_NCM_NCAP_CRC_MODE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ncm.c:203:16: error: 'USB_CDC_NCM_NCAP_ETH_FILTER' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ncm.c:200:2: error: unknown field 'bNumberPowerFilters' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:199:2: error: unknown field 'wNumberMCFilters' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:198:2: error: unknown field 'wMaxSegmentSize' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:197:2: error: unknown field 'bmEthernetStatistics' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:193:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:193:24: error: 'USB_CDC_ETHERNET_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ncm.c:192:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:191:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:191:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
2 ../drivers/usb/gadget/function/f_ncm.c:190:15: error: variable 'ecm_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_ncm.c:185:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:185:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ncm.c:184:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:183:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:183:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_ncm.c:182:15: error: variable 'ncm_union_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_ncm.c:179:2: error: unknown field 'bcdCDC' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:177:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:177:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ncm.c:176:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:175:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:175:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
2 ../drivers/usb/gadget/function/f_ncm.c:174:15: error: variable 'ncm_header_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_ncm.c:156:23: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ncm.c:155:23: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ncm.c:1397:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_ncm.c:1388:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_ncm.c:1377:2: error: invalid use of undefined type 'struct usb_cdc_ether_desc'
2 ../drivers/usb/gadget/function/f_ncm.c:136:2: error: unknown field 'wNdpOutAlignment' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:135:2: error: unknown field 'wNdpOutPayloadRemainder' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:134:2: error: unknown field 'wNdpOutDivisor' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:133:2: error: unknown field 'dwNtbOutMaxSize' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:131:2: error: unknown field 'wNdpInAlignment' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:130:2: error: unknown field 'wNdpInPayloadRemainder' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:129:2: error: unknown field 'wNdpInDivisor' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:128:2: error: unknown field 'dwNtbInMaxSize' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:127:2: error: unknown field 'bmNtbFormatsSupported' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:126:2: error: unknown field 'wLength' specified in initializer
2 ../drivers/usb/gadget/function/f_ncm.c:125:15: error: variable 'ntb_parameters' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_ncm.c:123:6: error: 'USB_CDC_NCM_NTB32_SUPPORTED' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ncm.c:122:28: error: 'USB_CDC_NCM_NTB16_SUPPORTED' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_eem.c:54:24: error: 'USB_CDC_PROTO_EEM' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_eem.c:53:24: error: 'USB_CDC_SUBCLASS_EEM' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ecm.c:744:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_ecm.c:735:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_ecm.c:724:2: error: invalid use of undefined type 'struct usb_cdc_ether_desc'
2 ../drivers/usb/gadget/function/f_ecm.c:484:6: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_ecm.c:462:9: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
2 ../drivers/usb/gadget/function/f_ecm.c:410:30: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_ecm.c:396:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
2 ../drivers/usb/gadget/function/f_ecm.c:396:30: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_ecm.c:156:2: error: unknown field 'bNumberPowerFilters' specified in initializer
2 ../drivers/usb/gadget/function/f_ecm.c:155:2: error: unknown field 'wNumberMCFilters' specified in initializer
2 ../drivers/usb/gadget/function/f_ecm.c:154:2: error: unknown field 'wMaxSegmentSize' specified in initializer
2 ../drivers/usb/gadget/function/f_ecm.c:153:2: error: unknown field 'bmEthernetStatistics' specified in initializer
2 ../drivers/usb/gadget/function/f_ecm.c:149:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_ecm.c:149:24: error: 'USB_CDC_ETHERNET_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ecm.c:148:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_ecm.c:147:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_ecm.c:147:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
2 ../drivers/usb/gadget/function/f_ecm.c:146:15: error: variable 'ecm_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_ecm.c:141:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_ecm.c:141:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ecm.c:140:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_ecm.c:139:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_ecm.c:139:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_ecm.c:138:15: error: variable 'ecm_union_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_ecm.c:135:2: error: unknown field 'bcdCDC' specified in initializer
2 ../drivers/usb/gadget/function/f_ecm.c:133:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_ecm.c:133:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ecm.c:132:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_ecm.c:131:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_ecm.c:131:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
2 ../drivers/usb/gadget/function/f_ecm.c:130:15: error: variable 'ecm_header_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_ecm.c:112:23: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_ecm.c:111:23: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_acm.c:677:11: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
2 ../drivers/usb/gadget/function/f_acm.c:652:2: error: invalid use of undefined type 'struct usb_cdc_call_mgmt_descriptor'
2 ../drivers/usb/gadget/function/f_acm.c:651:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_acm.c:643:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_acm.c:60:29: error: field 'port_line_coding' has incomplete type
2 ../drivers/usb/gadget/function/f_acm.c:550:32: error: 'USB_CDC_NOTIFY_SERIAL_STATE' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_acm.c:514:2: error: invalid use of undefined type 'struct usb_cdc_notification'
2 ../drivers/usb/gadget/function/f_acm.c:504:32: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
2 ../drivers/usb/gadget/function/f_acm.c:385:6: error: 'USB_CDC_REQ_SET_CONTROL_LINE_STATE' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_acm.c:379:12: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_line_coding'
2 ../drivers/usb/gadget/function/f_acm.c:374:6: error: 'USB_CDC_REQ_GET_LINE_CODING' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_acm.c:363:26: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_line_coding'
2 ../drivers/usb/gadget/function/f_acm.c:362:6: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
2 ../drivers/usb/gadget/function/f_acm.c:336:27: error: dereferencing pointer to incomplete type 'struct usb_cdc_line_coding'
2 ../drivers/usb/gadget/function/f_acm.c:159:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_acm.c:159:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_acm.c:158:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_acm.c:157:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_acm.c:157:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
2 ../drivers/usb/gadget/function/f_acm.c:156:15: error: variable 'acm_union_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_acm.c:153:2: error: unknown field 'bmCapabilities' specified in initializer
2 ../drivers/usb/gadget/function/f_acm.c:153:20: error: 'USB_CDC_CAP_LINE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_acm.c:152:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_acm.c:152:24: error: 'USB_CDC_ACM_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_acm.c:151:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_acm.c:150:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_acm.c:150:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_acm_descriptor'
2 ../drivers/usb/gadget/function/f_acm.c:149:15: error: variable 'acm_descriptor' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_acm.c:145:2: error: unknown field 'bmCapabilities' specified in initializer
2 ../drivers/usb/gadget/function/f_acm.c:144:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_acm.c:144:24: error: 'USB_CDC_CALL_MANAGEMENT_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_acm.c:143:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_acm.c:142:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_acm.c:142:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_call_mgmt_descriptor'
2 ../drivers/usb/gadget/function/f_acm.c:141:1: error: variable 'acm_call_mgmt_descriptor' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_acm.c:137:2: error: unknown field 'bcdCDC' specified in initializer
2 ../drivers/usb/gadget/function/f_acm.c:136:2: error: unknown field 'bDescriptorSubType' specified in initializer
2 ../drivers/usb/gadget/function/f_acm.c:136:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_acm.c:135:2: error: unknown field 'bDescriptorType' specified in initializer
2 ../drivers/usb/gadget/function/f_acm.c:134:2: error: unknown field 'bLength' specified in initializer
2 ../drivers/usb/gadget/function/f_acm.c:134:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
2 ../drivers/usb/gadget/function/f_acm.c:133:15: error: variable 'acm_header_desc' has initializer but incomplete type
2 ../drivers/usb/gadget/function/f_acm.c:106:23: error: 'USB_CDC_ACM_PROTO_AT_V25TER' undeclared here (not in a function)
2 ../drivers/usb/gadget/function/f_acm.c:105:23: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
2 ../drivers/usb/class/cdc-wdm.c:896:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_dmm_desc'
2 ../drivers/usb/class/cdc-wdm.c:894:8: error: 'USB_CDC_DMM_TYPE' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-wdm.c:892:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-wdm.c:824:24: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-wdm.c:41:25: error: 'USB_CDC_SUBCLASS_DMM' undeclared here (not in a function)
2 ../drivers/usb/class/cdc-wdm.c:405:18: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-wdm.c:265:6: error: request for member 'bNotificationType' in something not a structure or union
2 ../drivers/usb/class/cdc-wdm.c:257:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-wdm.c:255:6: error: request for member 'wValue' in something not a structure or union
2 ../drivers/usb/class/cdc-wdm.c:251:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-wdm.c:245:7: error: 'USB_CDC_NOTIFY_RESPONSE_AVAILABLE' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-wdm.c:244:12: error: request for member 'bNotificationType' in something not a structure or union
2 ../drivers/usb/class/cdc-wdm.c:244:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
2 ../drivers/usb/class/cdc-wdm.c:244:10: error: switch quantity not an integer
2 ../drivers/usb/class/cdc-wdm.c:238:34: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
2 ../drivers/usb/class/cdc-acm.h:104:29: error: field 'line' has incomplete type
2 ../drivers/usb/class/cdc-acm.c:984:29: error: storage size of 'newline' isn't known
2 ../drivers/usb/class/cdc-acm.c:547:31: error: 'USB_CDC_CAP_LINE' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-acm.c:317:7: error: 'USB_CDC_NOTIFY_SERIAL_STATE' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-acm.c:312:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-acm.c:311:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
2 ../drivers/usb/class/cdc-acm.c:310:2: error: invalid use of undefined type 'struct usb_cdc_notification'
2 ../drivers/usb/class/cdc-acm.c:1897:3: error: 'USB_CDC_ACM_PROTO_AT_CDMA' undeclared here (not in a function)
2 ../drivers/usb/class/cdc-acm.c:1895:3: error: 'USB_CDC_ACM_PROTO_AT_3G' undeclared here (not in a function)
2 ../drivers/usb/class/cdc-acm.c:1893:3: error: 'USB_CDC_ACM_PROTO_AT_GSM' undeclared here (not in a function)
2 ../drivers/usb/class/cdc-acm.c:1891:3: error: 'USB_CDC_ACM_PROTO_AT_PCCA101_WAKE' undeclared here (not in a function)
2 ../drivers/usb/class/cdc-acm.c:1889:3: error: 'USB_CDC_ACM_PROTO_AT_PCCA101' undeclared here (not in a function)
2 ../drivers/usb/class/cdc-acm.c:1887:3: error: 'USB_CDC_ACM_PROTO_AT_V25TER' undeclared here (not in a function)
2 ../drivers/usb/class/cdc-acm.c:1883:3: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
2 ../drivers/usb/class/cdc-acm.c:1669:3: error: 'USB_CDC_ACM_PROTO_VENDOR' undeclared here (not in a function)
2 ../drivers/usb/class/cdc-acm.c:1668:19: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
2 ../drivers/usb/class/cdc-acm.c:163:20: error: 'USB_CDC_REQ_SEND_BREAK' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-acm.c:156:27: error: 'USB_CDC_REQ_SET_CONTROL_LINE_STATE' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-acm.c:1437:35: error: dereferencing pointer to incomplete type 'struct usb_cdc_country_functional_desc'
2 ../drivers/usb/class/cdc-acm.c:1345:22: error: 'USB_CDC_CAP_LINE' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-acm.c:1230:60: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
2 ../drivers/usb/class/cdc-acm.c:1188:8: error: 'USB_CDC_CALL_MANAGEMENT_TYPE' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-acm.c:1183:8: error: 'USB_CDC_ACM_TYPE' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-acm.c:1181:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-acm.c:1177:25: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_country_functional_desc'
2 ../drivers/usb/class/cdc-acm.c:1176:8: error: 'USB_CDC_COUNTRY_TYPE' undeclared (first use in this function)
2 ../drivers/usb/class/cdc-acm.c:1167:25: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
2 ../drivers/usb/class/cdc-acm.c:1166:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
2 ../drivers/staging/gdm724x/gdm_usb.c:39:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
2 ../drivers/staging/gdm724x/gdm_mux.c:41:24: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:992:39: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:992:10: error: implicit declaration of function 'virtio_has_feature' [-Werror=implicit-function-declaration]
2 ../drivers/net/virtio_net.c:988:2: error: unknown type name 'virtio_net_ctrl_ack'
2 ../drivers/net/virtio_net.c:987:29: error: storage size of 'ctrl' isn't known
2 ../drivers/net/virtio_net.c:897:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:895:25: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:891:24: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:889:24: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:887:24: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:873:25: error: implicit declaration of function 'cpu_to_virtio16' [-Werror=implicit-function-declaration]
2 ../drivers/net/virtio_net.c:872:20: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:787:21: error: 'VIRTIO_NET_S_LINK_UP' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:613:32: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
2 ../drivers/net/virtio_net.c:503:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:500:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:497:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:496:32: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:494:27: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:486:30: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:480:23: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:360:16: error: implicit declaration of function 'virtio16_to_cpu' [-Werror=implicit-function-declaration]
2 ../drivers/net/virtio_net.c:269:27: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
2 ../drivers/net/virtio_net.c:2029:2: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2029:2: error: 'VIRTIO_F_ANY_LAYOUT' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2028:2: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2028:2: error: 'VIRTIO_NET_F_CTRL_MAC_ADDR' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2027:31: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2027:31: error: 'VIRTIO_NET_F_MQ' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2027:2: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2027:2: error: 'VIRTIO_NET_F_GUEST_ANNOUNCE' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2026:2: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2026:2: error: 'VIRTIO_NET_F_CTRL_RX' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2026:24: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2026:24: error: 'VIRTIO_NET_F_CTRL_VLAN' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2025:47: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2025:47: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2025:2: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2025:2: error: 'VIRTIO_NET_F_MRG_RXBUF' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2025:26: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2025:26: error: 'VIRTIO_NET_F_STATUS' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2024:2: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2024:2: error: 'VIRTIO_NET_F_GUEST_ECN' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2024:26: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2024:26: error: 'VIRTIO_NET_F_GUEST_UFO' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2023:50: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2023:50: error: 'VIRTIO_NET_F_GUEST_TSO6' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2023:2: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2023:2: error: 'VIRTIO_NET_F_HOST_ECN' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2023:25: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2023:25: error: 'VIRTIO_NET_F_GUEST_TSO4' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2022:49: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2022:49: error: 'VIRTIO_NET_F_HOST_TSO6' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2022:2: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2022:2: error: 'VIRTIO_NET_F_HOST_TSO4' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2022:26: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2022:26: error: 'VIRTIO_NET_F_HOST_UFO' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2021:2: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2021:2: error: 'VIRTIO_NET_F_GSO' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2021:20: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2021:20: error: 'VIRTIO_NET_F_MAC' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2020:2: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2020:2: error: 'VIRTIO_NET_F_CSUM' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2020:21: error: initializer element is not constant
2 ../drivers/net/virtio_net.c:2020:21: error: 'VIRTIO_NET_F_GUEST_CSUM' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:2015:4: error: 'VIRTIO_ID_NET' undeclared here (not in a function)
2 ../drivers/net/virtio_net.c:1900:16: error: 'VIRTIO_NET_S_LINK_UP' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1896:35: error: 'VIRTIO_NET_F_STATUS' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1872:2: error: implicit declaration of function 'virtio_device_ready' [-Werror=implicit-function-declaration]
2 ../drivers/net/virtio_net.c:1840:31: error: 'VIRTIO_F_ANY_LAYOUT' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1838:24: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
2 ../drivers/net/virtio_net.c:1836:24: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
2 ../drivers/net/virtio_net.c:1835:31: error: 'VIRTIO_F_VERSION_1' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1831:31: error: 'VIRTIO_NET_F_MRG_RXBUF' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1828:31: error: 'VIRTIO_NET_F_GUEST_UFO' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1827:31: error: 'VIRTIO_NET_F_GUEST_ECN' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1826:31: error: 'VIRTIO_NET_F_GUEST_TSO6' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1825:31: error: 'VIRTIO_NET_F_GUEST_TSO4' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1800:24: error: invalid use of undefined type 'struct virtio_net_config'
2 ../drivers/net/virtio_net.c:1799:3: error: implicit declaration of function 'virtio_cread_bytes' [-Werror=implicit-function-declaration]
2 ../drivers/net/virtio_net.c:1798:31: error: 'VIRTIO_NET_F_MAC' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1792:31: error: 'VIRTIO_NET_F_GUEST_CSUM' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1783:32: error: 'VIRTIO_NET_F_HOST_UFO' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1781:32: error: 'VIRTIO_NET_F_HOST_ECN' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1779:32: error: 'VIRTIO_NET_F_HOST_TSO6' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1777:32: error: 'VIRTIO_NET_F_HOST_TSO4' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1772:32: error: 'VIRTIO_NET_F_GSO' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1766:31: error: 'VIRTIO_NET_F_CSUM' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1749:32: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1748:24: error: 'VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MAX' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1747:31: error: 'VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MIN' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1743:8: error: expected expression before 'struct'
2 ../drivers/net/virtio_net.c:1742:35: error: 'VIRTIO_NET_F_MQ' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1717:29: error: 'VIRTIO_NET_F_CTRL_MAC_ADDR' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1716:29: error: 'VIRTIO_NET_F_MQ' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1714:29: error: 'VIRTIO_NET_F_GUEST_ANNOUNCE' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1712:29: error: 'VIRTIO_NET_F_CTRL_VLAN' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1710:29: error: 'VIRTIO_NET_F_CTRL_RX' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1709:32: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1583:36: error: 'VIRTIO_NET_F_CTRL_VLAN' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:154:34: error: field 'hdr' has incomplete type
2 ../drivers/net/virtio_net.c:1547:36: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1536:2: error: unknown type name 'vq_callback_t'
2 ../drivers/net/virtio_net.c:1529:14: error: dereferencing pointer to incomplete type 'const struct virtio_config_ops'
2 ../drivers/net/virtio_net.c:1441:7: error: 'VIRTIO_NET_S_LINK_UP' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1435:10: error: 'VIRTIO_NET_S_ANNOUNCE' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1432:6: error: expected expression before 'struct'
2 ../drivers/net/virtio_net.c:1431:6: error: implicit declaration of function 'virtio_cread_feature' [-Werror=implicit-function-declaration]
2 ../drivers/net/virtio_net.c:1431:37: error: 'VIRTIO_NET_F_STATUS' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1338:26: error: implicit declaration of function 'virtio_bus_name' [-Werror=implicit-function-declaration]
2 ../drivers/net/virtio_net.c:1263:4: error: implicit declaration of function 'virtqueue_set_affinity' [-Werror=implicit-function-declaration]
2 ../drivers/net/virtio_net.c:1252:7: error: 'VIRTIO_NET_CTRL_VLAN_DEL' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1251:32: error: 'VIRTIO_NET_CTRL_VLAN' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1238:7: error: 'VIRTIO_NET_CTRL_VLAN_ADD' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1237:32: error: 'VIRTIO_NET_CTRL_VLAN' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1223:7: error: 'VIRTIO_NET_CTRL_MAC_TABLE_SET' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1222:32: error: 'VIRTIO_NET_CTRL_MAC' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1203:22: error: implicit declaration of function 'cpu_to_virtio32' [-Werror=implicit-function-declaration]
2 ../drivers/net/virtio_net.c:1195:29: error: dereferencing pointer to incomplete type 'struct virtio_net_ctrl_mac'
2 ../drivers/net/virtio_net.c:1187:7: error: 'VIRTIO_NET_CTRL_RX_ALLMULTI' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1180:7: error: 'VIRTIO_NET_CTRL_RX_PROMISC' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1179:32: error: 'VIRTIO_NET_CTRL_RX' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1171:36: error: 'VIRTIO_NET_F_CTRL_RX' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1130:7: error: 'VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1129:32: error: 'VIRTIO_NET_CTRL_MQ' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1123:52: error: 'VIRTIO_NET_F_MQ' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1120:28: error: storage size of 's' isn't known
2 ../drivers/net/virtio_net.c:1112:7: error: 'VIRTIO_NET_CTRL_ANNOUNCE_ACK' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1111:32: error: 'VIRTIO_NET_CTRL_ANNOUNCE' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1050:28: error: invalid use of undefined type 'struct virtio_net_config'
2 ../drivers/net/virtio_net.c:1049:4: error: implicit declaration of function 'virtio_cwrite8' [-Werror=implicit-function-declaration]
2 ../drivers/net/virtio_net.c:1044:32: error: 'VIRTIO_F_VERSION_1' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1043:38: error: 'VIRTIO_NET_F_MAC' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1038:8: error: 'VIRTIO_NET_CTRL_MAC_ADDR_SET' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1037:33: error: 'VIRTIO_NET_CTRL_MAC' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1035:31: error: 'VIRTIO_NET_F_CTRL_MAC_ADDR' undeclared (first use in this function)
2 ../drivers/net/virtio_net.c:1011:20: error: 'VIRTIO_NET_OK' undeclared (first use in this function)
2 ../drivers/net/usb/sierra_net.c:621:7: error: 'USB_CDC_NOTIFY_RESPONSE_AVAILABLE' undeclared (first use in this function)
2 ../drivers/net/usb/sierra_net.c:618:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
2 ../drivers/net/usb/sierra_net.c:617:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
2 ../drivers/net/usb/sierra_net.c:611:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
2 ../drivers/net/usb/sierra_net.c:504:5: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
2 ../drivers/net/usb/sierra_net.c:340:33: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
2 ../drivers/net/usb/rndis_host.c:157:4: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
2 ../drivers/net/usb/rndis_host.c:130:3: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
2 ../drivers/net/usb/rndis_host.c:106:30: error: storage size of 'notification' isn't known
2 ../drivers/net/usb/r8152.c:4092:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
2 ../drivers/net/usb/r8152.c:4091:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
2 ../drivers/net/usb/qmi_wwan.c:501:33: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
2 ../drivers/net/usb/qmi_wwan.c:500:33: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
2 ../drivers/net/usb/qmi_wwan.c:319:28: error: dereferencing pointer to incomplete type 'struct usb_cdc_ether_desc'
2 ../drivers/net/usb/qmi_wwan.c:307:20: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
2 ../drivers/net/usb/qmi_wwan.c:283:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
2 ../drivers/net/usb/qmi_wwan.c:278:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
2 ../drivers/net/usb/qmi_wwan.c:271:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
2 ../drivers/net/usb/qmi_wwan.c:266:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
2 ../drivers/net/usb/qmi_wwan.c:260:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
2 ../drivers/net/usb/qmi_wwan.c:255:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
2 ../drivers/net/usb/lg-vl600.c:332:5: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
2 ../drivers/net/usb/lg-vl600.c:332:32: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
2 ../drivers/net/usb/hso.c:1921:7: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
2 ../drivers/net/usb/hso.c:1852:7: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
2 ../drivers/net/usb/hso.c:1807:24: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
2 ../drivers/net/usb/hso.c:1795:14: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
2 ../drivers/net/usb/cdc_mbim.c:597:58: error: 'USB_CDC_SUBCLASS_MBIM' undeclared here (not in a function)
2 ../drivers/net/usb/cdc_mbim.c:593:61: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
2 ../drivers/net/usb/cdc_mbim.c:593:39: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
2 ../drivers/net/usb/cdc_mbim.c:460:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_dpe16'
2 ../drivers/net/usb/cdc_mbim.c:459:37: error: increment of pointer to an incomplete type 'struct usb_cdc_ncm_dpe16'
2 ../drivers/net/usb/cdc_mbim.c:446:19: error: 'USB_CDC_MBIM_NDP16_DSS_SIGN' undeclared (first use in this function)
2 ../drivers/net/usb/cdc_mbim.c:439:19: error: 'USB_CDC_MBIM_NDP16_IPS_SIGN' undeclared (first use in this function)
2 ../drivers/net/usb/cdc_mbim.c:438:15: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_ndp16'
2 ../drivers/net/usb/cdc_mbim.c:281:23: error: 'USB_CDC_MBIM_NDP16_DSS_SIGN' undeclared (first use in this function)
2 ../drivers/net/usb/cdc_mbim.c:225:28: error: 'USB_CDC_MBIM_NDP16_IPS_SIGN' undeclared (first use in this function)
2 ../drivers/net/usb/cdc_mbim.c:171:34: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_desc'
2 ../drivers/net/usb/cdc_eem.c:358:4: error: 'USB_CDC_PROTO_EEM' undeclared here (not in a function)
2 ../drivers/net/usb/cdc_eem.c:357:37: error: 'USB_CDC_SUBCLASS_EEM' undeclared here (not in a function)
2 ../drivers/net/usb/cdc-phonet.c:373:50: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
2 ../drivers/net/usb/cdc-phonet.c:355:9: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
2 ../drivers/net/tun.c:214:15: error: unknown type name '__virtio16'
2 ../drivers/net/tun.c:209:56: error: unknown type name '__virtio16'
2 ../drivers/net/tun.c:2043:33: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
2 ../drivers/net/tun.c:1653:29: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
2 ../drivers/net/tun.c:1313:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
2 ../drivers/net/tun.c:1308:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
2 ../drivers/net/tun.c:1305:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
2 ../drivers/net/tun.c:1303:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
2 ../drivers/net/tun.c:1289:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
2 ../drivers/net/tun.c:1287:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
2 ../drivers/net/tun.c:1285:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
2 ../drivers/net/tun.c:1274:25: error: storage size of 'gso' isn't known
2 ../drivers/net/tun.c:1274:10: error: variable 'gso' has initializer but incomplete type
2 ../drivers/net/tun.c:1179:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
2 ../drivers/net/tun.c:1176:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
2 ../drivers/net/tun.c:1173:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
2 ../drivers/net/tun.c:1172:27: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
2 ../drivers/net/tun.c:1170:22: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
2 ../drivers/net/tun.c:1069:7: error: implicit declaration of function 'tun16_to_cpu' [-Werror=implicit-function-declaration]
2 ../drivers/net/tun.c:1068:20: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
2 ../drivers/net/tun.c:1041:9: error: variable 'gso' has initializer but incomplete type
2 ../drivers/net/tun.c:1041:24: error: storage size of 'gso' isn't known
2 ../drivers/net/macvtap.c:811:25: error: storage size of 'vnet_hdr' isn't known
2 ../drivers/net/macvtap.c:690:25: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
2 ../drivers/net/macvtap.c:670:9: error: variable 'vnet_hdr' has initializer but incomplete type
2 ../drivers/net/macvtap.c:670:24: error: storage size of 'vnet_hdr' isn't known
2 ../drivers/net/macvtap.c:653:21: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
2 ../drivers/net/macvtap.c:644:21: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
2 ../drivers/net/macvtap.c:641:24: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
2 ../drivers/net/macvtap.c:639:26: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
2 ../drivers/net/macvtap.c:635:25: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
2 ../drivers/net/macvtap.c:633:25: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
2 ../drivers/net/macvtap.c:631:25: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
2 ../drivers/net/macvtap.c:622:29: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
2 ../drivers/net/macvtap.c:602:34: error: implicit declaration of function 'macvtap16_to_cpu' [-Werror=implicit-function-declaration]
2 ../drivers/net/macvtap.c:601:24: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
2 ../drivers/net/macvtap.c:587:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
2 ../drivers/net/macvtap.c:584:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
2 ../drivers/net/macvtap.c:581:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
2 ../drivers/net/macvtap.c:580:33: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
2 ../drivers/net/macvtap.c:57:15: error: unknown type name '__virtio16'
2 ../drivers/net/macvtap.c:579:28: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
2 ../drivers/net/macvtap.c:579:14: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
2 ../drivers/net/macvtap.c:52:61: error: unknown type name '__virtio16'
2 ../drivers/net/macvtap.c:493:26: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
2 ../drivers/net/macvtap.c:1077:23: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
2 ../drivers/input/misc/ims-pcu.c:2135:6: error: 'USB_CDC_ACM_PROTO_AT_V25TER' undeclared here (not in a function)
2 ../drivers/input/misc/ims-pcu.c:2134:6: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
2 ../drivers/input/misc/ims-pcu.c:1788:5: error: 'USB_CDC_REQ_SET_CONTROL_LINE_STATE' undeclared (first use in this function)
2 ../drivers/input/misc/ims-pcu.c:1779:18: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_line_coding'
2 ../drivers/input/misc/ims-pcu.c:1776:5: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
2 ../drivers/input/misc/ims-pcu.c:1771:25: error: dereferencing pointer to incomplete type 'struct usb_cdc_line_coding'
2 ../drivers/input/misc/ims-pcu.c:1677:17: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
2 ../drivers/input/misc/ims-pcu.c:1647:41: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
2 ../drivers/input/misc/ims-pcu.c:1638:26: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
2 ../arch/arm64/include/asm/arch_timer.h:113:2: error: implicit declaration of function 'BUG' [-Werror=implicit-function-declaration]
1 ../mm/kmemleak.c:1341:7: error: '__per_cpu_end' undeclared (first use in this function)
1 ../mm/kmemleak.c:1340:14: error: '__per_cpu_start' undeclared (first use in this function)
1 ../mm/kmemleak.c:1335:26: error: '__bss_stop' undeclared (first use in this function)
1 ../mm/kmemleak.c:1335:13: error: '__bss_start' undeclared (first use in this function)
1 ../mm/kmemleak.c:1334:21: error: '_edata' undeclared (first use in this function)
1 ../mm/kmemleak.c:1334:13: error: '_sdata' undeclared (first use in this function)
1 ../lib/dma-debug.c:1185:41: error: '__end_rodata' undeclared (first use in this function)
1 ../lib/dma-debug.c:1185:25: error: '__start_rodata' undeclared (first use in this function)
1 ../lib/dma-debug.c:1184:33: error: '_etext' undeclared (first use in this function)
1 ../lib/dma-debug.c:1184:25: error: '_stext' undeclared (first use in this function)
1 ../kernel/profile.c:396:45: error: '_stext' undeclared (first use in this function)
1 ../kernel/profile.c:287:32: error: '_stext' undeclared (first use in this function)
1 ../kernel/locking/lockdep.c:622:6: error: implicit declaration of function 'arch_is_kernel_data' [-Werror=implicit-function-declaration]
1 ../kernel/locking/lockdep.c:613:34: error: '_end' undeclared (first use in this function)
1 ../kernel/locking/lockdep.c:612:41: error: '_stext' undeclared (first use in this function)
1 ../init/main.c:687:28: error: '__ctors_end' undeclared (first use in this function)
1 ../init/main.c:685:32: error: '__ctors_start' undeclared (first use in this function)
1 ../include/linux/page-flags.h:410:2: error: implicit declaration of function 'BUG_ON' [-Werror=implicit-function-declaration]
1 ../include/linux/mmdebug.h:17:25: error: implicit declaration of function 'BUG_ON' [-Werror=implicit-function-declaration]
1 ../include/linux/kref.h:47:2: error: implicit declaration of function 'WARN_ON_ONCE' [-Werror=implicit-function-declaration]
1 ../include/linux/kernfs.h:252:2: error: implicit declaration of function 'WARN_ON_ONCE' [-Werror=implicit-function-declaration]
1 ../include/linux/jump_label.h:60:32: error: implicit declaration of function 'WARN' [-Werror=implicit-function-declaration]
1 ../include/linux/dma-attrs.h:54:2: error: implicit declaration of function 'BUG_ON' [-Werror=implicit-function-declaration]
1 ../drivers/usb/gadget/function/f_subset.c:92:35: error: storage size of 'mdlm_header_desc' isn't known
1 ../drivers/usb/gadget/function/f_subset.c:126:34: error: storage size of 'ether_desc' isn't known
1 ../drivers/usb/gadget/function/f_subset.c:100:33: error: storage size of 'mdlm_desc' isn't known
1 ../drivers/usb/gadget/function/f_rndis.c:151:34: error: storage size of 'rndis_union_desc' isn't known
1 ../drivers/usb/gadget/function/f_rndis.c:143:38: error: storage size of 'rndis_acm_descriptor' isn't known
1 ../drivers/usb/gadget/function/f_rndis.c:134:44: error: storage size of 'call_mgmt_descriptor' isn't known
1 ../drivers/usb/gadget/function/f_rndis.c:126:35: error: storage size of 'header_desc' isn't known
1 ../drivers/usb/gadget/function/f_phonet.c:96:1: error: storage size of 'pn_union_desc' isn't known
1 ../drivers/usb/gadget/function/f_phonet.c:88:1: error: storage size of 'pn_phonet_desc' isn't known
1 ../drivers/usb/gadget/function/f_phonet.c:80:1: error: storage size of 'pn_header_desc' isn't known
1 ../drivers/usb/gadget/function/f_obex.c:122:33: error: storage size of 'obex_desc' isn't known
1 ../drivers/usb/gadget/function/f_obex.c:114:34: error: storage size of 'obex_cdc_union_desc' isn't known
1 ../drivers/usb/gadget/function/f_obex.c:107:35: error: storage size of 'obex_cdc_header_desc' isn't known
1 ../drivers/usb/gadget/function/f_ncm.c:205:32: error: storage size of 'ncm_desc' isn't known
1 ../drivers/usb/gadget/function/f_ncm.c:190:34: error: storage size of 'ecm_desc' isn't known
1 ../drivers/usb/gadget/function/f_ncm.c:182:34: error: storage size of 'ncm_union_desc' isn't known
1 ../drivers/usb/gadget/function/f_ncm.c:174:35: error: storage size of 'ncm_header_desc' isn't known
1 ../drivers/usb/gadget/function/f_ncm.c:125:42: error: storage size of 'ntb_parameters' isn't known
1 ../drivers/usb/gadget/function/f_ecm.c:146:34: error: storage size of 'ecm_desc' isn't known
1 ../drivers/usb/gadget/function/f_ecm.c:138:34: error: storage size of 'ecm_union_desc' isn't known
1 ../drivers/usb/gadget/function/f_ecm.c:130:35: error: storage size of 'ecm_header_desc' isn't known
1 ../drivers/usb/gadget/function/f_acm.c:156:34: error: storage size of 'acm_union_desc' isn't known
1 ../drivers/usb/gadget/function/f_acm.c:149:38: error: storage size of 'acm_descriptor' isn't known
1 ../drivers/usb/gadget/function/f_acm.c:141:1: error: storage size of 'acm_call_mgmt_descriptor' isn't known
1 ../drivers/usb/gadget/function/f_acm.c:133:35: error: storage size of 'acm_header_desc' isn't known
1 ../drivers/staging/unisys/virtpci/virtpci.c:896:2: error: implicit declaration of function 'SPAR_CHANNEL_CLIENT_TRANSITION' [-Werror=implicit-function-declaration]
1 ../drivers/staging/unisys/virthba/virthba.c:838:15: error: 'struct uiscmdrsp_scsi' has no member named 'scsicmd'; did you mean 'scsistat'?
1 ../drivers/staging/unisys/virthba/virthba.c:681:22: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'scsicmd'
1 ../drivers/staging/unisys/virthba/virthba.c:674:22: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
1 ../drivers/staging/unisys/virthba/virthba.c:673:22: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notify'
1 ../drivers/staging/unisys/virthba/virthba.c:630:19: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'scsicmd'
1 ../drivers/staging/unisys/virthba/virthba.c:623:19: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
1 ../drivers/staging/unisys/virthba/virthba.c:622:19: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notify'
1 ../drivers/staging/unisys/virthba/virthba.c:1389:26: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notify'
1 ../drivers/staging/unisys/virthba/virthba.c:1386:29: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
1 ../drivers/staging/unisys/virthba/virthba.c:1381:32: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
1 ../drivers/staging/unisys/virthba/virthba.c:1380:29: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notify'
1 ../drivers/staging/unisys/virthba/virthba.c:1331:2: error: implicit declaration of function 'SPAR_CHANNEL_CLIENT_TRANSITION' [-Werror=implicit-function-declaration]
1 ../drivers/staging/unisys/virthba/virthba.c:1162:28: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'scsicmd'
1 ../drivers/staging/unisys/virthba/virthba.c:1149:39: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'scsicmd'
1 ../drivers/staging/unisys/virthba/virthba.c:1142:21: error: 'struct uiscmdrsp_scsi' has no member named 'scsicmd'; did you mean 'scsistat'?
1 ../drivers/staging/unisys/virthba/virthba.c:1109:55: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notify'
1 ../drivers/staging/unisys/virthba/virthba.c:1107:30: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
1 ../drivers/staging/unisys/virthba/virthba.c:1099:52: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notify'
1 ../drivers/staging/unisys/virthba/virthba.c:1098:27: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
1 ../drivers/staging/unisys/virthba/virthba.c:1037:3: error: implicit declaration of function 'SET_NO_DISK_INQUIRY_RESULT' [-Werror=implicit-function-declaration]
1 ../drivers/parport/parport_pc.c:3066:2: error: implicit declaration of function 'parport_pc_find_nonpci_ports' [-Werror=implicit-function-declaration]
1 ../drivers/misc/kgdbts.c:226:25: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
1 ../drivers/hwtracing/coresight/coresight-etm3x.c:1770:32: error: '_etext' undeclared (first use in this function)
1 ../drivers/hwtracing/coresight/coresight-etm3x.c:1769:32: error: '_stext' undeclared (first use in this function)
1 ../drivers/cpufreq/intel_pstate.c:623:9: error: 'MSR_NHM_TURBO_RATIO_LIMIT' undeclared (first use in this function)
1 ../drivers/cpufreq/intel_pstate.c:594:9: error: 'MSR_NHM_TURBO_RATIO_LIMIT' undeclared (first use in this function)
1 ../arch/arm/mm/init.c:610:13: error: initializer element is not constant
1 ../arch/arm/mm/init.c:609:13: error: initializer element is not constant
1 ../arch/arm/mm/init.c:597:28: error: '__start_rodata' undeclared here (not in a function)
1 ../arch/arm/mm/init.c:590:25: error: '_sdata' undeclared here (not in a function)
1 ../arch/arm/mm/init.c:589:27: error: '__init_begin' undeclared here (not in a function)
1 ../arch/arm/mm/init.c:583:25: error: '_stext' undeclared here (not in a function)
1 ../arch/arm/kernel/hibernate.c:30:46: error: '__nosave_end' undeclared (first use in this function)
1 ../arch/arm/kernel/hibernate.c:29:48: error: '__nosave_begin' undeclared (first use in this function)
1 ../arch/arm/include/asm/parport.h:13:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'parport_pc_find_nonpci_ports'
1 ../arch/arm/include/asm/parport.h:12:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'parport_pc_find_isa_ports'
Warnings Summary: 172
48 ../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
30 ../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
25 ../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
25 ../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
20 ../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
7 ../include/linux/virtio_net.h:9:6: warning: its scope is only this definition or declaration, which is probably not what you want
7 ../include/linux/virtio_net.h:9:6: warning: 'struct virtio_net_hdr' declared inside parameter list
7 ../include/linux/virtio_net.h:59:8: warning: 'struct virtio_net_hdr' declared inside parameter list
6 ../include/linux/virtio_net.h:8:19: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
6 ../include/linux/virtio_net.h:58:15: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
5 ../net/packet/af_packet.c:2959:38: warning: excess elements in struct initializer
5 ../net/packet/af_packet.c:2959:25: warning: unused variable 'vnet_hdr' [-Wunused-variable]
5 ../net/packet/af_packet.c:2420:37: warning: excess elements in struct initializer
5 ../net/packet/af_packet.c:2420:24: warning: unused variable 'vnet_hdr' [-Wunused-variable]
5 ../mm/util.c:24:1: warning: control reaches end of non-void function [-Wreturn-type]
5 ../lib/vsprintf.c:1474:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
5 ../include/uapi/linux/byteorder/little_endian.h:35:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
5 ../include/uapi/linux/byteorder/little_endian.h:32:26: warning: excess elements in struct initializer
5 ../include/uapi/linux/byteorder/big_endian.h:32:26: warning: excess elements in struct initializer
5 ../include/linux/kernel.h:723:17: warning: comparison of distinct pointer types lacks a cast
4 ../include/linux/blkdev.h:624:26: warning: switch condition has boolean value [-Wswitch-bool]
3 ../drivers/net/usb/cdc_ncm.c:1513:9: warning: passing argument 2 of 'cdc_ncm_speed_change' from incompatible pointer type [-Wincompatible-pointer-types]
3 ../arch/x86/kernel/cpu/perf_event_intel_pt.c:197:1: warning: control reaches end of non-void function [-Wreturn-type]
2 ../sound/pci/oxygen/oxygen_mixer.c:91:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
2 ../net/netfilter/nf_conntrack_proto_sctp.c:52:21: warning: 'sctp_timeouts' defined but not used [-Wunused-variable]
2 ../net/netfilter/nf_conntrack_proto_sctp.c:415:22: warning: unused variable 'new_state' [-Wunused-variable]
2 ../net/netfilter/nf_conntrack_proto_sctp.c:310:33: warning: unused variable 'old_state' [-Wunused-variable]
2 ../net/netfilter/nf_conntrack_proto_sctp.c:310:22: warning: unused variable 'new_state' [-Wunused-variable]
2 ../net/netfilter/nf_conntrack_proto_sctp.c:180:22: warning: unused variable 'state' [-Wunused-variable]
2 ../net/netfilter/nf_conntrack_proto_sctp.c:104:17: warning: 'sctp_conntracks' defined but not used [-Wunused-variable]
2 ../drivers/vhost/net.c:533:15: warning: excess elements in struct initializer
2 ../drivers/vhost/net.c:532:12: warning: excess elements in struct initializer
2 ../drivers/vhost/net.c:531:24: warning: unused variable 'hdr' [-Wunused-variable]
2 ../drivers/usb/gadget/function/u_serial.c:1103:29: warning: unused variable 'coding' [-Wunused-variable]
2 ../drivers/usb/gadget/function/u_ether.c:480:1: warning: control reaches end of non-void function [-Wreturn-type]
2 ../drivers/usb/gadget/function/f_subset.c:95:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_subset.c:93:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_subset.c:504:24: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
2 ../drivers/usb/gadget/function/f_subset.c:331:2: warning: statement with no effect [-Wunused-value]
2 ../drivers/usb/gadget/function/f_subset.c:136:25: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_subset.c:129:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_subset.c:127:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_subset.c:106:11: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_subset.c:103:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_subset.c:101:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_rndis.c:154:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_rndis.c:152:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_rndis.c:148:20: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_rndis.c:146:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_rndis.c:144:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_rndis.c:140:20: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_rndis.c:139:20: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_rndis.c:137:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_rndis.c:135:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_rndis.c:129:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_rndis.c:127:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_phonet.c:99:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_phonet.c:97:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_phonet.c:89:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_phonet.c:83:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_phonet.c:81:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_phonet.c:67:29: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_obex.c:125:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_obex.c:123:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_obex.c:119:22: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_obex.c:118:23: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_obex.c:117:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_obex.c:115:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_obex.c:110:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_obex.c:108:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ncm.c:208:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ncm.c:206:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ncm.c:203:15: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ncm.c:200:25: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ncm.c:193:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ncm.c:191:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ncm.c:185:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ncm.c:183:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ncm.c:177:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ncm.c:175:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ecm.c:156:25: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ecm.c:149:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ecm.c:147:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ecm.c:141:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ecm.c:139:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ecm.c:133:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_ecm.c:131:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_acm.c:159:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_acm.c:157:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_acm.c:153:20: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_acm.c:152:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_acm.c:150:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_acm.c:145:20: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_acm.c:144:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_acm.c:142:14: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_acm.c:136:24: warning: excess elements in struct initializer
2 ../drivers/usb/gadget/function/f_acm.c:134:14: warning: excess elements in struct initializer
2 ../drivers/usb/class/cdc-wdm.c:824:22: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
2 ../drivers/usb/class/cdc-wdm.c:405:16: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
2 ../drivers/usb/class/cdc-wdm.c:238:25: warning: comparison between pointer and integer
2 ../drivers/usb/class/cdc-acm.c:984:29: warning: unused variable 'newline' [-Wunused-variable]
2 ../drivers/usb/class/cdc-acm.c:158:1: warning: control reaches end of non-void function [-Wreturn-type]
2 ../drivers/scsi/qla2xxx/qla_target.c:3086:6: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'uint32_t {aka unsigned int}' [-Wformat=]
2 ../drivers/scsi/qla2xxx/qla_target.c:3083:17: warning: unused variable 'se_cmd' [-Wunused-variable]
2 ../drivers/scsi/be2iscsi/be_main.c:3168:18: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
2 ../drivers/net/virtio_net.c:987:29: warning: unused variable 'ctrl' [-Wunused-variable]
2 ../drivers/net/virtio_net.c:1569:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
2 ../drivers/net/virtio_net.c:1568:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
2 ../drivers/net/virtio_net.c:1338:26: warning: passing argument 2 of 'strlcpy' makes pointer from integer without a cast [-Wint-conversion]
2 ../drivers/net/virtio_net.c:1120:28: warning: unused variable 's' [-Wunused-variable]
2 ../drivers/net/usb/rndis_host.c:106:30: warning: unused variable 'notification' [-Wunused-variable]
2 ../drivers/net/usb/hso.c:1926:1: warning: control reaches end of non-void function [-Wreturn-type]
2 ../drivers/net/usb/hso.c:1857:1: warning: control reaches end of non-void function [-Wreturn-type]
2 ../drivers/net/usb/cdc_ncm.c:1478:15: warning: its scope is only this definition or declaration, which is probably not what you want
2 ../drivers/net/usb/cdc_ncm.c:1478:15: warning: 'struct usb_cdc_speed_change' declared inside parameter list
2 ../drivers/net/tun.c:1274:33: warning: excess elements in struct initializer
2 ../drivers/net/tun.c:1274:25: warning: unused variable 'gso' [-Wunused-variable]
2 ../drivers/net/tun.c:1041:32: warning: excess elements in struct initializer
2 ../drivers/net/tun.c:1041:24: warning: unused variable 'gso' [-Wunused-variable]
2 ../drivers/net/macvtap.c:811:25: warning: unused variable 'vnet_hdr' [-Wunused-variable]
2 ../drivers/net/macvtap.c:670:37: warning: excess elements in struct initializer
2 ../drivers/net/macvtap.c:670:24: warning: unused variable 'vnet_hdr' [-Wunused-variable]
2 ../drivers/media/platform/s3c-camif/camif-capture.c:134:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
2 ../drivers/media/platform/s3c-camif/camif-capture.c:118:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
2 ../drivers/iommu/intel-iommu.c:3800:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
2 ../drivers/iommu/dmar.c:1849:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
2 ../drivers/hid/hid-input.c:1163:67: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
2 ../drivers/ata/pata_hpt366.c:382:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
2 ../drivers/ata/pata_hpt366.c:379:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
2 ../drivers/ata/pata_hpt366.c:376:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
2 ../arch/x86/include/asm/msr.h:209:23: warning: right shift count >= width of type [-Wshift-count-overflow]
1 ../net/caif/cfpkt_skbuff.c:282:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
1 ../include/trace/ftrace.h:28:0: warning: "TRACE_SYSTEM_STRING" redefined
1 ../drivers/usb/renesas_usbhs/common.c:492:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/usb/class/cdc-wdm.c:264:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'const struct usb_device_id *' [-Wformat=]
1 ../drivers/usb/class/cdc-wdm.c:264:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'const struct usb_device_id *' [-Wformat=]
1 ../drivers/staging/unisys/visorutil/periodic_work.c:91:31: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare]
1 ../drivers/staging/unisys/visorutil/periodic_work.c:122:31: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare]
1 ../drivers/staging/rtl8723au/core/rtw_wlan_util.c:525:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
1 ../drivers/staging/iio/adc/ad7192.c:236:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
1 ../drivers/staging/i2o/i2o_config.c:952:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/staging/i2o/i2o_config.c:892:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/scsi/storvsc_drv.c:1676:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1 ../drivers/scsi/megaraid/megaraid_sas_fusion.c:1723:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1 ../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
1 ../drivers/scsi/bfa/bfa_ioc.c:3673:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1 ../drivers/scsi/bfa/bfa_ioc.c:3665:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1 ../drivers/scsi/advansys.c:71:2: warning: #warning this driver is still not properly converted to the DMA API [-Wcpp]
1 ../drivers/rtc/rtc-pcf8563.c:444:5: warning: 'alm_pending' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../drivers/rtc/rtc-armada38x.c:91:22: warning: unused variable 'flags' [-Wunused-variable]
1 ../drivers/net/wireless/iwlegacy/3945.c:1022:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
1 ../drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c:1478:8: warning: 'skb' may be used uninitialized in this function [-Wmaybe-uninitialized]
1 ../drivers/net/usb/cdc_ncm.c:1478:15: warning: 'struct usb_cdc_speed_change' declared inside parameter list will not be visible outside of this definition or declaration
1 ../drivers/net/macvtap.c:620:16: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
1 ../drivers/net/macvtap.c:620:16: warning: 'struct virtio_net_hdr' declared inside parameter list
1 ../drivers/net/macvtap.c:576:17: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
1 ../drivers/net/macvtap.c:576:17: warning: 'struct virtio_net_hdr' declared inside parameter list
1 ../drivers/net/ethernet/dec/tulip/uli526x.c:1086:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
1 ../drivers/mtd/mtd_blkdevs.c:100:2: warning: switch condition has boolean value [-Wswitch-bool]
1 ../drivers/mmc/host/sh_mmcif.c:402:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/mmc/host/sh_mmcif.c:401:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
1 ../drivers/media/usb/cx231xx/cx231xx-cards.c:1110:1: warning: the frame size of 2064 bytes is larger than 2048 bytes [-Wframe-larger-than=]
1 ../drivers/media/platform/coda/./trace.h:12:0: warning: "TRACE_SYSTEM_STRING" redefined
1 ../drivers/media/platform/am437x/am437x-vpfe.c:1723:27: warning: self-comparison always evaluates to true [-Wtautological-compare]
1 ../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1 ../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../drivers/gpu/drm/gma500/cdv_intel_dp.c:869:2: warning: 'i2c_dp_aux_add_bus' is deprecated [-Wdeprecated-declarations]
1 ../drivers/block/hd.c:630:3: warning: switch condition has boolean value [-Wswitch-bool]
1 ../drivers/atm/iphase.c:1176:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1 ../arch/x86/xen/mmu.c:1105:57: warning: array subscript is above array bounds [-Warray-bounds]
1 ../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
1 ../arch/arm/include/asm/cmpxchg.h:205:3: warning: value computed is not used [-Wunused-value]
===============================================================================
Detailed per-defconfig build reports below:
-------------------------------------------------------------------------------
arm64-allnoconfig : FAIL, 5 errors, 0 warnings, 0 section mismatches
Errors:
../include/linux/thread_info.h:128:2: error: implicit declaration of function 'WARN_ON' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/arch_timer.h:113:2: error: implicit declaration of function 'BUG' [-Werror=implicit-function-declaration]
../include/linux/kref.h:47:2: error: implicit declaration of function 'WARN_ON_ONCE' [-Werror=implicit-function-declaration]
../include/linux/dma-attrs.h:54:2: error: implicit declaration of function 'BUG_ON' [-Werror=implicit-function-declaration]
../include/linux/jump_label.h:60:32: error: implicit declaration of function 'WARN' [-Werror=implicit-function-declaration]
-------------------------------------------------------------------------------
arm64-allmodconfig : FAIL, 1 errors, 0 warnings, 0 section mismatches
Errors:
../include/linux/mmdebug.h:17:25: error: implicit declaration of function 'BUG_ON' [-Werror=implicit-function-declaration]
-------------------------------------------------------------------------------
arm-multi_v5_defconfig : FAIL, 107 errors, 11 warnings, 0 section mismatches
Errors:
../arch/arm/mm/init.c:235:24: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/init.c:235:33: error: '_end' undeclared (first use in this function)
../arch/arm/mm/init.c:536:16: error: '_text' undeclared (first use in this function)
../arch/arm/mm/init.c:536:23: error: '_etext' undeclared (first use in this function)
../arch/arm/mm/init.c:537:16: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:537:30: error: '__init_end' undeclared (first use in this function)
../arch/arm/mm/init.c:538:16: error: '_sdata' undeclared (first use in this function)
../arch/arm/mm/init.c:538:24: error: '_edata' undeclared (first use in this function)
../arch/arm/mm/init.c:539:16: error: '__bss_start' undeclared (first use in this function)
../arch/arm/mm/init.c:539:29: error: '__bss_stop' undeclared (first use in this function)
../arch/arm/mm/init.c:723:18: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:723:32: error: '__init_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:769:37: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:770:37: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:771:37: error: '_sdata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:772:37: error: '_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:928:39: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:929:39: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:930:39: error: '_edata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:931:35: error: '_end' undeclared (first use in this function)
../arch/arm/mm/mmu.c:1332:47: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/mmu.c:1333:43: error: '__init_end' undeclared (first use in this function)
../mm/page_alloc.c:5582:13: error: '_etext' undeclared (first use in this function)
../mm/page_alloc.c:5582:22: error: '_stext' undeclared (first use in this function)
../mm/page_alloc.c:5583:13: error: '_edata' undeclared (first use in this function)
../mm/page_alloc.c:5583:22: error: '_sdata' undeclared (first use in this function)
../mm/page_alloc.c:5584:11: error: '__end_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5584:26: error: '__start_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5585:13: error: '__bss_stop' undeclared (first use in this function)
../mm/page_alloc.c:5585:26: error: '__bss_start' undeclared (first use in this function)
../mm/page_alloc.c:5586:19: error: '__init_end' undeclared (first use in this function)
../mm/page_alloc.c:5586:32: error: '__init_begin' undeclared (first use in this function)
../mm/page_alloc.c:5587:19: error: '_einittext' undeclared (first use in this function)
../mm/page_alloc.c:5587:32: error: '_sinittext' undeclared (first use in this function)
../mm/util.c:22:32: error: '__start_rodata' undeclared (first use in this function)
../mm/util.c:23:25: error: '__end_rodata' undeclared (first use in this function)
../kernel/extable.c:64:29: error: '_sinittext' undeclared (first use in this function)
../kernel/extable.c:65:28: error: '_einittext' undeclared (first use in this function)
../kernel/extable.c:72:29: error: '_stext' undeclared (first use in this function)
../kernel/extable.c:73:28: error: '_etext' undeclared (first use in this function)
../kernel/extable.c:94:29: error: '_sdata' undeclared (first use in this function)
../kernel/extable.c:95:28: error: '_edata' undeclared (first use in this function)
../kernel/extable.c:140:25: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../net/core/sock.c:708:7: error: 'SO_REUSEPORT' undeclared (first use in this function)
../net/core/sock.c:906:7: error: 'SO_ATTACH_BPF' undeclared (first use in this function)
../net/core/sock.c:923:7: error: 'SO_LOCK_FILTER' undeclared (first use in this function)
../net/core/sock.c:962:7: error: 'SO_SELECT_ERR_QUEUE' undeclared (first use in this function)
../net/core/sock.c:967:7: error: 'SO_BUSY_POLL' undeclared (first use in this function)
../net/core/sock.c:980:7: error: 'SO_MAX_PACING_RATE' undeclared (first use in this function)
../net/core/sock.c:1055:7: error: 'SO_REUSEPORT' undeclared (first use in this function)
../net/core/sock.c:1213:7: error: 'SO_GET_FILTER' undeclared (first use in this function)
../net/core/sock.c:1220:7: error: 'SO_LOCK_FILTER' undeclared (first use in this function)
../net/core/sock.c:1224:7: error: 'SO_BPF_EXTENSIONS' undeclared (first use in this function)
../net/core/sock.c:1228:7: error: 'SO_SELECT_ERR_QUEUE' undeclared (first use in this function)
../net/core/sock.c:1233:7: error: 'SO_BUSY_POLL' undeclared (first use in this function)
../net/core/sock.c:1238:7: error: 'SO_MAX_PACING_RATE' undeclared (first use in this function)
../net/core/sock.c:1242:7: error: 'SO_INCOMING_CPU' undeclared (first use in this function)
../kernel/profile.c:106:14: error: '_etext' undeclared (first use in this function)
../kernel/profile.c:106:23: error: '_stext' undeclared (first use in this function)
../kernel/profile.c:396:45: error: '_stext' undeclared (first use in this function)
../kernel/module.c:907:35: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../kernel/kallsyms.c:57:29: error: '_sinittext' undeclared (first use in this function)
../kernel/kallsyms.c:58:32: error: '_einittext' undeclared (first use in this function)
../kernel/kallsyms.c:65:30: error: '_stext' undeclared (first use in this function)
../kernel/kallsyms.c:65:63: error: '_etext' undeclared (first use in this function)
../kernel/kallsyms.c:66:6: error: implicit declaration of function 'arch_is_kernel_text' [-Werror=implicit-function-declaration]
../kernel/kallsyms.c:73:29: error: '_stext' undeclared (first use in this function)
../kernel/kallsyms.c:73:62: error: '_end' undeclared (first use in this function)
../kernel/kallsyms.c:257:32: error: '_einittext' undeclared (first use in this function)
../kernel/kallsyms.c:259:32: error: '_end' undeclared (first use in this function)
../kernel/kallsyms.c:261:32: error: '_etext' undeclared (first use in this function)
../lib/vsprintf.c:1474:9: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../net/packet/af_packet.c:2420:9: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2420:24: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2471:25: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2483:28: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2484:33: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2485:9: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2488:9: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2491:9: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2959:10: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2959:25: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2977:25: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2979:25: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2981:25: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2987:26: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2989:24: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2992:21: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2998:21: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../net/sunrpc/xprtsock.c:1635:38: error: 'SO_REUSEPORT' undeclared (first use in this function)
Warnings:
../mm/util.c:24:1: warning: control reaches end of non-void function [-Wreturn-type]
../lib/vsprintf.c:1474:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
../include/linux/virtio_net.h:9:6: warning: 'struct virtio_net_hdr' declared inside parameter list
../include/linux/virtio_net.h:9:6: warning: its scope is only this definition or declaration, which is probably not what you want
../include/linux/virtio_net.h:59:8: warning: 'struct virtio_net_hdr' declared inside parameter list
../net/packet/af_packet.c:2420:37: warning: excess elements in struct initializer
../net/packet/af_packet.c:2420:24: warning: unused variable 'vnet_hdr' [-Wunused-variable]
../net/packet/af_packet.c:2959:38: warning: excess elements in struct initializer
../net/packet/af_packet.c:2959:25: warning: unused variable 'vnet_hdr' [-Wunused-variable]
../include/linux/blkdev.h:624:26: warning: switch condition has boolean value [-Wswitch-bool]
../drivers/rtc/rtc-pcf8563.c:444:5: warning: 'alm_pending' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
arm-multi_v7_defconfig : FAIL, 219 errors, 24 warnings, 0 section mismatches
Errors:
../arch/arm/mm/init.c:235:24: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/init.c:235:33: error: '_end' undeclared (first use in this function)
../arch/arm/mm/init.c:536:16: error: '_text' undeclared (first use in this function)
../arch/arm/mm/init.c:536:23: error: '_etext' undeclared (first use in this function)
../arch/arm/mm/init.c:537:16: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:537:30: error: '__init_end' undeclared (first use in this function)
../arch/arm/mm/init.c:538:16: error: '_sdata' undeclared (first use in this function)
../arch/arm/mm/init.c:538:24: error: '_edata' undeclared (first use in this function)
../arch/arm/mm/init.c:539:16: error: '__bss_start' undeclared (first use in this function)
../arch/arm/mm/init.c:539:29: error: '__bss_stop' undeclared (first use in this function)
../arch/arm/mm/init.c:723:18: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:723:32: error: '__init_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:769:37: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:770:37: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:771:37: error: '_sdata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:772:37: error: '_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:928:39: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:929:39: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:930:39: error: '_edata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:931:35: error: '_end' undeclared (first use in this function)
../arch/arm/mm/mmu.c:1332:47: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/mmu.c:1333:43: error: '__init_end' undeclared (first use in this function)
../mm/page_alloc.c:5582:13: error: '_etext' undeclared (first use in this function)
../mm/page_alloc.c:5582:22: error: '_stext' undeclared (first use in this function)
../mm/page_alloc.c:5583:13: error: '_edata' undeclared (first use in this function)
../mm/page_alloc.c:5583:22: error: '_sdata' undeclared (first use in this function)
../mm/page_alloc.c:5584:11: error: '__end_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5584:26: error: '__start_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5585:13: error: '__bss_stop' undeclared (first use in this function)
../mm/page_alloc.c:5585:26: error: '__bss_start' undeclared (first use in this function)
../mm/page_alloc.c:5586:19: error: '__init_end' undeclared (first use in this function)
../mm/page_alloc.c:5586:32: error: '__init_begin' undeclared (first use in this function)
../mm/page_alloc.c:5587:19: error: '_einittext' undeclared (first use in this function)
../mm/page_alloc.c:5587:32: error: '_sinittext' undeclared (first use in this function)
../mm/util.c:22:32: error: '__start_rodata' undeclared (first use in this function)
../mm/util.c:23:25: error: '__end_rodata' undeclared (first use in this function)
../mm/percpu.c:90:21: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:96:20: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:1302:29: error: '__per_cpu_end' undeclared (first use in this function)
../mm/percpu.c:1302:45: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:90:21: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:1575:35: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:1800:29: error: '__per_cpu_end' undeclared (first use in this function)
../mm/percpu.c:1800:45: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:2026:16: error: '__per_cpu_load' undeclared (first use in this function)
../mm/percpu.c:2228:57: error: '__per_cpu_start' undeclared (first use in this function)
../kernel/extable.c:64:29: error: '_sinittext' undeclared (first use in this function)
../kernel/extable.c:65:28: error: '_einittext' undeclared (first use in this function)
../kernel/extable.c:72:29: error: '_stext' undeclared (first use in this function)
../kernel/extable.c:73:28: error: '_etext' undeclared (first use in this function)
../kernel/extable.c:94:29: error: '_sdata' undeclared (first use in this function)
../kernel/extable.c:95:28: error: '_edata' undeclared (first use in this function)
../kernel/extable.c:140:25: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../kernel/module.c:907:35: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../kernel/kallsyms.c:57:29: error: '_sinittext' undeclared (first use in this function)
../kernel/kallsyms.c:58:32: error: '_einittext' undeclared (first use in this function)
../kernel/kallsyms.c:65:30: error: '_stext' undeclared (first use in this function)
../kernel/kallsyms.c:65:63: error: '_etext' undeclared (first use in this function)
../kernel/kallsyms.c:66:6: error: implicit declaration of function 'arch_is_kernel_text' [-Werror=implicit-function-declaration]
../kernel/kallsyms.c:73:29: error: '_stext' undeclared (first use in this function)
../kernel/kallsyms.c:73:62: error: '_end' undeclared (first use in this function)
../kernel/kallsyms.c:257:32: error: '_einittext' undeclared (first use in this function)
../kernel/kallsyms.c:259:32: error: '_end' undeclared (first use in this function)
../kernel/kallsyms.c:261:32: error: '_etext' undeclared (first use in this function)
../kernel/kexec.c:1950:20: error: '_stext' undeclared (first use in this function)
../net/core/sock.c:708:7: error: 'SO_REUSEPORT' undeclared (first use in this function)
../net/core/sock.c:906:7: error: 'SO_ATTACH_BPF' undeclared (first use in this function)
../net/core/sock.c:923:7: error: 'SO_LOCK_FILTER' undeclared (first use in this function)
../net/core/sock.c:962:7: error: 'SO_SELECT_ERR_QUEUE' undeclared (first use in this function)
../net/core/sock.c:967:7: error: 'SO_BUSY_POLL' undeclared (first use in this function)
../net/core/sock.c:980:7: error: 'SO_MAX_PACING_RATE' undeclared (first use in this function)
../net/core/sock.c:1055:7: error: 'SO_REUSEPORT' undeclared (first use in this function)
../net/core/sock.c:1213:7: error: 'SO_GET_FILTER' undeclared (first use in this function)
../net/core/sock.c:1220:7: error: 'SO_LOCK_FILTER' undeclared (first use in this function)
../net/core/sock.c:1224:7: error: 'SO_BPF_EXTENSIONS' undeclared (first use in this function)
../net/core/sock.c:1228:7: error: 'SO_SELECT_ERR_QUEUE' undeclared (first use in this function)
../net/core/sock.c:1233:7: error: 'SO_BUSY_POLL' undeclared (first use in this function)
../net/core/sock.c:1238:7: error: 'SO_MAX_PACING_RATE' undeclared (first use in this function)
../net/core/sock.c:1242:7: error: 'SO_INCOMING_CPU' undeclared (first use in this function)
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../net/packet/af_packet.c:2420:9: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2420:24: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2471:25: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2483:28: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2484:33: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2485:9: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2488:9: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2491:9: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2959:10: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2959:25: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2977:25: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2979:25: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2981:25: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2987:26: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2989:24: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2992:21: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2998:21: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../net/sunrpc/xprtsock.c:1635:38: error: 'SO_REUSEPORT' undeclared (first use in this function)
../lib/vsprintf.c:1474:9: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../drivers/net/usb/cdc_ether.c:76:19: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:77:6: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:84:17: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:86:17: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:90:4: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:170:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:176:20: error: dereferencing pointer to incomplete type 'struct usb_cdc_header_desc'
../drivers/net/usb/cdc_ether.c:182:8: error: 'USB_CDC_ACM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:190:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_acm_descriptor'
../drivers/net/usb/cdc_ether.c:199:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:205:15: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/net/usb/cdc_ether.c:257:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:263:19: error: dereferencing pointer to incomplete type 'struct usb_cdc_ether_desc'
../drivers/net/usb/cdc_ether.c:274:8: error: 'USB_CDC_MDLM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:282:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_desc'
../drivers/net/usb/cdc_ether.c:288:8: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:296:14: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_detail_desc'
../drivers/net/usb/cdc_ether.c:362:17: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:439:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:450:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:455:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:461:4: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:538:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/cdc_ether.c:539:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/cdc_ether.c:626:4: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
../drivers/net/usb/zaurus.c:163:8: error: 'USB_CDC_MDLM_TYPE' undeclared (first use in this function)
../drivers/net/usb/zaurus.c:169:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_desc'
../drivers/net/usb/zaurus.c:182:8: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared (first use in this function)
../drivers/net/usb/zaurus.c:188:18: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_detail_desc'
../drivers/net/usb/zaurus.c:268:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/zaurus.c:269:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/zaurus.c:319:4: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
../include/linux/usb/cdc_ncm.h:88:36: error: field 'ncm_parm' has incomplete type
../drivers/net/usb/cdc_ncm.c:153:8: error: 'USB_CDC_NCM_NTB_MIN_IN_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:176:60: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:346:29: error: 'USB_CDC_SET_NTB_INPUT_SIZE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:408:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_desc'
../drivers/net/usb/cdc_ncm.c:410:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_ncm_desc'
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:435:37: error: dereferencing pointer to incomplete type 'const struct usb_cdc_ether_desc'
../drivers/net/usb/cdc_ncm.c:448:29: error: 'USB_CDC_GET_NTB_PARAMETERS' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:459:27: error: 'USB_CDC_NCM_NCAP_CRC_MODE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:461:31: error: 'USB_CDC_SET_CRC_MODE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:464:12: error: 'USB_CDC_NCM_CRC_NOT_APPENDED' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:476:7: error: 'USB_CDC_NCM_NTB32_SUPPORTED' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:478:31: error: 'USB_CDC_SET_NTB_FORMAT' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:481:12: error: 'USB_CDC_NCM_NTB16_FORMAT' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:507:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:507:94: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:530:29: error: 'USB_CDC_NCM_NCAP_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:534:29: error: 'USB_CDC_GET_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:546:30: error: 'USB_CDC_SET_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:558:49: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_extended_desc'
../drivers/net/usb/cdc_ncm.c:577:13: error: 'USB_CDC_NCM_NDP_ALIGN_MIN_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:757:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:758:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
../drivers/net/usb/cdc_ncm.c:772:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:780:8: error: 'USB_CDC_NCM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:787:8: error: 'USB_CDC_MBIM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:794:8: error: 'USB_CDC_MBIM_EXTENDED_TYPE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1029:38: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1034:13: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:38: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:73: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1091:70: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1091:108: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1092:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1092:36: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1093:45: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1145:28: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1145:64: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1150:48: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1296:56: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1319:28: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1320:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1327:11: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1327:40: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1364:26: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1378:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1379:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1382:14: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1383:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1418:40: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1426:37: error: increment of pointer to an incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1427:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1480:38: error: dereferencing pointer to incomplete type 'struct usb_cdc_speed_change'
../drivers/net/usb/cdc_ncm.c:1507:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ncm.c:1520:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1532:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1534:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_speed_change'
../drivers/net/usb/cdc_ncm.c:1538:19: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ncm.c:1592:26: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
../drivers/net/usb/cdc_ncm.c:1593:26: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
Warnings:
../mm/util.c:24:1: warning: control reaches end of non-void function [-Wreturn-type]
../include/linux/virtio_net.h:9:6: warning: 'struct virtio_net_hdr' declared inside parameter list
../include/linux/virtio_net.h:9:6: warning: its scope is only this definition or declaration, which is probably not what you want
../include/linux/virtio_net.h:59:8: warning: 'struct virtio_net_hdr' declared inside parameter list
../net/packet/af_packet.c:2420:37: warning: excess elements in struct initializer
../net/packet/af_packet.c:2420:24: warning: unused variable 'vnet_hdr' [-Wunused-variable]
../net/packet/af_packet.c:2959:38: warning: excess elements in struct initializer
../net/packet/af_packet.c:2959:25: warning: unused variable 'vnet_hdr' [-Wunused-variable]
../lib/vsprintf.c:1474:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
../include/linux/blkdev.h:624:26: warning: switch condition has boolean value [-Wswitch-bool]
../drivers/net/usb/cdc_ncm.c:1478:15: warning: 'struct usb_cdc_speed_change' declared inside parameter list
../drivers/net/usb/cdc_ncm.c:1478:15: warning: its scope is only this definition or declaration, which is probably not what you want
../drivers/net/usb/cdc_ncm.c:1513:9: warning: passing argument 2 of 'cdc_ncm_speed_change' from incompatible pointer type [-Wincompatible-pointer-types]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/wireless/brcm80211/brcmfmac/fwsignal.c:1478:8: warning: 'skb' may be used uninitialized in this function [-Wmaybe-uninitialized]
-------------------------------------------------------------------------------
x86_64-defconfig : FAIL, 89 errors, 11 warnings, 0 section mismatches
Errors:
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:25: error: 'RTIT_CTL_TSC_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:43: error: 'RTIT_CTL_DISRETC' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:196:18: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:8: error: 'RTIT_CTL_TOPA' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:24: error: 'RTIT_CTL_BRANCH_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:45: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:206:10: error: 'RTIT_CTL_OS' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:208:10: error: 'RTIT_CTL_USR' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:25: error: 'RTIT_CTL_TSC_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:43: error: 'RTIT_CTL_DISRETC' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:221:10: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:519:15: error: 'RTIT_STATUS_ERROR' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:525:15: error: 'RTIT_STATUS_STOPPED' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:1071:22: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../net/packet/af_packet.c:2420:9: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2420:24: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2471:25: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2483:28: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2484:33: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2485:9: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2488:9: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2491:9: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2959:10: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2959:25: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2977:25: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2979:25: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2981:25: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2987:26: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2989:24: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2992:21: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2998:21: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
Warnings:
../arch/x86/kernel/cpu/perf_event_intel_pt.c:197:1: warning: control reaches end of non-void function [-Wreturn-type]
../arch/x86/include/asm/msr.h:209:23: warning: right shift count >= width of type [-Wshift-count-overflow]
../drivers/hid/hid-input.c:1163:67: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
../drivers/iommu/dmar.c:1849:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
../drivers/iommu/intel-iommu.c:3800:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
../include/linux/virtio_net.h:8:19: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
../include/linux/virtio_net.h:58:15: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
../net/packet/af_packet.c:2420:37: warning: excess elements in struct initializer
../net/packet/af_packet.c:2420:24: warning: unused variable 'vnet_hdr' [-Wunused-variable]
../net/packet/af_packet.c:2959:38: warning: excess elements in struct initializer
../net/packet/af_packet.c:2959:25: warning: unused variable 'vnet_hdr' [-Wunused-variable]
-------------------------------------------------------------------------------
arm-allmodconfig : FAIL, 1148 errors, 228 warnings, 0 section mismatches
Errors:
../init/main.c:685:32: error: '__ctors_start' undeclared (first use in this function)
../init/main.c:687:28: error: '__ctors_end' undeclared (first use in this function)
../arch/arm/mm/init.c:235:24: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/init.c:235:33: error: '_end' undeclared (first use in this function)
../arch/arm/mm/init.c:536:16: error: '_text' undeclared (first use in this function)
../arch/arm/mm/init.c:536:23: error: '_etext' undeclared (first use in this function)
../arch/arm/mm/init.c:537:16: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:537:30: error: '__init_end' undeclared (first use in this function)
../arch/arm/mm/init.c:538:16: error: '_sdata' undeclared (first use in this function)
../arch/arm/mm/init.c:538:24: error: '_edata' undeclared (first use in this function)
../arch/arm/mm/init.c:539:16: error: '__bss_start' undeclared (first use in this function)
../arch/arm/mm/init.c:539:29: error: '__bss_stop' undeclared (first use in this function)
../arch/arm/mm/init.c:583:25: error: '_stext' undeclared here (not in a function)
../arch/arm/mm/init.c:589:27: error: '__init_begin' undeclared here (not in a function)
../arch/arm/mm/init.c:590:25: error: '_sdata' undeclared here (not in a function)
../arch/arm/mm/init.c:597:28: error: '__start_rodata' undeclared here (not in a function)
../arch/arm/mm/init.c:609:13: error: initializer element is not constant
../arch/arm/mm/init.c:610:13: error: initializer element is not constant
../arch/arm/mm/init.c:723:32: error: '__init_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:769:37: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:770:37: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:771:37: error: '_sdata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:772:37: error: '_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:928:39: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:929:39: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:930:39: error: '_edata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:931:35: error: '_end' undeclared (first use in this function)
../arch/arm/mm/mmu.c:1332:47: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/mmu.c:1333:43: error: '__init_end' undeclared (first use in this function)
../arch/arm/kernel/hibernate.c:29:48: error: '__nosave_begin' undeclared (first use in this function)
../arch/arm/kernel/hibernate.c:30:46: error: '__nosave_end' undeclared (first use in this function)
../mm/page_alloc.c:5582:13: error: '_etext' undeclared (first use in this function)
../mm/page_alloc.c:5582:22: error: '_stext' undeclared (first use in this function)
../mm/page_alloc.c:5583:13: error: '_edata' undeclared (first use in this function)
../mm/page_alloc.c:5583:22: error: '_sdata' undeclared (first use in this function)
../mm/page_alloc.c:5584:11: error: '__end_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5584:26: error: '__start_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5585:13: error: '__bss_stop' undeclared (first use in this function)
../mm/page_alloc.c:5585:26: error: '__bss_start' undeclared (first use in this function)
../mm/page_alloc.c:5586:19: error: '__init_end' undeclared (first use in this function)
../mm/page_alloc.c:5586:32: error: '__init_begin' undeclared (first use in this function)
../mm/page_alloc.c:5587:19: error: '_einittext' undeclared (first use in this function)
../mm/page_alloc.c:5587:32: error: '_sinittext' undeclared (first use in this function)
../mm/util.c:22:32: error: '__start_rodata' undeclared (first use in this function)
../mm/util.c:23:25: error: '__end_rodata' undeclared (first use in this function)
../mm/percpu.c:90:21: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:96:20: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:1302:29: error: '__per_cpu_end' undeclared (first use in this function)
../mm/percpu.c:1302:45: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:90:21: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:1575:35: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:1800:29: error: '__per_cpu_end' undeclared (first use in this function)
../mm/percpu.c:1800:45: error: '__per_cpu_start' undeclared (first use in this function)
../mm/percpu.c:2026:16: error: '__per_cpu_load' undeclared (first use in this function)
../mm/percpu.c:2228:57: error: '__per_cpu_start' undeclared (first use in this function)
../kernel/extable.c:64:29: error: '_sinittext' undeclared (first use in this function)
../kernel/extable.c:65:28: error: '_einittext' undeclared (first use in this function)
../kernel/extable.c:72:29: error: '_stext' undeclared (first use in this function)
../kernel/extable.c:73:28: error: '_etext' undeclared (first use in this function)
../kernel/extable.c:94:29: error: '_sdata' undeclared (first use in this function)
../kernel/extable.c:95:28: error: '_edata' undeclared (first use in this function)
../kernel/extable.c:140:25: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../mm/kmemleak.c:1334:13: error: '_sdata' undeclared (first use in this function)
../mm/kmemleak.c:1334:21: error: '_edata' undeclared (first use in this function)
../mm/kmemleak.c:1335:13: error: '__bss_start' undeclared (first use in this function)
../mm/kmemleak.c:1335:26: error: '__bss_stop' undeclared (first use in this function)
../mm/kmemleak.c:1340:14: error: '__per_cpu_start' undeclared (first use in this function)
../mm/kmemleak.c:1341:7: error: '__per_cpu_end' undeclared (first use in this function)
../kernel/locking/lockdep.c:612:41: error: '_stext' undeclared (first use in this function)
../kernel/locking/lockdep.c:613:34: error: '_end' undeclared (first use in this function)
../kernel/locking/lockdep.c:622:6: error: implicit declaration of function 'arch_is_kernel_data' [-Werror=implicit-function-declaration]
../kernel/profile.c:106:14: error: '_etext' undeclared (first use in this function)
../kernel/profile.c:106:23: error: '_stext' undeclared (first use in this function)
../kernel/profile.c:287:32: error: '_stext' undeclared (first use in this function)
../kernel/module.c:907:35: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../kernel/kallsyms.c:57:29: error: '_sinittext' undeclared (first use in this function)
../kernel/kallsyms.c:58:32: error: '_einittext' undeclared (first use in this function)
../kernel/kallsyms.c:65:30: error: '_stext' undeclared (first use in this function)
../kernel/kallsyms.c:65:63: error: '_etext' undeclared (first use in this function)
../kernel/kallsyms.c:66:6: error: implicit declaration of function 'arch_is_kernel_text' [-Werror=implicit-function-declaration]
../kernel/kallsyms.c:73:29: error: '_stext' undeclared (first use in this function)
../kernel/kallsyms.c:73:62: error: '_end' undeclared (first use in this function)
../kernel/kallsyms.c:257:32: error: '_einittext' undeclared (first use in this function)
../kernel/kallsyms.c:259:32: error: '_end' undeclared (first use in this function)
../kernel/kallsyms.c:261:32: error: '_etext' undeclared (first use in this function)
../kernel/kexec.c:1950:20: error: '_stext' undeclared (first use in this function)
../net/core/sock.c:708:7: error: 'SO_REUSEPORT' undeclared (first use in this function)
../net/core/sock.c:906:7: error: 'SO_ATTACH_BPF' undeclared (first use in this function)
../net/core/sock.c:923:7: error: 'SO_LOCK_FILTER' undeclared (first use in this function)
../net/core/sock.c:962:7: error: 'SO_SELECT_ERR_QUEUE' undeclared (first use in this function)
../net/core/sock.c:967:7: error: 'SO_BUSY_POLL' undeclared (first use in this function)
../net/core/sock.c:980:7: error: 'SO_MAX_PACING_RATE' undeclared (first use in this function)
../net/core/sock.c:1055:7: error: 'SO_REUSEPORT' undeclared (first use in this function)
../net/core/sock.c:1213:7: error: 'SO_GET_FILTER' undeclared (first use in this function)
../net/core/sock.c:1220:7: error: 'SO_LOCK_FILTER' undeclared (first use in this function)
../net/core/sock.c:1224:7: error: 'SO_BPF_EXTENSIONS' undeclared (first use in this function)
../net/core/sock.c:1228:7: error: 'SO_SELECT_ERR_QUEUE' undeclared (first use in this function)
../net/core/sock.c:1233:7: error: 'SO_BUSY_POLL' undeclared (first use in this function)
../net/core/sock.c:1238:7: error: 'SO_MAX_PACING_RATE' undeclared (first use in this function)
../net/core/sock.c:1242:7: error: 'SO_INCOMING_CPU' undeclared (first use in this function)
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../net/netfilter/nf_conntrack_proto_sctp.c:52:35: error: 'SCTP_CONNTRACK_MAX' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:53:3: error: 'SCTP_CONNTRACK_CLOSED' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:53:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:54:3: error: 'SCTP_CONNTRACK_COOKIE_WAIT' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:54:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:55:3: error: 'SCTP_CONNTRACK_COOKIE_ECHOED' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:55:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:56:3: error: 'SCTP_CONNTRACK_ESTABLISHED' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:56:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:57:3: error: 'SCTP_CONNTRACK_SHUTDOWN_SENT' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:57:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:58:3: error: 'SCTP_CONNTRACK_SHUTDOWN_RECD' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:58:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:59:3: error: 'SCTP_CONNTRACK_SHUTDOWN_ACK_SENT' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:59:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:180:22: error: storage size of 'state' isn't known
../net/netfilter/nf_conntrack_proto_sctp.c:237:26: error: parameter 2 ('cur_state') has incomplete type
../net/netfilter/nf_conntrack_proto_sctp.c:236:12: error: function declaration isn't a prototype [-Werror=strict-prototypes]
../net/netfilter/nf_conntrack_proto_sctp.c:310:22: error: storage size of 'new_state' isn't known
../net/netfilter/nf_conntrack_proto_sctp.c:310:33: error: storage size of 'old_state' isn't known
../net/netfilter/nf_conntrack_proto_sctp.c:337:26: error: 'SCTP_CONNTRACK_NONE' undeclared (first use in this function)
../net/netfilter/nf_conntrack_proto_sctp.c:415:22: error: storage size of 'new_state' isn't known
../net/netfilter/nf_conntrack_proto_sctp.c:441:9: error: 'SCTP_CONNTRACK_NONE' undeclared (first use in this function)
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../net/packet/af_packet.c:2420:9: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2420:24: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2471:25: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2483:28: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2484:33: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2485:9: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2488:9: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2491:9: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2959:10: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2959:25: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2977:25: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2979:25: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2981:25: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2987:26: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2989:24: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2992:21: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2998:21: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../lib/dma-debug.c:1184:25: error: '_stext' undeclared (first use in this function)
../lib/dma-debug.c:1184:33: error: '_etext' undeclared (first use in this function)
../lib/dma-debug.c:1185:25: error: '__start_rodata' undeclared (first use in this function)
../lib/dma-debug.c:1185:41: error: '__end_rodata' undeclared (first use in this function)
../drivers/hwtracing/coresight/coresight-etm3x.c:1769:32: error: '_stext' undeclared (first use in this function)
../drivers/hwtracing/coresight/coresight-etm3x.c:1770:32: error: '_etext' undeclared (first use in this function)
../lib/vsprintf.c:1474:9: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../net/sunrpc/xprtsock.c:1635:38: error: 'SO_REUSEPORT' undeclared (first use in this function)
../drivers/input/misc/ims-pcu.c:1638:26: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/input/misc/ims-pcu.c:1647:41: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/input/misc/ims-pcu.c:1677:17: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
../drivers/input/misc/ims-pcu.c:1771:25: error: dereferencing pointer to incomplete type 'struct usb_cdc_line_coding'
../drivers/input/misc/ims-pcu.c:1776:5: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
../drivers/input/misc/ims-pcu.c:1779:18: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_line_coding'
../drivers/input/misc/ims-pcu.c:1788:5: error: 'USB_CDC_REQ_SET_CONTROL_LINE_STATE' undeclared (first use in this function)
../drivers/input/misc/ims-pcu.c:2134:6: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/input/misc/ims-pcu.c:2135:6: error: 'USB_CDC_ACM_PROTO_AT_V25TER' undeclared here (not in a function)
../drivers/misc/kgdbts.c:226:25: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../arch/arm/include/asm/parport.h:12:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'parport_pc_find_isa_ports'
../arch/arm/include/asm/parport.h:13:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'parport_pc_find_nonpci_ports'
../drivers/parport/parport_pc.c:3066:2: error: implicit declaration of function 'parport_pc_find_nonpci_ports' [-Werror=implicit-function-declaration]
../drivers/net/usb/r8152.c:4091:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/r8152.c:4092:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/hso.c:1795:14: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/net/usb/hso.c:1807:24: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/net/usb/hso.c:1852:7: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/net/usb/hso.c:1921:7: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:76:19: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:77:6: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:84:17: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:86:17: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:90:4: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:170:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:176:20: error: dereferencing pointer to incomplete type 'struct usb_cdc_header_desc'
../drivers/net/usb/cdc_ether.c:182:8: error: 'USB_CDC_ACM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:190:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_acm_descriptor'
../drivers/net/usb/cdc_ether.c:199:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:205:15: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/net/usb/cdc_ether.c:257:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:263:19: error: dereferencing pointer to incomplete type 'struct usb_cdc_ether_desc'
../drivers/net/usb/cdc_ether.c:274:8: error: 'USB_CDC_MDLM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:282:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_desc'
../drivers/net/usb/cdc_ether.c:288:8: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:296:14: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_detail_desc'
../drivers/net/usb/cdc_ether.c:362:17: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:439:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:450:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:455:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:461:4: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:538:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/cdc_ether.c:539:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/cdc_ether.c:626:4: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
../drivers/net/usb/cdc_eem.c:357:37: error: 'USB_CDC_SUBCLASS_EEM' undeclared here (not in a function)
../drivers/net/usb/cdc_eem.c:358:4: error: 'USB_CDC_PROTO_EEM' undeclared here (not in a function)
../drivers/net/usb/rndis_host.c:106:30: error: storage size of 'notification' isn't known
../drivers/net/usb/rndis_host.c:130:3: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/net/usb/rndis_host.c:157:4: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/net/usb/zaurus.c:163:8: error: 'USB_CDC_MDLM_TYPE' undeclared (first use in this function)
../drivers/net/usb/zaurus.c:169:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_desc'
../drivers/net/usb/zaurus.c:182:8: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared (first use in this function)
../drivers/net/usb/zaurus.c:188:18: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_detail_desc'
../drivers/net/usb/zaurus.c:268:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/zaurus.c:269:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/zaurus.c:319:4: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
../drivers/net/usb/cdc-phonet.c:355:9: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc-phonet.c:373:50: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
../drivers/net/usb/sierra_net.c:340:33: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/net/usb/sierra_net.c:504:5: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/net/usb/sierra_net.c:611:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/sierra_net.c:617:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/net/usb/sierra_net.c:618:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/net/usb/sierra_net.c:621:7: error: 'USB_CDC_NOTIFY_RESPONSE_AVAILABLE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:88:36: error: field 'ncm_parm' has incomplete type
../drivers/net/usb/cdc_ncm.c:153:8: error: 'USB_CDC_NCM_NTB_MIN_IN_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:176:60: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:346:29: error: 'USB_CDC_SET_NTB_INPUT_SIZE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:408:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_desc'
../drivers/net/usb/cdc_ncm.c:410:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_ncm_desc'
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:435:37: error: dereferencing pointer to incomplete type 'const struct usb_cdc_ether_desc'
../drivers/net/usb/cdc_ncm.c:448:29: error: 'USB_CDC_GET_NTB_PARAMETERS' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:459:27: error: 'USB_CDC_NCM_NCAP_CRC_MODE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:461:31: error: 'USB_CDC_SET_CRC_MODE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:464:12: error: 'USB_CDC_NCM_CRC_NOT_APPENDED' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:476:7: error: 'USB_CDC_NCM_NTB32_SUPPORTED' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:478:31: error: 'USB_CDC_SET_NTB_FORMAT' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:481:12: error: 'USB_CDC_NCM_NTB16_FORMAT' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:507:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:507:94: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:530:29: error: 'USB_CDC_NCM_NCAP_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:534:29: error: 'USB_CDC_GET_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:546:30: error: 'USB_CDC_SET_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:558:49: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_extended_desc'
../drivers/net/usb/cdc_ncm.c:577:13: error: 'USB_CDC_NCM_NDP_ALIGN_MIN_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:757:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:758:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
../drivers/net/usb/cdc_ncm.c:772:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:780:8: error: 'USB_CDC_NCM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:787:8: error: 'USB_CDC_MBIM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:794:8: error: 'USB_CDC_MBIM_EXTENDED_TYPE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1029:38: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1034:13: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:38: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:73: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1055:38: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:73: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1055:38: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:73: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1055:38: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:73: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1091:70: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1091:108: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1092:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1092:36: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1093:45: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1093:45: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1093:45: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1093:45: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1145:28: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1145:64: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1150:48: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1150:48: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1150:48: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1150:48: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1296:56: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1319:28: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1320:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1327:11: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1327:40: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1364:26: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1378:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1379:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1382:14: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1383:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1418:40: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1426:37: error: increment of pointer to an incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1427:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1480:38: error: dereferencing pointer to incomplete type 'struct usb_cdc_speed_change'
../drivers/net/usb/cdc_ncm.c:1507:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ncm.c:1520:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1532:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1534:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_speed_change'
../drivers/net/usb/cdc_ncm.c:1538:19: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ncm.c:1592:26: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
../drivers/net/usb/cdc_ncm.c:1593:26: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../include/linux/usb/cdc_ncm.h:88:36: error: field 'ncm_parm' has incomplete type
../drivers/net/usb/lg-vl600.c:332:5: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/lg-vl600.c:332:32: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/qmi_wwan.c:255:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/net/usb/qmi_wwan.c:260:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/net/usb/qmi_wwan.c:266:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/qmi_wwan.c:271:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/net/usb/qmi_wwan.c:278:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
../drivers/net/usb/qmi_wwan.c:283:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
../drivers/net/usb/qmi_wwan.c:307:20: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/net/usb/qmi_wwan.c:319:28: error: dereferencing pointer to incomplete type 'struct usb_cdc_ether_desc'
../drivers/net/usb/qmi_wwan.c:500:33: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/qmi_wwan.c:501:33: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../include/linux/usb/cdc_ncm.h:88:36: error: field 'ncm_parm' has incomplete type
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:171:34: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_desc'
../drivers/net/usb/cdc_mbim.c:225:28: error: 'USB_CDC_MBIM_NDP16_IPS_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:281:23: error: 'USB_CDC_MBIM_NDP16_DSS_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:438:15: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_mbim.c:439:19: error: 'USB_CDC_MBIM_NDP16_IPS_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:446:19: error: 'USB_CDC_MBIM_NDP16_DSS_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:459:37: error: increment of pointer to an incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_mbim.c:460:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_mbim.c:593:39: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
../drivers/net/usb/cdc_mbim.c:593:61: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/cdc_mbim.c:597:58: error: 'USB_CDC_SUBCLASS_MBIM' undeclared here (not in a function)
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/macvtap.c:52:61: error: unknown type name '__virtio16'
../drivers/net/macvtap.c:57:15: error: unknown type name '__virtio16'
../drivers/net/macvtap.c:493:26: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../drivers/net/macvtap.c:579:14: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../drivers/net/macvtap.c:579:28: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/macvtap.c:580:33: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/macvtap.c:581:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/macvtap.c:584:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/macvtap.c:587:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/macvtap.c:601:24: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/macvtap.c:602:34: error: implicit declaration of function 'macvtap16_to_cpu' [-Werror=implicit-function-declaration]
../drivers/net/macvtap.c:622:29: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../drivers/net/macvtap.c:631:25: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/macvtap.c:633:25: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/macvtap.c:635:25: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/macvtap.c:639:26: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/macvtap.c:641:24: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/macvtap.c:644:21: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/macvtap.c:653:21: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/macvtap.c:670:9: error: variable 'vnet_hdr' has initializer but incomplete type
../drivers/net/macvtap.c:670:24: error: storage size of 'vnet_hdr' isn't known
../drivers/net/macvtap.c:690:25: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/macvtap.c:811:25: error: storage size of 'vnet_hdr' isn't known
../drivers/net/macvtap.c:1077:23: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../drivers/staging/gdm724x/gdm_usb.c:39:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/staging/gdm724x/gdm_mux.c:41:24: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/tun.c:209:56: error: unknown type name '__virtio16'
../drivers/net/tun.c:214:15: error: unknown type name '__virtio16'
../drivers/net/tun.c:1041:9: error: variable 'gso' has initializer but incomplete type
../drivers/net/tun.c:1041:24: error: storage size of 'gso' isn't known
../drivers/net/tun.c:1068:20: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/tun.c:1069:7: error: implicit declaration of function 'tun16_to_cpu' [-Werror=implicit-function-declaration]
../drivers/net/tun.c:1170:22: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/tun.c:1172:27: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/tun.c:1173:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/tun.c:1176:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/tun.c:1179:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/tun.c:1274:10: error: variable 'gso' has initializer but incomplete type
../drivers/net/tun.c:1274:25: error: storage size of 'gso' isn't known
../drivers/net/tun.c:1285:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/tun.c:1287:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/tun.c:1289:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/tun.c:1303:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/tun.c:1305:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/tun.c:1308:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/tun.c:1313:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/tun.c:1653:29: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../drivers/net/tun.c:2043:33: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/virtio_net.c:154:34: error: field 'hdr' has incomplete type
../drivers/net/virtio_net.c:269:27: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
../drivers/net/virtio_net.c:360:16: error: implicit declaration of function 'virtio16_to_cpu' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:480:23: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/virtio_net.c:486:30: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/virtio_net.c:494:27: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/virtio_net.c:496:32: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/virtio_net.c:497:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/virtio_net.c:500:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/virtio_net.c:503:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/virtio_net.c:613:32: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
../drivers/net/virtio_net.c:787:21: error: 'VIRTIO_NET_S_LINK_UP' undeclared (first use in this function)
../drivers/net/virtio_net.c:872:20: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/virtio_net.c:873:25: error: implicit declaration of function 'cpu_to_virtio16' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:887:24: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/virtio_net.c:889:24: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/virtio_net.c:891:24: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/virtio_net.c:895:25: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/virtio_net.c:897:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/virtio_net.c:987:29: error: storage size of 'ctrl' isn't known
../drivers/net/virtio_net.c:988:2: error: unknown type name 'virtio_net_ctrl_ack'
../drivers/net/virtio_net.c:992:10: error: implicit declaration of function 'virtio_has_feature' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:992:39: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1011:20: error: 'VIRTIO_NET_OK' undeclared (first use in this function)
../drivers/net/virtio_net.c:1035:31: error: 'VIRTIO_NET_F_CTRL_MAC_ADDR' undeclared (first use in this function)
../drivers/net/virtio_net.c:1037:33: error: 'VIRTIO_NET_CTRL_MAC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1038:8: error: 'VIRTIO_NET_CTRL_MAC_ADDR_SET' undeclared (first use in this function)
../drivers/net/virtio_net.c:1043:38: error: 'VIRTIO_NET_F_MAC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1044:32: error: 'VIRTIO_F_VERSION_1' undeclared (first use in this function)
../drivers/net/virtio_net.c:1049:4: error: implicit declaration of function 'virtio_cwrite8' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1050:28: error: invalid use of undefined type 'struct virtio_net_config'
../drivers/net/virtio_net.c:1111:32: error: 'VIRTIO_NET_CTRL_ANNOUNCE' undeclared (first use in this function)
../drivers/net/virtio_net.c:1112:7: error: 'VIRTIO_NET_CTRL_ANNOUNCE_ACK' undeclared (first use in this function)
../drivers/net/virtio_net.c:1120:28: error: storage size of 's' isn't known
../drivers/net/virtio_net.c:1123:52: error: 'VIRTIO_NET_F_MQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1129:32: error: 'VIRTIO_NET_CTRL_MQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1130:7: error: 'VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET' undeclared (first use in this function)
../drivers/net/virtio_net.c:1171:36: error: 'VIRTIO_NET_F_CTRL_RX' undeclared (first use in this function)
../drivers/net/virtio_net.c:1179:32: error: 'VIRTIO_NET_CTRL_RX' undeclared (first use in this function)
../drivers/net/virtio_net.c:1180:7: error: 'VIRTIO_NET_CTRL_RX_PROMISC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1187:7: error: 'VIRTIO_NET_CTRL_RX_ALLMULTI' undeclared (first use in this function)
../drivers/net/virtio_net.c:1195:29: error: dereferencing pointer to incomplete type 'struct virtio_net_ctrl_mac'
../drivers/net/virtio_net.c:1203:22: error: implicit declaration of function 'cpu_to_virtio32' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1222:32: error: 'VIRTIO_NET_CTRL_MAC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1223:7: error: 'VIRTIO_NET_CTRL_MAC_TABLE_SET' undeclared (first use in this function)
../drivers/net/virtio_net.c:1237:32: error: 'VIRTIO_NET_CTRL_VLAN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1238:7: error: 'VIRTIO_NET_CTRL_VLAN_ADD' undeclared (first use in this function)
../drivers/net/virtio_net.c:1251:32: error: 'VIRTIO_NET_CTRL_VLAN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1252:7: error: 'VIRTIO_NET_CTRL_VLAN_DEL' undeclared (first use in this function)
../drivers/net/virtio_net.c:1263:4: error: implicit declaration of function 'virtqueue_set_affinity' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1338:26: error: implicit declaration of function 'virtio_bus_name' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1431:6: error: implicit declaration of function 'virtio_cread_feature' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1431:37: error: 'VIRTIO_NET_F_STATUS' undeclared (first use in this function)
../drivers/net/virtio_net.c:1432:6: error: expected expression before 'struct'
../drivers/net/virtio_net.c:1435:10: error: 'VIRTIO_NET_S_ANNOUNCE' undeclared (first use in this function)
../drivers/net/virtio_net.c:1441:7: error: 'VIRTIO_NET_S_LINK_UP' undeclared (first use in this function)
../drivers/net/virtio_net.c:1529:14: error: dereferencing pointer to incomplete type 'const struct virtio_config_ops'
../drivers/net/virtio_net.c:1536:2: error: unknown type name 'vq_callback_t'
../drivers/net/virtio_net.c:1547:36: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1583:36: error: 'VIRTIO_NET_F_CTRL_VLAN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1709:32: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1710:29: error: 'VIRTIO_NET_F_CTRL_RX' undeclared (first use in this function)
../drivers/net/virtio_net.c:1712:29: error: 'VIRTIO_NET_F_CTRL_VLAN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1714:29: error: 'VIRTIO_NET_F_GUEST_ANNOUNCE' undeclared (first use in this function)
../drivers/net/virtio_net.c:1716:29: error: 'VIRTIO_NET_F_MQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1717:29: error: 'VIRTIO_NET_F_CTRL_MAC_ADDR' undeclared (first use in this function)
../drivers/net/virtio_net.c:1742:35: error: 'VIRTIO_NET_F_MQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1743:8: error: expected expression before 'struct'
../drivers/net/virtio_net.c:1747:31: error: 'VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MIN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1748:24: error: 'VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MAX' undeclared (first use in this function)
../drivers/net/virtio_net.c:1749:32: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1766:31: error: 'VIRTIO_NET_F_CSUM' undeclared (first use in this function)
../drivers/net/virtio_net.c:1772:32: error: 'VIRTIO_NET_F_GSO' undeclared (first use in this function)
../drivers/net/virtio_net.c:1777:32: error: 'VIRTIO_NET_F_HOST_TSO4' undeclared (first use in this function)
../drivers/net/virtio_net.c:1779:32: error: 'VIRTIO_NET_F_HOST_TSO6' undeclared (first use in this function)
../drivers/net/virtio_net.c:1781:32: error: 'VIRTIO_NET_F_HOST_ECN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1783:32: error: 'VIRTIO_NET_F_HOST_UFO' undeclared (first use in this function)
../drivers/net/virtio_net.c:1792:31: error: 'VIRTIO_NET_F_GUEST_CSUM' undeclared (first use in this function)
../drivers/net/virtio_net.c:1798:31: error: 'VIRTIO_NET_F_MAC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1799:3: error: implicit declaration of function 'virtio_cread_bytes' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1800:24: error: invalid use of undefined type 'struct virtio_net_config'
../drivers/net/virtio_net.c:1825:31: error: 'VIRTIO_NET_F_GUEST_TSO4' undeclared (first use in this function)
../drivers/net/virtio_net.c:1826:31: error: 'VIRTIO_NET_F_GUEST_TSO6' undeclared (first use in this function)
../drivers/net/virtio_net.c:1827:31: error: 'VIRTIO_NET_F_GUEST_ECN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1828:31: error: 'VIRTIO_NET_F_GUEST_UFO' undeclared (first use in this function)
../drivers/net/virtio_net.c:1831:31: error: 'VIRTIO_NET_F_MRG_RXBUF' undeclared (first use in this function)
../drivers/net/virtio_net.c:1835:31: error: 'VIRTIO_F_VERSION_1' undeclared (first use in this function)
../drivers/net/virtio_net.c:1836:24: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
../drivers/net/virtio_net.c:1838:24: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../drivers/net/virtio_net.c:1840:31: error: 'VIRTIO_F_ANY_LAYOUT' undeclared (first use in this function)
../drivers/net/virtio_net.c:1872:2: error: implicit declaration of function 'virtio_device_ready' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1896:35: error: 'VIRTIO_NET_F_STATUS' undeclared (first use in this function)
../drivers/net/virtio_net.c:1900:16: error: 'VIRTIO_NET_S_LINK_UP' undeclared (first use in this function)
../drivers/net/virtio_net.c:2015:4: error: 'VIRTIO_ID_NET' undeclared here (not in a function)
../drivers/net/virtio_net.c:2020:2: error: 'VIRTIO_NET_F_CSUM' undeclared here (not in a function)
../drivers/net/virtio_net.c:2020:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2020:21: error: 'VIRTIO_NET_F_GUEST_CSUM' undeclared here (not in a function)
../drivers/net/virtio_net.c:2020:21: error: initializer element is not constant
../drivers/net/virtio_net.c:2021:2: error: 'VIRTIO_NET_F_GSO' undeclared here (not in a function)
../drivers/net/virtio_net.c:2021:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2021:20: error: 'VIRTIO_NET_F_MAC' undeclared here (not in a function)
../drivers/net/virtio_net.c:2021:20: error: initializer element is not constant
../drivers/net/virtio_net.c:2022:2: error: 'VIRTIO_NET_F_HOST_TSO4' undeclared here (not in a function)
../drivers/net/virtio_net.c:2022:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2022:26: error: 'VIRTIO_NET_F_HOST_UFO' undeclared here (not in a function)
../drivers/net/virtio_net.c:2022:26: error: initializer element is not constant
../drivers/net/virtio_net.c:2022:49: error: 'VIRTIO_NET_F_HOST_TSO6' undeclared here (not in a function)
../drivers/net/virtio_net.c:2022:49: error: initializer element is not constant
../drivers/net/virtio_net.c:2023:2: error: 'VIRTIO_NET_F_HOST_ECN' undeclared here (not in a function)
../drivers/net/virtio_net.c:2023:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2023:25: error: 'VIRTIO_NET_F_GUEST_TSO4' undeclared here (not in a function)
../drivers/net/virtio_net.c:2023:25: error: initializer element is not constant
../drivers/net/virtio_net.c:2023:50: error: 'VIRTIO_NET_F_GUEST_TSO6' undeclared here (not in a function)
../drivers/net/virtio_net.c:2023:50: error: initializer element is not constant
../drivers/net/virtio_net.c:2024:2: error: 'VIRTIO_NET_F_GUEST_ECN' undeclared here (not in a function)
../drivers/net/virtio_net.c:2024:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2024:26: error: 'VIRTIO_NET_F_GUEST_UFO' undeclared here (not in a function)
../drivers/net/virtio_net.c:2024:26: error: initializer element is not constant
../drivers/net/virtio_net.c:2025:2: error: 'VIRTIO_NET_F_MRG_RXBUF' undeclared here (not in a function)
../drivers/net/virtio_net.c:2025:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2025:26: error: 'VIRTIO_NET_F_STATUS' undeclared here (not in a function)
../drivers/net/virtio_net.c:2025:26: error: initializer element is not constant
../drivers/net/virtio_net.c:2025:47: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared here (not in a function)
../drivers/net/virtio_net.c:2025:47: error: initializer element is not constant
../drivers/net/virtio_net.c:2026:2: error: 'VIRTIO_NET_F_CTRL_RX' undeclared here (not in a function)
../drivers/net/virtio_net.c:2026:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2026:24: error: 'VIRTIO_NET_F_CTRL_VLAN' undeclared here (not in a function)
../drivers/net/virtio_net.c:2026:24: error: initializer element is not constant
../drivers/net/virtio_net.c:2027:2: error: 'VIRTIO_NET_F_GUEST_ANNOUNCE' undeclared here (not in a function)
../drivers/net/virtio_net.c:2027:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2027:31: error: 'VIRTIO_NET_F_MQ' undeclared here (not in a function)
../drivers/net/virtio_net.c:2027:31: error: initializer element is not constant
../drivers/net/virtio_net.c:2028:2: error: 'VIRTIO_NET_F_CTRL_MAC_ADDR' undeclared here (not in a function)
../drivers/net/virtio_net.c:2028:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2029:2: error: 'VIRTIO_F_ANY_LAYOUT' undeclared here (not in a function)
../drivers/net/virtio_net.c:2029:2: error: initializer element is not constant
../drivers/usb/class/cdc-acm.h:104:29: error: field 'line' has incomplete type
../drivers/usb/class/cdc-acm.c:156:27: error: 'USB_CDC_REQ_SET_CONTROL_LINE_STATE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:310:2: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/usb/class/cdc-acm.c:311:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/class/cdc-acm.c:312:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:317:7: error: 'USB_CDC_NOTIFY_SERIAL_STATE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:547:31: error: 'USB_CDC_CAP_LINE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:163:20: error: 'USB_CDC_REQ_SEND_BREAK' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:984:29: error: storage size of 'newline' isn't known
../drivers/usb/class/cdc-acm.c:161:20: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1166:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1167:25: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/class/cdc-acm.c:1176:8: error: 'USB_CDC_COUNTRY_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1177:25: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_country_functional_desc'
../drivers/usb/class/cdc-acm.c:1181:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1183:8: error: 'USB_CDC_ACM_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1188:8: error: 'USB_CDC_CALL_MANAGEMENT_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1230:60: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/class/cdc-acm.c:1345:22: error: 'USB_CDC_CAP_LINE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1437:35: error: dereferencing pointer to incomplete type 'struct usb_cdc_country_functional_desc'
../drivers/usb/class/cdc-acm.c:161:20: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1668:19: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1669:3: error: 'USB_CDC_ACM_PROTO_VENDOR' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1883:3: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1887:3: error: 'USB_CDC_ACM_PROTO_AT_V25TER' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1889:3: error: 'USB_CDC_ACM_PROTO_AT_PCCA101' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1891:3: error: 'USB_CDC_ACM_PROTO_AT_PCCA101_WAKE' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1893:3: error: 'USB_CDC_ACM_PROTO_AT_GSM' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1895:3: error: 'USB_CDC_ACM_PROTO_AT_3G' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1897:3: error: 'USB_CDC_ACM_PROTO_AT_CDMA' undeclared here (not in a function)
../drivers/usb/class/cdc-wdm.c:41:25: error: 'USB_CDC_SUBCLASS_DMM' undeclared here (not in a function)
../drivers/usb/class/cdc-wdm.c:238:34: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
../drivers/usb/class/cdc-wdm.c:244:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/class/cdc-wdm.c:244:12: error: request for member 'bNotificationType' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:244:10: error: switch quantity not an integer
../drivers/usb/class/cdc-wdm.c:245:7: error: 'USB_CDC_NOTIFY_RESPONSE_AVAILABLE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:248:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:248:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:248:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:248:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:248:43: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:248:43: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:248:43: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:248:43: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:251:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:255:6: error: request for member 'wValue' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:257:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:265:6: error: request for member 'bNotificationType' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:266:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:266:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:266:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:266:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:267:18: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:267:18: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:267:18: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:267:18: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:405:18: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:824:24: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:892:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:894:8: error: 'USB_CDC_DMM_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:896:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_dmm_desc'
../drivers/usb/class/cdc-wdm.c:896:29: error: request for member 'wMaxCommand' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:896:29: error: request for member 'wMaxCommand' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:896:29: error: request for member 'wMaxCommand' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:896:29: error: request for member 'wMaxCommand' in something not a structure or union
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/f_acm.c:60:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/f_acm.c:105:23: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:106:23: error: 'USB_CDC_ACM_PROTO_AT_V25TER' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:133:15: error: variable 'acm_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_acm.c:134:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_acm.c:134:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_acm.c:135:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:136:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:136:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:137:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_acm.c:141:1: error: variable 'acm_call_mgmt_descriptor' has initializer but incomplete type
../drivers/usb/gadget/function/f_acm.c:142:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_acm.c:142:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_call_mgmt_descriptor'
../drivers/usb/gadget/function/f_acm.c:143:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:144:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:144:24: error: 'USB_CDC_CALL_MANAGEMENT_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:145:2: error: unknown field 'bmCapabilities' specified in initializer
../drivers/usb/gadget/function/f_acm.c:149:15: error: variable 'acm_descriptor' has initializer but incomplete type
../drivers/usb/gadget/function/f_acm.c:150:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_acm.c:150:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_acm_descriptor'
../drivers/usb/gadget/function/f_acm.c:151:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:152:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:152:24: error: 'USB_CDC_ACM_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:153:2: error: unknown field 'bmCapabilities' specified in initializer
../drivers/usb/gadget/function/f_acm.c:153:20: error: 'USB_CDC_CAP_LINE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:156:15: error: variable 'acm_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_acm.c:157:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_acm.c:157:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_acm.c:158:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:159:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:159:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:336:27: error: dereferencing pointer to incomplete type 'struct usb_cdc_line_coding'
../drivers/usb/gadget/function/f_acm.c:362:6: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
../drivers/usb/gadget/function/f_acm.c:363:26: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_line_coding'
../drivers/usb/gadget/function/f_acm.c:374:6: error: 'USB_CDC_REQ_GET_LINE_CODING' undeclared (first use in this function)
../drivers/usb/gadget/function/f_acm.c:379:12: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_line_coding'
../drivers/usb/gadget/function/f_acm.c:385:6: error: 'USB_CDC_REQ_SET_CONTROL_LINE_STATE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_acm.c:504:32: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_acm.c:514:2: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_acm.c:550:32: error: 'USB_CDC_NOTIFY_SERIAL_STATE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_acm.c:643:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_acm.c:651:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_acm.c:652:2: error: invalid use of undefined type 'struct usb_cdc_call_mgmt_descriptor'
../drivers/usb/gadget/function/f_acm.c:677:11: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.c:119:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.c:1055:27: error: dereferencing pointer to incomplete type 'struct usb_cdc_line_coding'
../drivers/usb/gadget/function/u_serial.c:1103:29: error: storage size of 'coding' isn't known
../drivers/usb/gadget/function/u_serial.c:1110:23: error: 'USB_CDC_NO_PARITY' undeclared (first use in this function)
../drivers/usb/gadget/function/u_serial.c:1111:21: error: 'USB_CDC_1_STOP_BITS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/f_obex.c:84:24: error: 'USB_CDC_SUBCLASS_OBEX' undeclared here (not in a function)
../drivers/usb/gadget/function/f_obex.c:107:15: error: variable 'obex_cdc_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_obex.c:108:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_obex.c:108:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_obex.c:109:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:110:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:110:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_obex.c:111:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_obex.c:114:15: error: variable 'obex_cdc_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_obex.c:115:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_obex.c:115:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_obex.c:116:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:117:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:117:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_obex.c:118:2: error: unknown field 'bMasterInterface0' specified in initializer
../drivers/usb/gadget/function/f_obex.c:119:2: error: unknown field 'bSlaveInterface0' specified in initializer
../drivers/usb/gadget/function/f_obex.c:122:15: error: variable 'obex_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_obex.c:123:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_obex.c:123:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_obex_desc'
../drivers/usb/gadget/function/f_obex.c:124:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:125:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:125:24: error: 'USB_CDC_OBEX_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_obex.c:126:2: error: unknown field 'bcdVersion' specified in initializer
../drivers/usb/gadget/function/f_obex.c:341:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_obex.c:350:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/u_ether.c:479:22: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.c:519:12: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.c:521:12: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:125:15: error: variable 'ntb_parameters' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:126:2: error: unknown field 'wLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:126:31: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:126:31: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:126:31: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:126:31: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:127:2: error: unknown field 'bmNtbFormatsSupported' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:122:28: error: 'USB_CDC_NCM_NTB16_SUPPORTED' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:123:6: error: 'USB_CDC_NCM_NTB32_SUPPORTED' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:128:2: error: unknown field 'dwNtbInMaxSize' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:129:2: error: unknown field 'wNdpInDivisor' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:130:2: error: unknown field 'wNdpInPayloadRemainder' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:131:2: error: unknown field 'wNdpInAlignment' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:133:2: error: unknown field 'dwNtbOutMaxSize' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:134:2: error: unknown field 'wNdpOutDivisor' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:135:2: error: unknown field 'wNdpOutPayloadRemainder' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:136:2: error: unknown field 'wNdpOutAlignment' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:155:23: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:156:23: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:174:15: error: variable 'ncm_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:175:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:175:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_ncm.c:176:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:177:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:177:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:179:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:182:15: error: variable 'ncm_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:183:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:183:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ncm.c:184:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:185:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:185:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:190:15: error: variable 'ecm_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:191:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:191:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_ncm.c:192:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:193:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:193:24: error: 'USB_CDC_ETHERNET_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:197:2: error: unknown field 'bmEthernetStatistics' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:198:2: error: unknown field 'wMaxSegmentSize' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:199:2: error: unknown field 'wNumberMCFilters' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:200:2: error: unknown field 'bNumberPowerFilters' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:205:15: error: variable 'ncm_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:206:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:206:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_desc'
../drivers/usb/gadget/function/f_ncm.c:207:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:208:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:208:24: error: 'USB_CDC_NCM_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:210:2: error: unknown field 'bcdNcmVersion' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:212:2: error: unknown field 'bmNetworkCapabilities' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:203:16: error: 'USB_CDC_NCM_NCAP_ETH_FILTER' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:203:46: error: 'USB_CDC_NCM_NCAP_CRC_MODE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:226:24: error: 'USB_CDC_NCM_PROTO_NTB' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:387:15: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:388:15: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:389:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/usb/gadget/function/f_ncm.c:390:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/usb/gadget/function/f_ncm.c:391:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/usb/gadget/function/f_ncm.c:403:15: error: 'USB_CDC_NCM_NTH32_SIGN' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:404:15: error: 'USB_CDC_NCM_NDP32_NOCRC_SIGN' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:405:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth32'
../drivers/usb/gadget/function/f_ncm.c:406:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp32'
../drivers/usb/gadget/function/f_ncm.c:407:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe32'
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:467:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:467:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:467:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:467:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:467:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:467:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:492:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_ncm.c:492:30: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:506:30: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:567:13: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_ncm.c:598:16: error: 'USB_CDC_NCM_NTB_MIN_IN_SIZE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:599:6: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:599:6: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:599:6: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:599:6: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:599:6: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:599:6: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:629:6: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:656:5: error: 'USB_CDC_GET_NTB_PARAMETERS' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:660:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:661:11: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:667:5: error: 'USB_CDC_GET_NTB_INPUT_SIZE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:678:5: error: 'USB_CDC_SET_NTB_INPUT_SIZE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:691:5: error: 'USB_CDC_GET_NTB_FORMAT' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:705:5: error: 'USB_CDC_SET_NTB_FORMAT' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:725:5: error: 'USB_CDC_GET_CRC_MODE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:739:5: error: 'USB_CDC_SET_CRC_MODE' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:901:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:901:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:901:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:901:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:964:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:964:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:964:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:964:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:965:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:965:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:965:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:965:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:966:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:966:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:966:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:966:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1140:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1140:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1140:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1140:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1140:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1140:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1377:2: error: invalid use of undefined type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_ncm.c:1388:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ncm.c:1397:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ecm.c:111:23: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:112:23: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:130:15: error: variable 'ecm_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ecm.c:131:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:131:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_ecm.c:132:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:133:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:133:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:135:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:138:15: error: variable 'ecm_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ecm.c:139:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:139:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ecm.c:140:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:141:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:141:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:146:15: error: variable 'ecm_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ecm.c:147:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:147:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_ecm.c:148:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:149:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:149:24: error: 'USB_CDC_ETHERNET_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:153:2: error: unknown field 'bmEthernetStatistics' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:154:2: error: unknown field 'wMaxSegmentSize' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:155:2: error: unknown field 'wNumberMCFilters' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:156:2: error: unknown field 'bNumberPowerFilters' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:396:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_ecm.c:396:30: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ecm.c:410:30: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ecm.c:462:9: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_ecm.c:484:6: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ecm.c:724:2: error: invalid use of undefined type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_ecm.c:735:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ecm.c:744:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_phonet.c:80:1: error: variable 'pn_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_phonet.c:81:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:81:21: error: invalid application of 'sizeof' to incomplete type 'const struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_phonet.c:82:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:83:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:83:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_phonet.c:84:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:88:1: error: variable 'pn_phonet_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_phonet.c:89:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:89:21: error: invalid application of 'sizeof' to incomplete type 'const struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_phonet.c:90:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:91:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:92:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:96:1: error: variable 'pn_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_phonet.c:97:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:97:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_phonet.c:98:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:99:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:99:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_phonet.c:518:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_phonet.c:525:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_eem.c:53:24: error: 'USB_CDC_SUBCLASS_EEM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_eem.c:54:24: error: 'USB_CDC_PROTO_EEM' undeclared here (not in a function)
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_subset.c:87:24: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:92:15: error: variable 'mdlm_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_subset.c:93:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_subset.c:93:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_subset.c:94:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:95:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:95:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:97:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_subset.c:100:15: error: variable 'mdlm_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_subset.c:101:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_subset.c:101:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_mdlm_desc'
../drivers/usb/gadget/function/f_subset.c:102:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:103:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:103:24: error: 'USB_CDC_MDLM_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:105:2: error: unknown field 'bcdVersion' specified in initializer
../drivers/usb/gadget/function/f_subset.c:106:2: error: unknown field 'bGUID' specified in initializer
../drivers/usb/gadget/function/f_subset.c:106:11: error: extra brace group at end of initializer
../drivers/usb/gadget/function/f_subset.c:119:2: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:126:15: error: variable 'ether_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_subset.c:127:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_subset.c:127:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_subset.c:128:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:129:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:129:24: error: 'USB_CDC_ETHERNET_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:133:2: error: unknown field 'bmEthernetStatistics' specified in initializer
../drivers/usb/gadget/function/f_subset.c:134:2: error: unknown field 'wMaxSegmentSize' specified in initializer
../drivers/usb/gadget/function/f_subset.c:135:2: error: unknown field 'wNumberMCFilters' specified in initializer
../drivers/usb/gadget/function/f_subset.c:136:2: error: unknown field 'bNumberPowerFilters' specified in initializer
../drivers/usb/gadget/function/f_subset.c:331:2: error: invalid use of undefined type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:4: error: invalid operands to binary | (have 'u8 * {aka unsigned char *}' and 'u8 * {aka unsigned char *}')
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:4: error: invalid operands to binary | (have 'u8 * {aka unsigned char *}' and 'u8 * {aka unsigned char *}')
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:4: error: invalid operands to binary | (have 'u8 * {aka unsigned char *}' and 'u8 * {aka unsigned char *}')
../drivers/usb/gadget/function/f_rndis.c:121:26: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:122:26: error: 'USB_CDC_ACM_PROTO_VENDOR' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:126:15: error: variable 'header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_rndis.c:127:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:127:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_rndis.c:128:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:129:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:129:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:131:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:134:15: error: variable 'call_mgmt_descriptor' has initializer but incomplete type
../drivers/usb/gadget/function/f_rndis.c:135:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:135:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_call_mgmt_descriptor'
../drivers/usb/gadget/function/f_rndis.c:136:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:137:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:137:24: error: 'USB_CDC_CALL_MANAGEMENT_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:139:2: error: unknown field 'bmCapabilities' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:140:2: error: unknown field 'bDataInterface' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:143:15: error: variable 'rndis_acm_descriptor' has initializer but incomplete type
../drivers/usb/gadget/function/f_rndis.c:144:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:144:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_acm_descriptor'
../drivers/usb/gadget/function/f_rndis.c:145:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:146:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:146:24: error: 'USB_CDC_ACM_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:148:2: error: unknown field 'bmCapabilities' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:151:15: error: variable 'rndis_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_rndis.c:152:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:152:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_rndis.c:153:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:154:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:154:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:182:23: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:183:23: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:483:6: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/usb/gadget/function/f_rndis.c:494:6: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_rndis.c:727:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_rndis.c:739:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/serial/visor.c:452:4: error: 'USB_CDC_SUBCLASS_ACM' undeclared (first use in this function)
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/vhost/net.c:64:14: error: 'VIRTIO_NET_F_MRG_RXBUF' undeclared here (not in a function)
../drivers/vhost/net.c:531:9: error: variable 'hdr' has initializer but incomplete type
../drivers/vhost/net.c:532:3: error: unknown field 'flags' specified in initializer
../drivers/vhost/net.c:533:3: error: unknown field 'gso_type' specified in initializer
../drivers/vhost/net.c:533:15: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/vhost/net.c:531:24: error: storage size of 'hdr' isn't known
../drivers/vhost/net.c:1004:11: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
../drivers/vhost/net.c:1005:11: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
Warnings:
../arch/arm/mach-cns3xxx/pcie.c:266:1: warning: the frame size of 1080 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../mm/util.c:24:1: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/ata/pata_hpt366.c:376:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
../drivers/ata/pata_hpt366.c:379:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
../drivers/ata/pata_hpt366.c:382:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
../include/linux/kernel.h:723:17: warning: comparison of distinct pointer types lacks a cast
../arch/arm/include/asm/cmpxchg.h:205:3: warning: value computed is not used [-Wunused-value]
../include/linux/blkdev.h:624:26: warning: switch condition has boolean value [-Wswitch-bool]
../sound/pci/oxygen/oxygen_mixer.c:91:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
../net/netfilter/nf_conntrack_proto_sctp.c:180:22: warning: unused variable 'state' [-Wunused-variable]
../net/netfilter/nf_conntrack_proto_sctp.c:310:33: warning: unused variable 'old_state' [-Wunused-variable]
../net/netfilter/nf_conntrack_proto_sctp.c:310:22: warning: unused variable 'new_state' [-Wunused-variable]
../net/netfilter/nf_conntrack_proto_sctp.c:415:22: warning: unused variable 'new_state' [-Wunused-variable]
../net/netfilter/nf_conntrack_proto_sctp.c:52:21: warning: 'sctp_timeouts' defined but not used [-Wunused-variable]
../net/netfilter/nf_conntrack_proto_sctp.c:104:17: warning: 'sctp_conntracks' defined but not used [-Wunused-variable]
../include/linux/virtio_net.h:9:6: warning: 'struct virtio_net_hdr' declared inside parameter list
../include/linux/virtio_net.h:9:6: warning: its scope is only this definition or declaration, which is probably not what you want
../include/linux/virtio_net.h:59:8: warning: 'struct virtio_net_hdr' declared inside parameter list
../net/packet/af_packet.c:2420:37: warning: excess elements in struct initializer
../net/packet/af_packet.c:2420:24: warning: unused variable 'vnet_hdr' [-Wunused-variable]
../net/packet/af_packet.c:2959:38: warning: excess elements in struct initializer
../net/packet/af_packet.c:2959:25: warning: unused variable 'vnet_hdr' [-Wunused-variable]
../drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm204.c:975:1: warning: the frame size of 1192 bytes is larger than 1024 bytes [-Wframe-larger-than=]
../lib/vsprintf.c:1474:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
../drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/trace/ftrace.h:28:0: warning: "TRACE_SYSTEM_STRING" redefined
../drivers/media/platform/coda/./trace.h:12:0: warning: "TRACE_SYSTEM_STRING" redefined
../drivers/media/platform/s3c-camif/camif-capture.c:118:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
../drivers/media/platform/s3c-camif/camif-capture.c:134:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
../include/linux/blkdev.h:624:26: warning: switch condition has boolean value [-Wswitch-bool]
../drivers/rtc/rtc-armada38x.c:91:22: warning: unused variable 'flags' [-Wunused-variable]
../drivers/net/usb/hso.c:1857:1: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/hso.c:1926:1: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/rndis_host.c:106:30: warning: unused variable 'notification' [-Wunused-variable]
../drivers/net/usb/cdc_ncm.c:1478:15: warning: 'struct usb_cdc_speed_change' declared inside parameter list
../drivers/net/usb/cdc_ncm.c:1478:15: warning: its scope is only this definition or declaration, which is probably not what you want
../drivers/net/usb/cdc_ncm.c:1513:9: warning: passing argument 2 of 'cdc_ncm_speed_change' from incompatible pointer type [-Wincompatible-pointer-types]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../include/linux/virtio_net.h:9:6: warning: 'struct virtio_net_hdr' declared inside parameter list
../include/linux/virtio_net.h:9:6: warning: its scope is only this definition or declaration, which is probably not what you want
../include/linux/virtio_net.h:59:8: warning: 'struct virtio_net_hdr' declared inside parameter list
../drivers/net/macvtap.c:576:17: warning: 'struct virtio_net_hdr' declared inside parameter list
../drivers/net/macvtap.c:620:16: warning: 'struct virtio_net_hdr' declared inside parameter list
../drivers/net/macvtap.c:670:37: warning: excess elements in struct initializer
../drivers/net/macvtap.c:670:24: warning: unused variable 'vnet_hdr' [-Wunused-variable]
../drivers/net/macvtap.c:811:25: warning: unused variable 'vnet_hdr' [-Wunused-variable]
../drivers/scsi/be2iscsi/be_main.c:3168:18: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
../drivers/scsi/qla2xxx/qla_target.c:3086:6: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'uint32_t {aka unsigned int}' [-Wformat=]
../drivers/scsi/qla2xxx/qla_target.c:3083:17: warning: unused variable 'se_cmd' [-Wunused-variable]
../include/linux/virtio_net.h:9:6: warning: 'struct virtio_net_hdr' declared inside parameter list
../include/linux/virtio_net.h:9:6: warning: its scope is only this definition or declaration, which is probably not what you want
../include/linux/virtio_net.h:59:8: warning: 'struct virtio_net_hdr' declared inside parameter list
../drivers/net/tun.c:1041:32: warning: excess elements in struct initializer
../drivers/net/tun.c:1041:24: warning: unused variable 'gso' [-Wunused-variable]
../drivers/net/tun.c:1274:33: warning: excess elements in struct initializer
../drivers/net/tun.c:1274:25: warning: unused variable 'gso' [-Wunused-variable]
../include/linux/virtio_net.h:9:6: warning: 'struct virtio_net_hdr' declared inside parameter list
../include/linux/virtio_net.h:9:6: warning: its scope is only this definition or declaration, which is probably not what you want
../include/linux/virtio_net.h:59:8: warning: 'struct virtio_net_hdr' declared inside parameter list
../drivers/net/virtio_net.c:987:29: warning: unused variable 'ctrl' [-Wunused-variable]
../drivers/net/virtio_net.c:1120:28: warning: unused variable 's' [-Wunused-variable]
../drivers/net/virtio_net.c:1338:26: warning: passing argument 2 of 'strlcpy' makes pointer from integer without a cast [-Wint-conversion]
../drivers/net/virtio_net.c:1568:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
../drivers/net/virtio_net.c:1569:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
../drivers/scsi/ips.c:210:2: warning: #warning "This driver has only been tested on the x86/ia64/x86_64 platforms" [-Wcpp]
../drivers/usb/class/cdc-acm.c:984:29: warning: unused variable 'newline' [-Wunused-variable]
../drivers/usb/class/cdc-acm.c:158:1: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/usb/class/cdc-wdm.c:238:25: warning: comparison between pointer and integer
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/usb/class/cdc-wdm.c:264:4: warning: format '%d' expects argument of type 'int', but argument 3 has type 'const struct usb_device_id *' [-Wformat=]
../drivers/usb/class/cdc-wdm.c:405:16: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
../drivers/usb/class/cdc-wdm.c:824:22: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/big_endian.h:35:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/usb/gadget/function/f_acm.c:134:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:136:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:142:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:144:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:145:20: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:150:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:152:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:153:20: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:157:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:159:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/u_serial.c:1103:29: warning: unused variable 'coding' [-Wunused-variable]
../drivers/usb/gadget/function/f_obex.c:108:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_obex.c:110:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_obex.c:115:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_obex.c:117:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_obex.c:118:23: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_obex.c:119:22: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_obex.c:123:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_obex.c:125:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/u_ether.c:480:1: warning: control reaches end of non-void function [-Wreturn-type]
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:32:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:32:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:175:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:177:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:183:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:185:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:191:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:193:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:32:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:200:25: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:206:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:208:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:203:15: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ecm.c:131:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ecm.c:133:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ecm.c:139:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ecm.c:141:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ecm.c:147:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ecm.c:149:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:32:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ecm.c:156:25: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_phonet.c:81:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_phonet.c:83:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_phonet.c:89:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_phonet.c:67:29: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_phonet.c:97:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_phonet.c:99:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:93:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:95:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:101:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:103:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:106:11: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:127:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:129:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:32:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:136:25: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:331:2: warning: statement with no effect [-Wunused-value]
../drivers/usb/gadget/function/f_subset.c:504:24: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
../drivers/usb/gadget/function/f_rndis.c:127:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:129:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/big_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:135:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:137:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:139:20: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:140:20: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:144:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:146:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:148:20: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:152:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:154:24: warning: excess elements in struct initializer
../include/linux/kernel.h:723:17: warning: comparison of distinct pointer types lacks a cast
../include/linux/kernel.h:723:17: warning: comparison of distinct pointer types lacks a cast
../include/linux/kernel.h:723:17: warning: comparison of distinct pointer types lacks a cast
../include/linux/kernel.h:723:17: warning: comparison of distinct pointer types lacks a cast
../include/linux/virtio_net.h:9:6: warning: 'struct virtio_net_hdr' declared inside parameter list
../include/linux/virtio_net.h:9:6: warning: its scope is only this definition or declaration, which is probably not what you want
../include/linux/virtio_net.h:59:8: warning: 'struct virtio_net_hdr' declared inside parameter list
../drivers/vhost/net.c:532:12: warning: excess elements in struct initializer
../drivers/vhost/net.c:533:15: warning: excess elements in struct initializer
../drivers/vhost/net.c:531:24: warning: unused variable 'hdr' [-Wunused-variable]
-------------------------------------------------------------------------------
arm-allnoconfig : FAIL, 42 errors, 2 warnings, 0 section mismatches
Errors:
../arch/arm/mm/init.c:235:24: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/init.c:235:33: error: '_end' undeclared (first use in this function)
../arch/arm/mm/init.c:536:16: error: '_text' undeclared (first use in this function)
../arch/arm/mm/init.c:536:23: error: '_etext' undeclared (first use in this function)
../arch/arm/mm/init.c:537:16: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:537:30: error: '__init_end' undeclared (first use in this function)
../arch/arm/mm/init.c:538:16: error: '_sdata' undeclared (first use in this function)
../arch/arm/mm/init.c:538:24: error: '_edata' undeclared (first use in this function)
../arch/arm/mm/init.c:539:16: error: '__bss_start' undeclared (first use in this function)
../arch/arm/mm/init.c:539:29: error: '__bss_stop' undeclared (first use in this function)
../arch/arm/mm/init.c:723:18: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:723:32: error: '__init_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:769:37: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:770:37: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:771:37: error: '_sdata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:772:37: error: '_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:928:39: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:929:39: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:930:39: error: '_edata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:931:35: error: '_end' undeclared (first use in this function)
../mm/page_alloc.c:5582:13: error: '_etext' undeclared (first use in this function)
../mm/page_alloc.c:5582:22: error: '_stext' undeclared (first use in this function)
../mm/page_alloc.c:5583:13: error: '_edata' undeclared (first use in this function)
../mm/page_alloc.c:5583:22: error: '_sdata' undeclared (first use in this function)
../mm/page_alloc.c:5584:11: error: '__end_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5584:26: error: '__start_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5585:13: error: '__bss_stop' undeclared (first use in this function)
../mm/page_alloc.c:5585:26: error: '__bss_start' undeclared (first use in this function)
../mm/page_alloc.c:5586:19: error: '__init_end' undeclared (first use in this function)
../mm/page_alloc.c:5586:32: error: '__init_begin' undeclared (first use in this function)
../mm/page_alloc.c:5587:19: error: '_einittext' undeclared (first use in this function)
../mm/page_alloc.c:5587:32: error: '_sinittext' undeclared (first use in this function)
../mm/util.c:22:32: error: '__start_rodata' undeclared (first use in this function)
../mm/util.c:23:25: error: '__end_rodata' undeclared (first use in this function)
../kernel/extable.c:64:29: error: '_sinittext' undeclared (first use in this function)
../kernel/extable.c:65:28: error: '_einittext' undeclared (first use in this function)
../kernel/extable.c:72:29: error: '_stext' undeclared (first use in this function)
../kernel/extable.c:73:28: error: '_etext' undeclared (first use in this function)
../kernel/extable.c:94:29: error: '_sdata' undeclared (first use in this function)
../kernel/extable.c:95:28: error: '_edata' undeclared (first use in this function)
../kernel/extable.c:140:25: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../lib/vsprintf.c:1474:9: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
Warnings:
../mm/util.c:24:1: warning: control reaches end of non-void function [-Wreturn-type]
../lib/vsprintf.c:1474:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
-------------------------------------------------------------------------------
x86_64-allnoconfig : FAIL, 14 errors, 1 warnings, 0 section mismatches
Errors:
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:25: error: 'RTIT_CTL_TSC_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:43: error: 'RTIT_CTL_DISRETC' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:196:18: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:8: error: 'RTIT_CTL_TOPA' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:24: error: 'RTIT_CTL_BRANCH_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:45: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:206:10: error: 'RTIT_CTL_OS' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:208:10: error: 'RTIT_CTL_USR' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:25: error: 'RTIT_CTL_TSC_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:43: error: 'RTIT_CTL_DISRETC' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:221:10: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:519:15: error: 'RTIT_STATUS_ERROR' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:525:15: error: 'RTIT_STATUS_STOPPED' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:1071:22: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
Warnings:
../arch/x86/kernel/cpu/perf_event_intel_pt.c:197:1: warning: control reaches end of non-void function [-Wreturn-type]
-------------------------------------------------------------------------------
arm-multi_v4t_defconfig : FAIL, 54 errors, 2 warnings, 0 section mismatches
Errors:
../arch/arm/mm/init.c:235:24: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/init.c:235:33: error: '_end' undeclared (first use in this function)
../arch/arm/mm/init.c:536:16: error: '_text' undeclared (first use in this function)
../arch/arm/mm/init.c:536:23: error: '_etext' undeclared (first use in this function)
../arch/arm/mm/init.c:537:16: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:537:30: error: '__init_end' undeclared (first use in this function)
../arch/arm/mm/init.c:538:16: error: '_sdata' undeclared (first use in this function)
../arch/arm/mm/init.c:538:24: error: '_edata' undeclared (first use in this function)
../arch/arm/mm/init.c:539:16: error: '__bss_start' undeclared (first use in this function)
../arch/arm/mm/init.c:539:29: error: '__bss_stop' undeclared (first use in this function)
../arch/arm/mm/init.c:723:18: error: '__init_begin' undeclared (first use in this function)
../arch/arm/mm/init.c:723:32: error: '__init_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:769:37: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:770:37: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:771:37: error: '_sdata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:772:37: error: '_end' undeclared (first use in this function)
../arch/arm/kernel/setup.c:928:39: error: '_text' undeclared (first use in this function)
../arch/arm/kernel/setup.c:929:39: error: '_etext' undeclared (first use in this function)
../arch/arm/kernel/setup.c:930:39: error: '_edata' undeclared (first use in this function)
../arch/arm/kernel/setup.c:931:35: error: '_end' undeclared (first use in this function)
../arch/arm/mm/mmu.c:1332:47: error: '_stext' undeclared (first use in this function)
../arch/arm/mm/mmu.c:1333:43: error: '__init_end' undeclared (first use in this function)
../mm/page_alloc.c:5582:13: error: '_etext' undeclared (first use in this function)
../mm/page_alloc.c:5582:22: error: '_stext' undeclared (first use in this function)
../mm/page_alloc.c:5583:13: error: '_edata' undeclared (first use in this function)
../mm/page_alloc.c:5583:22: error: '_sdata' undeclared (first use in this function)
../mm/page_alloc.c:5584:11: error: '__end_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5584:26: error: '__start_rodata' undeclared (first use in this function)
../mm/page_alloc.c:5585:13: error: '__bss_stop' undeclared (first use in this function)
../mm/page_alloc.c:5585:26: error: '__bss_start' undeclared (first use in this function)
../mm/page_alloc.c:5586:19: error: '__init_end' undeclared (first use in this function)
../mm/page_alloc.c:5586:32: error: '__init_begin' undeclared (first use in this function)
../mm/page_alloc.c:5587:19: error: '_einittext' undeclared (first use in this function)
../mm/page_alloc.c:5587:32: error: '_sinittext' undeclared (first use in this function)
../mm/util.c:22:32: error: '__start_rodata' undeclared (first use in this function)
../mm/util.c:23:25: error: '__end_rodata' undeclared (first use in this function)
../kernel/extable.c:64:29: error: '_sinittext' undeclared (first use in this function)
../kernel/extable.c:65:28: error: '_einittext' undeclared (first use in this function)
../kernel/extable.c:72:29: error: '_stext' undeclared (first use in this function)
../kernel/extable.c:73:28: error: '_etext' undeclared (first use in this function)
../kernel/extable.c:94:29: error: '_sdata' undeclared (first use in this function)
../kernel/extable.c:95:28: error: '_edata' undeclared (first use in this function)
../kernel/extable.c:140:25: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
../kernel/kallsyms.c:57:29: error: '_sinittext' undeclared (first use in this function)
../kernel/kallsyms.c:58:32: error: '_einittext' undeclared (first use in this function)
../kernel/kallsyms.c:65:30: error: '_stext' undeclared (first use in this function)
../kernel/kallsyms.c:65:63: error: '_etext' undeclared (first use in this function)
../kernel/kallsyms.c:66:6: error: implicit declaration of function 'arch_is_kernel_text' [-Werror=implicit-function-declaration]
../kernel/kallsyms.c:73:29: error: '_stext' undeclared (first use in this function)
../kernel/kallsyms.c:73:62: error: '_end' undeclared (first use in this function)
../kernel/kallsyms.c:257:32: error: '_einittext' undeclared (first use in this function)
../kernel/kallsyms.c:259:32: error: '_end' undeclared (first use in this function)
../kernel/kallsyms.c:261:32: error: '_etext' undeclared (first use in this function)
../lib/vsprintf.c:1474:9: error: implicit declaration of function 'dereference_function_descriptor' [-Werror=implicit-function-declaration]
Warnings:
../mm/util.c:24:1: warning: control reaches end of non-void function [-Wreturn-type]
../lib/vsprintf.c:1474:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
-------------------------------------------------------------------------------
x86_64-allmodconfig : FAIL, 1049 errors, 219 warnings, 0 section mismatches
Errors:
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:25: error: 'RTIT_CTL_TSC_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:43: error: 'RTIT_CTL_DISRETC' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:196:18: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:8: error: 'RTIT_CTL_TOPA' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:24: error: 'RTIT_CTL_BRANCH_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:203:45: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:206:10: error: 'RTIT_CTL_OS' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:208:10: error: 'RTIT_CTL_USR' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:25: error: 'RTIT_CTL_TSC_EN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:173:43: error: 'RTIT_CTL_DISRETC' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:221:10: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:519:15: error: 'RTIT_STATUS_ERROR' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:525:15: error: 'RTIT_STATUS_STOPPED' undeclared (first use in this function)
../arch/x86/kernel/cpu/perf_event_intel_pt.c:1071:22: error: 'RTIT_CTL_TRACEEN' undeclared (first use in this function)
../drivers/cpufreq/intel_pstate.c:594:9: error: 'MSR_NHM_TURBO_RATIO_LIMIT' undeclared (first use in this function)
../drivers/cpufreq/intel_pstate.c:623:9: error: 'MSR_NHM_TURBO_RATIO_LIMIT' undeclared (first use in this function)
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../drivers/input/misc/ims-pcu.c:1638:26: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/input/misc/ims-pcu.c:1647:41: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/input/misc/ims-pcu.c:1677:17: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
../drivers/input/misc/ims-pcu.c:1771:25: error: dereferencing pointer to incomplete type 'struct usb_cdc_line_coding'
../drivers/input/misc/ims-pcu.c:1776:5: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
../drivers/input/misc/ims-pcu.c:1779:18: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_line_coding'
../drivers/input/misc/ims-pcu.c:1788:5: error: 'USB_CDC_REQ_SET_CONTROL_LINE_STATE' undeclared (first use in this function)
../drivers/input/misc/ims-pcu.c:2134:6: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/input/misc/ims-pcu.c:2135:6: error: 'USB_CDC_ACM_PROTO_AT_V25TER' undeclared here (not in a function)
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../net/netfilter/nf_conntrack_proto_sctp.c:52:35: error: 'SCTP_CONNTRACK_MAX' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:53:3: error: 'SCTP_CONNTRACK_CLOSED' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:53:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:54:3: error: 'SCTP_CONNTRACK_COOKIE_WAIT' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:54:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:55:3: error: 'SCTP_CONNTRACK_COOKIE_ECHOED' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:55:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:56:3: error: 'SCTP_CONNTRACK_ESTABLISHED' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:56:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:57:3: error: 'SCTP_CONNTRACK_SHUTDOWN_SENT' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:57:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:58:3: error: 'SCTP_CONNTRACK_SHUTDOWN_RECD' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:58:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:59:3: error: 'SCTP_CONNTRACK_SHUTDOWN_ACK_SENT' undeclared here (not in a function)
../net/netfilter/nf_conntrack_proto_sctp.c:59:3: error: array index in initializer not of integer type
../net/netfilter/nf_conntrack_proto_sctp.c:180:22: error: storage size of 'state' isn't known
../net/netfilter/nf_conntrack_proto_sctp.c:237:26: error: parameter 2 ('cur_state') has incomplete type
../net/netfilter/nf_conntrack_proto_sctp.c:236:12: error: function declaration isn't a prototype [-Werror=strict-prototypes]
../net/netfilter/nf_conntrack_proto_sctp.c:310:22: error: storage size of 'new_state' isn't known
../net/netfilter/nf_conntrack_proto_sctp.c:310:33: error: storage size of 'old_state' isn't known
../net/netfilter/nf_conntrack_proto_sctp.c:337:26: error: 'SCTP_CONNTRACK_NONE' undeclared (first use in this function)
../net/netfilter/nf_conntrack_proto_sctp.c:415:22: error: storage size of 'new_state' isn't known
../net/netfilter/nf_conntrack_proto_sctp.c:441:9: error: 'SCTP_CONNTRACK_NONE' undeclared (first use in this function)
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../net/packet/af_packet.c:2420:9: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2420:24: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2471:25: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2483:28: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2484:33: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2485:9: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2488:9: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2491:9: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2959:10: error: variable 'vnet_hdr' has initializer but incomplete type
../net/packet/af_packet.c:2959:25: error: storage size of 'vnet_hdr' isn't known
../net/packet/af_packet.c:2977:25: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../net/packet/af_packet.c:2979:25: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../net/packet/af_packet.c:2981:25: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../net/packet/af_packet.c:2987:26: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../net/packet/af_packet.c:2989:24: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../net/packet/af_packet.c:2992:21: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../net/packet/af_packet.c:2998:21: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../include/linux/netfilter/nf_conntrack_sctp.h:8:22: error: field 'state' has incomplete type
../drivers/staging/gdm724x/gdm_usb.c:39:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/r8152.c:4091:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/r8152.c:4092:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/hso.c:1795:14: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/net/usb/hso.c:1807:24: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/net/usb/hso.c:1852:7: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/net/usb/hso.c:1921:7: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/staging/gdm724x/gdm_mux.c:41:24: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/net/usb/cdc_ether.c:76:19: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:77:6: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:84:17: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:86:17: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:90:4: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:170:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:176:20: error: dereferencing pointer to incomplete type 'struct usb_cdc_header_desc'
../drivers/net/usb/cdc_ether.c:182:8: error: 'USB_CDC_ACM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:190:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_acm_descriptor'
../drivers/net/usb/cdc_ether.c:199:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:205:15: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/net/usb/cdc_ether.c:257:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:263:19: error: dereferencing pointer to incomplete type 'struct usb_cdc_ether_desc'
../drivers/net/usb/cdc_ether.c:274:8: error: 'USB_CDC_MDLM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:282:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_desc'
../drivers/net/usb/cdc_ether.c:288:8: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:296:14: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_detail_desc'
../drivers/net/usb/cdc_ether.c:362:17: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:439:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:450:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:455:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/net/usb/cdc_ether.c:461:4: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ether.c:538:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/cdc_ether.c:539:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/cdc_ether.c:626:4: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
../drivers/net/usb/cdc_eem.c:357:37: error: 'USB_CDC_SUBCLASS_EEM' undeclared here (not in a function)
../drivers/net/usb/cdc_eem.c:358:4: error: 'USB_CDC_PROTO_EEM' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.h:104:29: error: field 'line' has incomplete type
../drivers/usb/class/cdc-acm.c:156:27: error: 'USB_CDC_REQ_SET_CONTROL_LINE_STATE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:310:2: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/usb/class/cdc-acm.c:311:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/class/cdc-acm.c:312:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:317:7: error: 'USB_CDC_NOTIFY_SERIAL_STATE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:547:31: error: 'USB_CDC_CAP_LINE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:163:20: error: 'USB_CDC_REQ_SEND_BREAK' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:984:29: error: storage size of 'newline' isn't known
../drivers/usb/class/cdc-acm.c:161:20: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1166:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1167:25: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/class/cdc-acm.c:1176:8: error: 'USB_CDC_COUNTRY_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1177:25: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_country_functional_desc'
../drivers/usb/class/cdc-acm.c:1181:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1183:8: error: 'USB_CDC_ACM_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1188:8: error: 'USB_CDC_CALL_MANAGEMENT_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1230:60: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/class/cdc-acm.c:1345:22: error: 'USB_CDC_CAP_LINE' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1437:35: error: dereferencing pointer to incomplete type 'struct usb_cdc_country_functional_desc'
../drivers/usb/class/cdc-acm.c:161:20: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
../drivers/usb/class/cdc-acm.c:1668:19: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1669:3: error: 'USB_CDC_ACM_PROTO_VENDOR' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1883:3: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1887:3: error: 'USB_CDC_ACM_PROTO_AT_V25TER' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1889:3: error: 'USB_CDC_ACM_PROTO_AT_PCCA101' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1891:3: error: 'USB_CDC_ACM_PROTO_AT_PCCA101_WAKE' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1893:3: error: 'USB_CDC_ACM_PROTO_AT_GSM' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1895:3: error: 'USB_CDC_ACM_PROTO_AT_3G' undeclared here (not in a function)
../drivers/usb/class/cdc-acm.c:1897:3: error: 'USB_CDC_ACM_PROTO_AT_CDMA' undeclared here (not in a function)
../drivers/net/usb/rndis_host.c:106:30: error: storage size of 'notification' isn't known
../drivers/net/usb/rndis_host.c:130:3: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/net/usb/rndis_host.c:157:4: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/net/usb/zaurus.c:163:8: error: 'USB_CDC_MDLM_TYPE' undeclared (first use in this function)
../drivers/net/usb/zaurus.c:169:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_desc'
../drivers/net/usb/zaurus.c:182:8: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared (first use in this function)
../drivers/net/usb/zaurus.c:188:18: error: dereferencing pointer to incomplete type 'struct usb_cdc_mdlm_detail_desc'
../drivers/net/usb/zaurus.c:268:24: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/zaurus.c:269:24: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/zaurus.c:319:4: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
../drivers/usb/class/cdc-wdm.c:41:25: error: 'USB_CDC_SUBCLASS_DMM' undeclared here (not in a function)
../drivers/usb/class/cdc-wdm.c:238:34: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
../drivers/usb/class/cdc-wdm.c:244:12: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/class/cdc-wdm.c:244:12: error: request for member 'bNotificationType' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:244:10: error: switch quantity not an integer
../drivers/usb/class/cdc-wdm.c:245:7: error: 'USB_CDC_NOTIFY_RESPONSE_AVAILABLE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:248:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:248:43: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:251:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:255:6: error: request for member 'wValue' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:257:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:265:6: error: request for member 'bNotificationType' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:266:18: error: request for member 'wIndex' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:267:18: error: request for member 'wLength' in something not a structure or union
../drivers/usb/class/cdc-wdm.c:405:18: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:824:24: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:892:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:894:8: error: 'USB_CDC_DMM_TYPE' undeclared (first use in this function)
../drivers/usb/class/cdc-wdm.c:896:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_dmm_desc'
../drivers/usb/class/cdc-wdm.c:896:29: error: request for member 'wMaxCommand' in something not a structure or union
../drivers/net/usb/cdc-phonet.c:355:9: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc-phonet.c:373:50: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
../drivers/net/usb/sierra_net.c:340:33: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/net/usb/sierra_net.c:504:5: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/net/usb/sierra_net.c:611:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/sierra_net.c:617:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/net/usb/sierra_net.c:618:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/net/usb/sierra_net.c:621:7: error: 'USB_CDC_NOTIFY_RESPONSE_AVAILABLE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:88:36: error: field 'ncm_parm' has incomplete type
../drivers/net/usb/cdc_ncm.c:153:8: error: 'USB_CDC_NCM_NTB_MIN_IN_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:176:60: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:346:29: error: 'USB_CDC_SET_NTB_INPUT_SIZE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:408:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_desc'
../drivers/net/usb/cdc_ncm.c:410:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_ncm_desc'
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:435:37: error: dereferencing pointer to incomplete type 'const struct usb_cdc_ether_desc'
../drivers/net/usb/cdc_ncm.c:448:29: error: 'USB_CDC_GET_NTB_PARAMETERS' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:459:27: error: 'USB_CDC_NCM_NCAP_CRC_MODE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:461:31: error: 'USB_CDC_SET_CRC_MODE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:464:12: error: 'USB_CDC_NCM_CRC_NOT_APPENDED' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:476:7: error: 'USB_CDC_NCM_NTB32_SUPPORTED' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:478:31: error: 'USB_CDC_SET_NTB_FORMAT' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:481:12: error: 'USB_CDC_NCM_NTB16_FORMAT' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:507:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:507:94: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:530:29: error: 'USB_CDC_NCM_NCAP_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:534:29: error: 'USB_CDC_GET_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:546:30: error: 'USB_CDC_SET_MAX_DATAGRAM_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:558:49: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_extended_desc'
../drivers/net/usb/cdc_ncm.c:577:13: error: 'USB_CDC_NCM_NDP_ALIGN_MIN_SIZE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:757:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:758:24: error: dereferencing pointer to incomplete type 'const struct usb_cdc_union_desc'
../drivers/net/usb/cdc_ncm.c:772:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:780:8: error: 'USB_CDC_NCM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:787:8: error: 'USB_CDC_MBIM_TYPE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:794:8: error: 'USB_CDC_MBIM_EXTENDED_TYPE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1029:38: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1034:13: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:38: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1055:73: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1091:70: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1091:108: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1092:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1092:36: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1093:45: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1145:28: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1145:64: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1150:48: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1296:56: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1319:28: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1320:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1327:11: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/net/usb/cdc_ncm.c:1327:40: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1364:26: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1378:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1379:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1382:14: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_ncm.c:1383:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1418:40: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1426:37: error: increment of pointer to an incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1427:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_ncm.c:1480:38: error: dereferencing pointer to incomplete type 'struct usb_cdc_speed_change'
../drivers/net/usb/cdc_ncm.c:1507:34: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ncm.c:1520:7: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1532:7: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/net/usb/cdc_ncm.c:1534:13: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_speed_change'
../drivers/net/usb/cdc_ncm.c:1538:19: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/net/usb/cdc_ncm.c:1592:26: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
../drivers/net/usb/cdc_ncm.c:1593:26: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../include/linux/usb/cdc_ncm.h:88:36: error: field 'ncm_parm' has incomplete type
../drivers/net/usb/lg-vl600.c:332:5: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/lg-vl600.c:332:32: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/qmi_wwan.c:255:8: error: 'USB_CDC_HEADER_TYPE' undeclared (first use in this function)
../drivers/net/usb/qmi_wwan.c:260:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/net/usb/qmi_wwan.c:266:8: error: 'USB_CDC_UNION_TYPE' undeclared (first use in this function)
../drivers/net/usb/qmi_wwan.c:271:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/net/usb/qmi_wwan.c:278:8: error: 'USB_CDC_ETHERNET_TYPE' undeclared (first use in this function)
../drivers/net/usb/qmi_wwan.c:283:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
../drivers/net/usb/qmi_wwan.c:307:20: error: dereferencing pointer to incomplete type 'struct usb_cdc_union_desc'
../drivers/net/usb/qmi_wwan.c:319:28: error: dereferencing pointer to incomplete type 'struct usb_cdc_ether_desc'
../drivers/net/usb/qmi_wwan.c:500:33: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/net/usb/qmi_wwan.c:501:33: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../include/linux/usb/cdc_ncm.h:88:36: error: field 'ncm_parm' has incomplete type
../include/linux/usb/cdc_ncm.h:83:72: error: 'USB_CDC_SUBCLASS_MBIM' undeclared (first use in this function)
../include/linux/usb/cdc_ncm.h:84:44: error: 'USB_CDC_PROTO_NONE' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:171:34: error: dereferencing pointer to incomplete type 'const struct usb_cdc_mbim_desc'
../drivers/net/usb/cdc_mbim.c:225:28: error: 'USB_CDC_MBIM_NDP16_IPS_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:281:23: error: 'USB_CDC_MBIM_NDP16_DSS_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:438:15: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/net/usb/cdc_mbim.c:439:19: error: 'USB_CDC_MBIM_NDP16_IPS_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:446:19: error: 'USB_CDC_MBIM_NDP16_DSS_SIGN' undeclared (first use in this function)
../drivers/net/usb/cdc_mbim.c:459:37: error: increment of pointer to an incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_mbim.c:460:29: error: dereferencing pointer to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/net/usb/cdc_mbim.c:593:39: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
../drivers/net/usb/cdc_mbim.c:593:61: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/net/usb/cdc_mbim.c:597:58: error: 'USB_CDC_SUBCLASS_MBIM' undeclared here (not in a function)
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/f_acm.c:60:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/f_acm.c:105:23: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:106:23: error: 'USB_CDC_ACM_PROTO_AT_V25TER' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:133:15: error: variable 'acm_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_acm.c:134:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_acm.c:134:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_acm.c:135:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:136:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:136:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:137:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_acm.c:141:1: error: variable 'acm_call_mgmt_descriptor' has initializer but incomplete type
../drivers/usb/gadget/function/f_acm.c:142:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_acm.c:142:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_call_mgmt_descriptor'
../drivers/usb/gadget/function/f_acm.c:143:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:144:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:144:24: error: 'USB_CDC_CALL_MANAGEMENT_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:145:2: error: unknown field 'bmCapabilities' specified in initializer
../drivers/usb/gadget/function/f_acm.c:149:15: error: variable 'acm_descriptor' has initializer but incomplete type
../drivers/usb/gadget/function/f_acm.c:150:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_acm.c:150:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_acm_descriptor'
../drivers/usb/gadget/function/f_acm.c:151:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:152:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:152:24: error: 'USB_CDC_ACM_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:153:2: error: unknown field 'bmCapabilities' specified in initializer
../drivers/usb/gadget/function/f_acm.c:153:20: error: 'USB_CDC_CAP_LINE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:156:15: error: variable 'acm_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_acm.c:157:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_acm.c:157:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_acm.c:158:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:159:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_acm.c:159:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_acm.c:336:27: error: dereferencing pointer to incomplete type 'struct usb_cdc_line_coding'
../drivers/usb/gadget/function/f_acm.c:362:6: error: 'USB_CDC_REQ_SET_LINE_CODING' undeclared (first use in this function)
../drivers/usb/gadget/function/f_acm.c:363:26: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_line_coding'
../drivers/usb/gadget/function/f_acm.c:374:6: error: 'USB_CDC_REQ_GET_LINE_CODING' undeclared (first use in this function)
../drivers/usb/gadget/function/f_acm.c:379:12: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_line_coding'
../drivers/usb/gadget/function/f_acm.c:385:6: error: 'USB_CDC_REQ_SET_CONTROL_LINE_STATE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_acm.c:504:32: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_acm.c:514:2: error: invalid use of undefined type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_acm.c:550:32: error: 'USB_CDC_NOTIFY_SERIAL_STATE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_acm.c:643:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_acm.c:651:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_acm.c:652:2: error: invalid use of undefined type 'struct usb_cdc_call_mgmt_descriptor'
../drivers/usb/gadget/function/f_acm.c:677:11: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_acm.c:133:35: error: storage size of 'acm_header_desc' isn't known
../drivers/usb/gadget/function/f_acm.c:141:1: error: storage size of 'acm_call_mgmt_descriptor' isn't known
../drivers/usb/gadget/function/f_acm.c:149:38: error: storage size of 'acm_descriptor' isn't known
../drivers/usb/gadget/function/f_acm.c:156:34: error: storage size of 'acm_union_desc' isn't known
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.c:119:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.c:1055:27: error: dereferencing pointer to incomplete type 'struct usb_cdc_line_coding'
../drivers/usb/gadget/function/u_serial.c:1103:29: error: storage size of 'coding' isn't known
../drivers/usb/gadget/function/u_serial.c:1110:23: error: 'USB_CDC_NO_PARITY' undeclared (first use in this function)
../drivers/usb/gadget/function/u_serial.c:1111:21: error: 'USB_CDC_1_STOP_BITS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/f_obex.c:84:24: error: 'USB_CDC_SUBCLASS_OBEX' undeclared here (not in a function)
../drivers/usb/gadget/function/f_obex.c:107:15: error: variable 'obex_cdc_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_obex.c:108:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_obex.c:108:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_obex.c:109:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:110:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:110:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_obex.c:111:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_obex.c:114:15: error: variable 'obex_cdc_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_obex.c:115:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_obex.c:115:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_obex.c:116:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:117:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:117:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_obex.c:118:2: error: unknown field 'bMasterInterface0' specified in initializer
../drivers/usb/gadget/function/f_obex.c:119:2: error: unknown field 'bSlaveInterface0' specified in initializer
../drivers/usb/gadget/function/f_obex.c:122:15: error: variable 'obex_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_obex.c:123:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_obex.c:123:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_obex_desc'
../drivers/usb/gadget/function/f_obex.c:124:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:125:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_obex.c:125:24: error: 'USB_CDC_OBEX_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_obex.c:126:2: error: unknown field 'bcdVersion' specified in initializer
../drivers/usb/gadget/function/f_obex.c:341:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_obex.c:350:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_obex.c:107:35: error: storage size of 'obex_cdc_header_desc' isn't known
../drivers/usb/gadget/function/f_obex.c:114:34: error: storage size of 'obex_cdc_union_desc' isn't known
../drivers/usb/gadget/function/f_obex.c:122:33: error: storage size of 'obex_desc' isn't known
../drivers/usb/gadget/function/u_ether.c:479:22: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.c:519:12: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.c:521:12: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:125:15: error: variable 'ntb_parameters' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:126:2: error: unknown field 'wLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:126:31: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:127:2: error: unknown field 'bmNtbFormatsSupported' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:122:28: error: 'USB_CDC_NCM_NTB16_SUPPORTED' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:123:6: error: 'USB_CDC_NCM_NTB32_SUPPORTED' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:128:2: error: unknown field 'dwNtbInMaxSize' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:129:2: error: unknown field 'wNdpInDivisor' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:130:2: error: unknown field 'wNdpInPayloadRemainder' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:131:2: error: unknown field 'wNdpInAlignment' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:133:2: error: unknown field 'dwNtbOutMaxSize' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:134:2: error: unknown field 'wNdpOutDivisor' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:135:2: error: unknown field 'wNdpOutPayloadRemainder' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:136:2: error: unknown field 'wNdpOutAlignment' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:155:23: error: 'USB_CDC_SUBCLASS_NCM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:156:23: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:174:15: error: variable 'ncm_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:175:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:175:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_ncm.c:176:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:177:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:177:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:179:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:182:15: error: variable 'ncm_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:183:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:183:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ncm.c:184:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:185:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:185:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:190:15: error: variable 'ecm_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:191:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:191:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_ncm.c:192:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:193:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:193:24: error: 'USB_CDC_ETHERNET_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:197:2: error: unknown field 'bmEthernetStatistics' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:198:2: error: unknown field 'wMaxSegmentSize' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:199:2: error: unknown field 'wNumberMCFilters' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:200:2: error: unknown field 'bNumberPowerFilters' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:205:15: error: variable 'ncm_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ncm.c:206:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:206:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_desc'
../drivers/usb/gadget/function/f_ncm.c:207:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:208:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:208:24: error: 'USB_CDC_NCM_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:210:2: error: unknown field 'bcdNcmVersion' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:212:2: error: unknown field 'bmNetworkCapabilities' specified in initializer
../drivers/usb/gadget/function/f_ncm.c:203:16: error: 'USB_CDC_NCM_NCAP_ETH_FILTER' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:203:46: error: 'USB_CDC_NCM_NCAP_CRC_MODE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:226:24: error: 'USB_CDC_NCM_PROTO_NTB' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:387:15: error: 'USB_CDC_NCM_NTH16_SIGN' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:388:15: error: 'USB_CDC_NCM_NDP16_NOCRC_SIGN' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:389:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth16'
../drivers/usb/gadget/function/f_ncm.c:390:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp16'
../drivers/usb/gadget/function/f_ncm.c:391:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe16'
../drivers/usb/gadget/function/f_ncm.c:403:15: error: 'USB_CDC_NCM_NTH32_SIGN' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:404:15: error: 'USB_CDC_NCM_NDP32_NOCRC_SIGN' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ncm.c:405:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_nth32'
../drivers/usb/gadget/function/f_ncm.c:406:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ndp32'
../drivers/usb/gadget/function/f_ncm.c:407:22: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_dpe32'
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:467:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:492:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_ncm.c:492:30: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:506:30: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:567:13: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_ncm.c:598:16: error: 'USB_CDC_NCM_NTB_MIN_IN_SIZE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:599:6: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:629:6: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:656:5: error: 'USB_CDC_GET_NTB_PARAMETERS' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:660:29: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:661:11: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:667:5: error: 'USB_CDC_GET_NTB_INPUT_SIZE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:678:5: error: 'USB_CDC_SET_NTB_INPUT_SIZE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:691:5: error: 'USB_CDC_GET_NTB_FORMAT' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:705:5: error: 'USB_CDC_SET_NTB_FORMAT' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:725:5: error: 'USB_CDC_GET_CRC_MODE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:739:5: error: 'USB_CDC_SET_CRC_MODE' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ncm.c:901:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:964:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:965:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:966:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1140:2: error: invalid use of undefined type 'struct usb_cdc_ncm_ntb_parameters'
../drivers/usb/gadget/function/f_ncm.c:1377:2: error: invalid use of undefined type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_ncm.c:1388:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ncm.c:1397:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ncm.c:125:42: error: storage size of 'ntb_parameters' isn't known
../drivers/usb/gadget/function/f_ncm.c:174:35: error: storage size of 'ncm_header_desc' isn't known
../drivers/usb/gadget/function/f_ncm.c:182:34: error: storage size of 'ncm_union_desc' isn't known
../drivers/usb/gadget/function/f_ncm.c:190:34: error: storage size of 'ecm_desc' isn't known
../drivers/usb/gadget/function/f_ncm.c:205:32: error: storage size of 'ncm_desc' isn't known
../drivers/usb/gadget/function/f_ecm.c:111:23: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:112:23: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:130:15: error: variable 'ecm_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ecm.c:131:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:131:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_ecm.c:132:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:133:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:133:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:135:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:138:15: error: variable 'ecm_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ecm.c:139:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:139:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ecm.c:140:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:141:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:141:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:146:15: error: variable 'ecm_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_ecm.c:147:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:147:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_ecm.c:148:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:149:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:149:24: error: 'USB_CDC_ETHERNET_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_ecm.c:153:2: error: unknown field 'bmEthernetStatistics' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:154:2: error: unknown field 'wMaxSegmentSize' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:155:2: error: unknown field 'wNumberMCFilters' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:156:2: error: unknown field 'bNumberPowerFilters' specified in initializer
../drivers/usb/gadget/function/f_ecm.c:396:8: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_ecm.c:396:30: error: 'USB_CDC_NOTIFY_NETWORK_CONNECTION' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ecm.c:410:30: error: 'USB_CDC_NOTIFY_SPEED_CHANGE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ecm.c:462:9: error: dereferencing pointer to incomplete type 'struct usb_cdc_notification'
../drivers/usb/gadget/function/f_ecm.c:484:6: error: 'USB_CDC_SET_ETHERNET_PACKET_FILTER' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ecm.c:724:2: error: invalid use of undefined type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_ecm.c:735:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_ecm.c:744:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_ecm.c:130:35: error: storage size of 'ecm_header_desc' isn't known
../drivers/usb/gadget/function/f_ecm.c:138:34: error: storage size of 'ecm_union_desc' isn't known
../drivers/usb/gadget/function/f_ecm.c:146:34: error: storage size of 'ecm_desc' isn't known
../drivers/usb/gadget/function/f_phonet.c:80:1: error: variable 'pn_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_phonet.c:81:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:81:21: error: invalid application of 'sizeof' to incomplete type 'const struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_phonet.c:82:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:83:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:83:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_phonet.c:84:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:88:1: error: variable 'pn_phonet_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_phonet.c:89:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:89:21: error: invalid application of 'sizeof' to incomplete type 'const struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_phonet.c:90:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:91:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:92:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:96:1: error: variable 'pn_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_phonet.c:97:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:97:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_phonet.c:98:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:99:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_phonet.c:99:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_phonet.c:518:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_phonet.c:525:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_phonet.c:80:1: error: storage size of 'pn_header_desc' isn't known
../drivers/usb/gadget/function/f_phonet.c:88:1: error: storage size of 'pn_phonet_desc' isn't known
../drivers/usb/gadget/function/f_phonet.c:96:1: error: storage size of 'pn_union_desc' isn't known
../drivers/usb/gadget/function/f_eem.c:53:24: error: 'USB_CDC_SUBCLASS_EEM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_eem.c:54:24: error: 'USB_CDC_PROTO_EEM' undeclared here (not in a function)
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/f_subset.c:87:24: error: 'USB_CDC_SUBCLASS_MDLM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:92:15: error: variable 'mdlm_header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_subset.c:93:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_subset.c:93:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_subset.c:94:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:95:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:95:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:97:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_subset.c:100:15: error: variable 'mdlm_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_subset.c:101:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_subset.c:101:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_mdlm_desc'
../drivers/usb/gadget/function/f_subset.c:102:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:103:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:103:24: error: 'USB_CDC_MDLM_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:105:2: error: unknown field 'bcdVersion' specified in initializer
../drivers/usb/gadget/function/f_subset.c:106:2: error: unknown field 'bGUID' specified in initializer
../drivers/usb/gadget/function/f_subset.c:106:11: error: extra brace group at end of initializer
../drivers/usb/gadget/function/f_subset.c:119:2: error: 'USB_CDC_MDLM_DETAIL_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:126:15: error: variable 'ether_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_subset.c:127:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_subset.c:127:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/f_subset.c:128:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:129:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_subset.c:129:24: error: 'USB_CDC_ETHERNET_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_subset.c:133:2: error: unknown field 'bmEthernetStatistics' specified in initializer
../drivers/usb/gadget/function/f_subset.c:134:2: error: unknown field 'wMaxSegmentSize' specified in initializer
../drivers/usb/gadget/function/f_subset.c:135:2: error: unknown field 'wNumberMCFilters' specified in initializer
../drivers/usb/gadget/function/f_subset.c:136:2: error: unknown field 'bNumberPowerFilters' specified in initializer
../drivers/usb/gadget/function/f_subset.c:331:2: error: invalid use of undefined type 'struct usb_cdc_ether_desc'
../drivers/usb/gadget/function/u_ether.h:90:25: error: 'USB_CDC_PACKET_TYPE_BROADCAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:5: error: 'USB_CDC_PACKET_TYPE_ALL_MULTICAST' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:91:4: error: invalid operands to binary | (have 'u8 * {aka unsigned char *}' and 'u8 * {aka unsigned char *}')
../drivers/usb/gadget/function/u_ether.h:92:5: error: 'USB_CDC_PACKET_TYPE_PROMISCUOUS' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:92:4: error: invalid operands to binary | (have 'u8 * {aka unsigned char *}' and 'u8 * {aka unsigned char *}')
../drivers/usb/gadget/function/u_ether.h:93:5: error: 'USB_CDC_PACKET_TYPE_DIRECTED' undeclared (first use in this function)
../drivers/usb/gadget/function/u_ether.h:93:4: error: invalid operands to binary | (have 'u8 * {aka unsigned char *}' and 'u8 * {aka unsigned char *}')
../drivers/usb/gadget/function/f_subset.c:92:35: error: storage size of 'mdlm_header_desc' isn't known
../drivers/usb/gadget/function/f_subset.c:100:33: error: storage size of 'mdlm_desc' isn't known
../drivers/usb/gadget/function/f_subset.c:126:34: error: storage size of 'ether_desc' isn't known
../drivers/usb/gadget/function/f_rndis.c:121:26: error: 'USB_CDC_SUBCLASS_ACM' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:122:26: error: 'USB_CDC_ACM_PROTO_VENDOR' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:126:15: error: variable 'header_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_rndis.c:127:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:127:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_header_desc'
../drivers/usb/gadget/function/f_rndis.c:128:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:129:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:129:24: error: 'USB_CDC_HEADER_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:131:2: error: unknown field 'bcdCDC' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:134:15: error: variable 'call_mgmt_descriptor' has initializer but incomplete type
../drivers/usb/gadget/function/f_rndis.c:135:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:135:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_call_mgmt_descriptor'
../drivers/usb/gadget/function/f_rndis.c:136:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:137:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:137:24: error: 'USB_CDC_CALL_MANAGEMENT_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:139:2: error: unknown field 'bmCapabilities' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:140:2: error: unknown field 'bDataInterface' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:143:15: error: variable 'rndis_acm_descriptor' has initializer but incomplete type
../drivers/usb/gadget/function/f_rndis.c:144:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:144:21: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_acm_descriptor'
../drivers/usb/gadget/function/f_rndis.c:145:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:146:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:146:24: error: 'USB_CDC_ACM_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:148:2: error: unknown field 'bmCapabilities' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:151:15: error: variable 'rndis_union_desc' has initializer but incomplete type
../drivers/usb/gadget/function/f_rndis.c:152:2: error: unknown field 'bLength' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:152:20: error: invalid application of 'sizeof' to incomplete type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_rndis.c:153:2: error: unknown field 'bDescriptorType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:154:2: error: unknown field 'bDescriptorSubType' specified in initializer
../drivers/usb/gadget/function/f_rndis.c:154:24: error: 'USB_CDC_UNION_TYPE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:182:23: error: 'USB_CDC_SUBCLASS_ETHERNET' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:183:23: error: 'USB_CDC_PROTO_NONE' undeclared here (not in a function)
../drivers/usb/gadget/function/f_rndis.c:483:6: error: 'USB_CDC_SEND_ENCAPSULATED_COMMAND' undeclared (first use in this function)
../drivers/usb/gadget/function/f_rndis.c:494:6: error: 'USB_CDC_GET_ENCAPSULATED_RESPONSE' undeclared (first use in this function)
../drivers/usb/gadget/function/f_rndis.c:727:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_rndis.c:739:2: error: invalid use of undefined type 'struct usb_cdc_union_desc'
../drivers/usb/gadget/function/f_rndis.c:126:35: error: storage size of 'header_desc' isn't known
../drivers/usb/gadget/function/f_rndis.c:134:44: error: storage size of 'call_mgmt_descriptor' isn't known
../drivers/usb/gadget/function/f_rndis.c:143:38: error: storage size of 'rndis_acm_descriptor' isn't known
../drivers/usb/gadget/function/f_rndis.c:151:34: error: storage size of 'rndis_union_desc' isn't known
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../drivers/usb/gadget/function/u_serial.h:47:29: error: field 'port_line_coding' has incomplete type
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/macvtap.c:52:61: error: unknown type name '__virtio16'
../drivers/net/macvtap.c:57:15: error: unknown type name '__virtio16'
../drivers/net/macvtap.c:493:26: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../drivers/net/macvtap.c:579:14: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../drivers/net/macvtap.c:579:28: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/macvtap.c:580:33: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/macvtap.c:581:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/macvtap.c:584:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/macvtap.c:587:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/macvtap.c:601:24: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/macvtap.c:602:34: error: implicit declaration of function 'macvtap16_to_cpu' [-Werror=implicit-function-declaration]
../drivers/net/macvtap.c:622:29: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../drivers/net/macvtap.c:631:25: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/macvtap.c:633:25: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/macvtap.c:635:25: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/macvtap.c:639:26: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/macvtap.c:641:24: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/macvtap.c:644:21: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/macvtap.c:653:21: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/macvtap.c:670:9: error: variable 'vnet_hdr' has initializer but incomplete type
../drivers/net/macvtap.c:670:24: error: storage size of 'vnet_hdr' isn't known
../drivers/net/macvtap.c:690:25: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/macvtap.c:811:25: error: storage size of 'vnet_hdr' isn't known
../drivers/net/macvtap.c:1077:23: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/vhost/net.c:64:14: error: 'VIRTIO_NET_F_MRG_RXBUF' undeclared here (not in a function)
../drivers/vhost/net.c:531:9: error: variable 'hdr' has initializer but incomplete type
../drivers/vhost/net.c:532:3: error: unknown field 'flags' specified in initializer
../drivers/vhost/net.c:533:3: error: unknown field 'gso_type' specified in initializer
../drivers/vhost/net.c:533:15: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/vhost/net.c:531:24: error: storage size of 'hdr' isn't known
../drivers/vhost/net.c:1004:11: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
../drivers/vhost/net.c:1005:11: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:36:15: error: implicit declaration of function '__virtio16_to_cpu' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:67:18: error: implicit declaration of function '__cpu_to_virtio16' [-Werror=implicit-function-declaration]
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/tun.c:209:56: error: unknown type name '__virtio16'
../drivers/net/tun.c:214:15: error: unknown type name '__virtio16'
../drivers/net/tun.c:1041:9: error: variable 'gso' has initializer but incomplete type
../drivers/net/tun.c:1041:24: error: storage size of 'gso' isn't known
../drivers/net/tun.c:1068:20: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/tun.c:1069:7: error: implicit declaration of function 'tun16_to_cpu' [-Werror=implicit-function-declaration]
../drivers/net/tun.c:1170:22: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/tun.c:1172:27: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/tun.c:1173:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/tun.c:1176:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/tun.c:1179:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/tun.c:1274:10: error: variable 'gso' has initializer but incomplete type
../drivers/net/tun.c:1274:25: error: storage size of 'gso' isn't known
../drivers/net/tun.c:1285:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/tun.c:1287:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/tun.c:1289:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/tun.c:1303:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/tun.c:1305:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/tun.c:1308:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/tun.c:1313:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/tun.c:1653:29: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../drivers/net/tun.c:2043:33: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:13:9: error: dereferencing pointer to incomplete type 'const struct virtio_net_hdr'
../include/linux/virtio_net.h:13:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:14:28: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:15:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:18:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:21:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:35:19: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:61:24: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr'
../include/linux/virtio_net.h:72:20: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../include/linux/virtio_net.h:74:20: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../include/linux/virtio_net.h:76:20: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../include/linux/virtio_net.h:80:21: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../include/linux/virtio_net.h:82:19: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../include/linux/virtio_net.h:85:16: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../include/linux/virtio_net.h:95:16: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/virtio_net.c:154:34: error: field 'hdr' has incomplete type
../drivers/net/virtio_net.c:269:27: error: dereferencing pointer to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
../drivers/net/virtio_net.c:360:16: error: implicit declaration of function 'virtio16_to_cpu' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:480:23: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/virtio_net.c:486:30: error: 'VIRTIO_NET_HDR_F_DATA_VALID' undeclared (first use in this function)
../drivers/net/virtio_net.c:494:27: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/virtio_net.c:496:32: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/virtio_net.c:497:8: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/virtio_net.c:500:8: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/virtio_net.c:503:8: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/virtio_net.c:613:32: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
../drivers/net/virtio_net.c:787:21: error: 'VIRTIO_NET_S_LINK_UP' undeclared (first use in this function)
../drivers/net/virtio_net.c:872:20: error: 'VIRTIO_NET_HDR_F_NEEDS_CSUM' undeclared (first use in this function)
../drivers/net/virtio_net.c:873:25: error: implicit declaration of function 'cpu_to_virtio16' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:887:24: error: 'VIRTIO_NET_HDR_GSO_TCPV4' undeclared (first use in this function)
../drivers/net/virtio_net.c:889:24: error: 'VIRTIO_NET_HDR_GSO_TCPV6' undeclared (first use in this function)
../drivers/net/virtio_net.c:891:24: error: 'VIRTIO_NET_HDR_GSO_UDP' undeclared (first use in this function)
../drivers/net/virtio_net.c:895:25: error: 'VIRTIO_NET_HDR_GSO_ECN' undeclared (first use in this function)
../drivers/net/virtio_net.c:897:23: error: 'VIRTIO_NET_HDR_GSO_NONE' undeclared (first use in this function)
../drivers/net/virtio_net.c:987:29: error: storage size of 'ctrl' isn't known
../drivers/net/virtio_net.c:988:2: error: unknown type name 'virtio_net_ctrl_ack'
../drivers/net/virtio_net.c:992:10: error: implicit declaration of function 'virtio_has_feature' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:992:39: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1011:20: error: 'VIRTIO_NET_OK' undeclared (first use in this function)
../drivers/net/virtio_net.c:1035:31: error: 'VIRTIO_NET_F_CTRL_MAC_ADDR' undeclared (first use in this function)
../drivers/net/virtio_net.c:1037:33: error: 'VIRTIO_NET_CTRL_MAC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1038:8: error: 'VIRTIO_NET_CTRL_MAC_ADDR_SET' undeclared (first use in this function)
../drivers/net/virtio_net.c:1043:38: error: 'VIRTIO_NET_F_MAC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1044:32: error: 'VIRTIO_F_VERSION_1' undeclared (first use in this function)
../drivers/net/virtio_net.c:1049:4: error: implicit declaration of function 'virtio_cwrite8' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1050:28: error: invalid use of undefined type 'struct virtio_net_config'
../drivers/net/virtio_net.c:1111:32: error: 'VIRTIO_NET_CTRL_ANNOUNCE' undeclared (first use in this function)
../drivers/net/virtio_net.c:1112:7: error: 'VIRTIO_NET_CTRL_ANNOUNCE_ACK' undeclared (first use in this function)
../drivers/net/virtio_net.c:1120:28: error: storage size of 's' isn't known
../drivers/net/virtio_net.c:1123:52: error: 'VIRTIO_NET_F_MQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1129:32: error: 'VIRTIO_NET_CTRL_MQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1130:7: error: 'VIRTIO_NET_CTRL_MQ_VQ_PAIRS_SET' undeclared (first use in this function)
../drivers/net/virtio_net.c:1171:36: error: 'VIRTIO_NET_F_CTRL_RX' undeclared (first use in this function)
../drivers/net/virtio_net.c:1179:32: error: 'VIRTIO_NET_CTRL_RX' undeclared (first use in this function)
../drivers/net/virtio_net.c:1180:7: error: 'VIRTIO_NET_CTRL_RX_PROMISC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1187:7: error: 'VIRTIO_NET_CTRL_RX_ALLMULTI' undeclared (first use in this function)
../drivers/net/virtio_net.c:1195:29: error: dereferencing pointer to incomplete type 'struct virtio_net_ctrl_mac'
../drivers/net/virtio_net.c:1203:22: error: implicit declaration of function 'cpu_to_virtio32' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1222:32: error: 'VIRTIO_NET_CTRL_MAC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1223:7: error: 'VIRTIO_NET_CTRL_MAC_TABLE_SET' undeclared (first use in this function)
../drivers/net/virtio_net.c:1237:32: error: 'VIRTIO_NET_CTRL_VLAN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1238:7: error: 'VIRTIO_NET_CTRL_VLAN_ADD' undeclared (first use in this function)
../drivers/net/virtio_net.c:1251:32: error: 'VIRTIO_NET_CTRL_VLAN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1252:7: error: 'VIRTIO_NET_CTRL_VLAN_DEL' undeclared (first use in this function)
../drivers/net/virtio_net.c:1263:4: error: implicit declaration of function 'virtqueue_set_affinity' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1338:26: error: implicit declaration of function 'virtio_bus_name' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1431:6: error: implicit declaration of function 'virtio_cread_feature' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1431:37: error: 'VIRTIO_NET_F_STATUS' undeclared (first use in this function)
../drivers/net/virtio_net.c:1432:6: error: expected expression before 'struct'
../drivers/net/virtio_net.c:1435:10: error: 'VIRTIO_NET_S_ANNOUNCE' undeclared (first use in this function)
../drivers/net/virtio_net.c:1441:7: error: 'VIRTIO_NET_S_LINK_UP' undeclared (first use in this function)
../drivers/net/virtio_net.c:1529:14: error: dereferencing pointer to incomplete type 'const struct virtio_config_ops'
../drivers/net/virtio_net.c:1536:2: error: unknown type name 'vq_callback_t'
../drivers/net/virtio_net.c:1547:36: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1583:36: error: 'VIRTIO_NET_F_CTRL_VLAN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1709:32: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1710:29: error: 'VIRTIO_NET_F_CTRL_RX' undeclared (first use in this function)
../drivers/net/virtio_net.c:1712:29: error: 'VIRTIO_NET_F_CTRL_VLAN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1714:29: error: 'VIRTIO_NET_F_GUEST_ANNOUNCE' undeclared (first use in this function)
../drivers/net/virtio_net.c:1716:29: error: 'VIRTIO_NET_F_MQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1717:29: error: 'VIRTIO_NET_F_CTRL_MAC_ADDR' undeclared (first use in this function)
../drivers/net/virtio_net.c:1742:35: error: 'VIRTIO_NET_F_MQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1743:8: error: expected expression before 'struct'
../drivers/net/virtio_net.c:1747:31: error: 'VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MIN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1748:24: error: 'VIRTIO_NET_CTRL_MQ_VQ_PAIRS_MAX' undeclared (first use in this function)
../drivers/net/virtio_net.c:1749:32: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared (first use in this function)
../drivers/net/virtio_net.c:1766:31: error: 'VIRTIO_NET_F_CSUM' undeclared (first use in this function)
../drivers/net/virtio_net.c:1772:32: error: 'VIRTIO_NET_F_GSO' undeclared (first use in this function)
../drivers/net/virtio_net.c:1777:32: error: 'VIRTIO_NET_F_HOST_TSO4' undeclared (first use in this function)
../drivers/net/virtio_net.c:1779:32: error: 'VIRTIO_NET_F_HOST_TSO6' undeclared (first use in this function)
../drivers/net/virtio_net.c:1781:32: error: 'VIRTIO_NET_F_HOST_ECN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1783:32: error: 'VIRTIO_NET_F_HOST_UFO' undeclared (first use in this function)
../drivers/net/virtio_net.c:1792:31: error: 'VIRTIO_NET_F_GUEST_CSUM' undeclared (first use in this function)
../drivers/net/virtio_net.c:1798:31: error: 'VIRTIO_NET_F_MAC' undeclared (first use in this function)
../drivers/net/virtio_net.c:1799:3: error: implicit declaration of function 'virtio_cread_bytes' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1800:24: error: invalid use of undefined type 'struct virtio_net_config'
../drivers/net/virtio_net.c:1825:31: error: 'VIRTIO_NET_F_GUEST_TSO4' undeclared (first use in this function)
../drivers/net/virtio_net.c:1826:31: error: 'VIRTIO_NET_F_GUEST_TSO6' undeclared (first use in this function)
../drivers/net/virtio_net.c:1827:31: error: 'VIRTIO_NET_F_GUEST_ECN' undeclared (first use in this function)
../drivers/net/virtio_net.c:1828:31: error: 'VIRTIO_NET_F_GUEST_UFO' undeclared (first use in this function)
../drivers/net/virtio_net.c:1831:31: error: 'VIRTIO_NET_F_MRG_RXBUF' undeclared (first use in this function)
../drivers/net/virtio_net.c:1835:31: error: 'VIRTIO_F_VERSION_1' undeclared (first use in this function)
../drivers/net/virtio_net.c:1836:24: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr_mrg_rxbuf'
../drivers/net/virtio_net.c:1838:24: error: invalid application of 'sizeof' to incomplete type 'struct virtio_net_hdr'
../drivers/net/virtio_net.c:1840:31: error: 'VIRTIO_F_ANY_LAYOUT' undeclared (first use in this function)
../drivers/net/virtio_net.c:1872:2: error: implicit declaration of function 'virtio_device_ready' [-Werror=implicit-function-declaration]
../drivers/net/virtio_net.c:1896:35: error: 'VIRTIO_NET_F_STATUS' undeclared (first use in this function)
../drivers/net/virtio_net.c:1900:16: error: 'VIRTIO_NET_S_LINK_UP' undeclared (first use in this function)
../drivers/net/virtio_net.c:2015:4: error: 'VIRTIO_ID_NET' undeclared here (not in a function)
../drivers/net/virtio_net.c:2020:2: error: 'VIRTIO_NET_F_CSUM' undeclared here (not in a function)
../drivers/net/virtio_net.c:2020:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2020:21: error: 'VIRTIO_NET_F_GUEST_CSUM' undeclared here (not in a function)
../drivers/net/virtio_net.c:2020:21: error: initializer element is not constant
../drivers/net/virtio_net.c:2021:2: error: 'VIRTIO_NET_F_GSO' undeclared here (not in a function)
../drivers/net/virtio_net.c:2021:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2021:20: error: 'VIRTIO_NET_F_MAC' undeclared here (not in a function)
../drivers/net/virtio_net.c:2021:20: error: initializer element is not constant
../drivers/net/virtio_net.c:2022:2: error: 'VIRTIO_NET_F_HOST_TSO4' undeclared here (not in a function)
../drivers/net/virtio_net.c:2022:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2022:26: error: 'VIRTIO_NET_F_HOST_UFO' undeclared here (not in a function)
../drivers/net/virtio_net.c:2022:26: error: initializer element is not constant
../drivers/net/virtio_net.c:2022:49: error: 'VIRTIO_NET_F_HOST_TSO6' undeclared here (not in a function)
../drivers/net/virtio_net.c:2022:49: error: initializer element is not constant
../drivers/net/virtio_net.c:2023:2: error: 'VIRTIO_NET_F_HOST_ECN' undeclared here (not in a function)
../drivers/net/virtio_net.c:2023:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2023:25: error: 'VIRTIO_NET_F_GUEST_TSO4' undeclared here (not in a function)
../drivers/net/virtio_net.c:2023:25: error: initializer element is not constant
../drivers/net/virtio_net.c:2023:50: error: 'VIRTIO_NET_F_GUEST_TSO6' undeclared here (not in a function)
../drivers/net/virtio_net.c:2023:50: error: initializer element is not constant
../drivers/net/virtio_net.c:2024:2: error: 'VIRTIO_NET_F_GUEST_ECN' undeclared here (not in a function)
../drivers/net/virtio_net.c:2024:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2024:26: error: 'VIRTIO_NET_F_GUEST_UFO' undeclared here (not in a function)
../drivers/net/virtio_net.c:2024:26: error: initializer element is not constant
../drivers/net/virtio_net.c:2025:2: error: 'VIRTIO_NET_F_MRG_RXBUF' undeclared here (not in a function)
../drivers/net/virtio_net.c:2025:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2025:26: error: 'VIRTIO_NET_F_STATUS' undeclared here (not in a function)
../drivers/net/virtio_net.c:2025:26: error: initializer element is not constant
../drivers/net/virtio_net.c:2025:47: error: 'VIRTIO_NET_F_CTRL_VQ' undeclared here (not in a function)
../drivers/net/virtio_net.c:2025:47: error: initializer element is not constant
../drivers/net/virtio_net.c:2026:2: error: 'VIRTIO_NET_F_CTRL_RX' undeclared here (not in a function)
../drivers/net/virtio_net.c:2026:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2026:24: error: 'VIRTIO_NET_F_CTRL_VLAN' undeclared here (not in a function)
../drivers/net/virtio_net.c:2026:24: error: initializer element is not constant
../drivers/net/virtio_net.c:2027:2: error: 'VIRTIO_NET_F_GUEST_ANNOUNCE' undeclared here (not in a function)
../drivers/net/virtio_net.c:2027:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2027:31: error: 'VIRTIO_NET_F_MQ' undeclared here (not in a function)
../drivers/net/virtio_net.c:2027:31: error: initializer element is not constant
../drivers/net/virtio_net.c:2028:2: error: 'VIRTIO_NET_F_CTRL_MAC_ADDR' undeclared here (not in a function)
../drivers/net/virtio_net.c:2028:2: error: initializer element is not constant
../drivers/net/virtio_net.c:2029:2: error: 'VIRTIO_F_ANY_LAYOUT' undeclared here (not in a function)
../drivers/net/virtio_net.c:2029:2: error: initializer element is not constant
../drivers/usb/serial/visor.c:452:4: error: 'USB_CDC_SUBCLASS_ACM' undeclared (first use in this function)
../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
../drivers/staging/unisys/virthba/virthba.c:622:19: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notify'
../drivers/staging/unisys/virthba/virthba.c:623:19: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
../drivers/staging/unisys/virthba/virthba.c:630:19: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'scsicmd'
../drivers/staging/unisys/virthba/virthba.c:673:22: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notify'
../drivers/staging/unisys/virthba/virthba.c:674:22: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
../drivers/staging/unisys/virthba/virthba.c:681:22: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'scsicmd'
../drivers/staging/unisys/virthba/virthba.c:838:15: error: 'struct uiscmdrsp_scsi' has no member named 'scsicmd'; did you mean 'scsistat'?
../drivers/staging/unisys/virthba/virthba.c:1037:3: error: implicit declaration of function 'SET_NO_DISK_INQUIRY_RESULT' [-Werror=implicit-function-declaration]
../drivers/staging/unisys/virthba/virthba.c:1098:27: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
../drivers/staging/unisys/virthba/virthba.c:1099:52: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notify'
../drivers/staging/unisys/virthba/virthba.c:1107:30: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
../drivers/staging/unisys/virthba/virthba.c:1109:55: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notify'
../drivers/staging/unisys/virthba/virthba.c:1142:21: error: 'struct uiscmdrsp_scsi' has no member named 'scsicmd'; did you mean 'scsistat'?
../drivers/staging/unisys/virthba/virthba.c:1149:39: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'scsicmd'
../drivers/staging/unisys/virthba/virthba.c:1162:28: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'scsicmd'
../drivers/staging/unisys/virthba/virthba.c:1331:2: error: implicit declaration of function 'SPAR_CHANNEL_CLIENT_TRANSITION' [-Werror=implicit-function-declaration]
../drivers/staging/unisys/virthba/virthba.c:1380:29: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notify'
../drivers/staging/unisys/virthba/virthba.c:1381:32: error: 'struct uiscmdrsp_scsitaskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
../drivers/staging/unisys/virthba/virthba.c:1386:29: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notifyresult'; did you mean 'notify_handle'?
../drivers/staging/unisys/virthba/virthba.c:1389:26: error: 'struct uiscmdrsp_vdiskmgmt' has no member named 'notify'
../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
../drivers/staging/unisys/virtpci/virtpci.c:896:2: error: implicit declaration of function 'SPAR_CHANNEL_CLIENT_TRANSITION' [-Werror=implicit-function-declaration]
../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
../drivers/staging/unisys/include/iochannel.h:142:8: error: redefinition of 'struct phys_info'
Warnings:
../arch/x86/kernel/cpu/perf_event_intel_pt.c:197:1: warning: control reaches end of non-void function [-Wreturn-type]
../arch/x86/include/asm/msr.h:209:23: warning: right shift count >= width of type [-Wshift-count-overflow]
../arch/x86/xen/mmu.c:1105:57: warning: array subscript is above array bounds [-Warray-bounds]
../drivers/atm/iphase.c:1176:12: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
../drivers/ata/pata_hpt366.c:376:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
../drivers/ata/pata_hpt366.c:379:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
../drivers/ata/pata_hpt366.c:382:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
../drivers/block/hd.c:630:3: warning: switch condition has boolean value [-Wswitch-bool]
../sound/pci/oxygen/oxygen_mixer.c:91:43: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
../net/caif/cfpkt_skbuff.c:282:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
../drivers/hid/hid-input.c:1163:67: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
../drivers/gpu/drm/gma500/cdv_intel_dp.c:869:2: warning: 'i2c_dp_aux_add_bus' is deprecated [-Wdeprecated-declarations]
../drivers/iommu/dmar.c:1849:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
../drivers/iommu/intel-iommu.c:3800:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
../net/netfilter/nf_conntrack_proto_sctp.c:180:22: warning: unused variable 'state' [-Wunused-variable]
../net/netfilter/nf_conntrack_proto_sctp.c:310:33: warning: unused variable 'old_state' [-Wunused-variable]
../net/netfilter/nf_conntrack_proto_sctp.c:310:22: warning: unused variable 'new_state' [-Wunused-variable]
../net/netfilter/nf_conntrack_proto_sctp.c:415:22: warning: unused variable 'new_state' [-Wunused-variable]
../net/netfilter/nf_conntrack_proto_sctp.c:104:17: warning: 'sctp_conntracks' defined but not used [-Wunused-variable]
../net/netfilter/nf_conntrack_proto_sctp.c:52:21: warning: 'sctp_timeouts' defined but not used [-Wunused-variable]
../include/linux/virtio_net.h:8:19: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
../include/linux/virtio_net.h:58:15: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
../net/packet/af_packet.c:2420:37: warning: excess elements in struct initializer
../net/packet/af_packet.c:2420:24: warning: unused variable 'vnet_hdr' [-Wunused-variable]
../net/packet/af_packet.c:2959:38: warning: excess elements in struct initializer
../net/packet/af_packet.c:2959:25: warning: unused variable 'vnet_hdr' [-Wunused-variable]
../drivers/mmc/host/sh_mmcif.c:401:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/mmc/host/sh_mmcif.c:402:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/media/platform/am437x/am437x-vpfe.c:1723:27: warning: self-comparison always evaluates to true [-Wtautological-compare]
../drivers/media/platform/s3c-camif/camif-capture.c:118:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
../drivers/media/platform/s3c-camif/camif-capture.c:134:10: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
../drivers/mtd/mtd_blkdevs.c:100:2: warning: switch condition has boolean value [-Wswitch-bool]
../drivers/media/usb/cx231xx/cx231xx-cards.c:1110:1: warning: the frame size of 2064 bytes is larger than 2048 bytes [-Wframe-larger-than=]
../drivers/net/ethernet/dec/tulip/uli526x.c:1086:4: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
../drivers/scsi/be2iscsi/be_main.c:3168:18: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
../drivers/scsi/bfa/bfa_ioc.c:3665:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
../drivers/scsi/bfa/bfa_ioc.c:3673:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
../drivers/scsi/megaraid/megaraid_sas_fusion.c:1723:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
../drivers/net/usb/hso.c:1857:1: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/hso.c:1926:1: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/usb/class/cdc-acm.c:984:29: warning: unused variable 'newline' [-Wunused-variable]
../drivers/usb/class/cdc-acm.c:158:1: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/rndis_host.c:106:30: warning: unused variable 'notification' [-Wunused-variable]
../drivers/usb/class/cdc-wdm.c:238:25: warning: comparison between pointer and integer
../include/uapi/linux/byteorder/little_endian.h:35:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/little_endian.h:35:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/little_endian.h:35:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/uapi/linux/byteorder/little_endian.h:35:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/usb/class/cdc-wdm.c:264:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'const struct usb_device_id *' [-Wformat=]
../drivers/usb/class/cdc-wdm.c:405:16: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
../drivers/usb/class/cdc-wdm.c:824:22: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
../include/uapi/linux/byteorder/little_endian.h:35:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../drivers/staging/i2o/i2o_config.c:892:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/staging/i2o/i2o_config.c:952:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../drivers/net/usb/cdc_ncm.c:1478:15: warning: 'struct usb_cdc_speed_change' declared inside parameter list will not be visible outside of this definition or declaration
../drivers/net/usb/cdc_ncm.c:1513:9: warning: passing argument 2 of 'cdc_ncm_speed_change' from incompatible pointer type [-Wincompatible-pointer-types]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/net/usb/cdc_ncm.c:291:36: warning: control reaches end of non-void function [-Wreturn-type]
../drivers/staging/iio/adc/ad7192.c:236:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
../drivers/scsi/qla2xxx/qla_target.c:3086:6: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 8 has type 'uint32_t {aka unsigned int}' [-Wformat=]
../drivers/scsi/qla2xxx/qla_target.c:3083:17: warning: unused variable 'se_cmd' [-Wunused-variable]
../drivers/usb/gadget/function/f_acm.c:134:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:136:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:142:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:144:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:145:20: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:150:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:152:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:153:20: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:157:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_acm.c:159:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/u_serial.c:1103:29: warning: unused variable 'coding' [-Wunused-variable]
../drivers/usb/gadget/function/f_obex.c:108:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_obex.c:110:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_obex.c:115:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_obex.c:117:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_obex.c:118:23: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_obex.c:119:22: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_obex.c:123:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_obex.c:125:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/u_ether.c:480:1: warning: control reaches end of non-void function [-Wreturn-type]
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:32:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:32:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:175:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:177:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:183:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:185:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:191:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:193:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:32:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:200:25: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:206:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:208:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ncm.c:203:15: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ecm.c:131:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ecm.c:133:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ecm.c:139:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ecm.c:141:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ecm.c:147:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ecm.c:149:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:32:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_ecm.c:156:25: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_phonet.c:81:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_phonet.c:83:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_phonet.c:89:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_phonet.c:67:29: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_phonet.c:97:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_phonet.c:99:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:93:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:95:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:101:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:103:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:106:11: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:127:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:129:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:32:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:136:25: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_subset.c:331:2: warning: statement with no effect [-Wunused-value]
../drivers/usb/gadget/function/f_subset.c:504:24: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
../drivers/usb/gadget/function/f_rndis.c:127:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:129:24: warning: excess elements in struct initializer
../include/uapi/linux/byteorder/little_endian.h:34:26: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:135:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:137:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:139:20: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:140:20: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:144:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:146:24: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:148:20: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:152:14: warning: excess elements in struct initializer
../include/uapi/linux/usb/ch9.h:245:30: warning: excess elements in struct initializer
../drivers/usb/gadget/function/f_rndis.c:154:24: warning: excess elements in struct initializer
../drivers/scsi/advansys.c:71:2: warning: #warning this driver is still not properly converted to the DMA API [-Wcpp]
../drivers/scsi/storvsc_drv.c:1676:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
../include/linux/virtio_net.h:8:19: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
../include/linux/virtio_net.h:58:15: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
../drivers/net/macvtap.c:576:17: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
../drivers/net/macvtap.c:620:16: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
../drivers/net/macvtap.c:670:37: warning: excess elements in struct initializer
../drivers/net/macvtap.c:670:24: warning: unused variable 'vnet_hdr' [-Wunused-variable]
../drivers/net/macvtap.c:811:25: warning: unused variable 'vnet_hdr' [-Wunused-variable]
../include/linux/virtio_net.h:8:19: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
../include/linux/virtio_net.h:58:15: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
../drivers/vhost/net.c:532:12: warning: excess elements in struct initializer
../drivers/vhost/net.c:533:15: warning: excess elements in struct initializer
../drivers/vhost/net.c:531:24: warning: unused variable 'hdr' [-Wunused-variable]
../drivers/usb/renesas_usbhs/common.c:492:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
../include/linux/virtio_net.h:8:19: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
../include/linux/virtio_net.h:58:15: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
../drivers/net/tun.c:1041:32: warning: excess elements in struct initializer
../drivers/net/tun.c:1041:24: warning: unused variable 'gso' [-Wunused-variable]
../drivers/net/tun.c:1274:33: warning: excess elements in struct initializer
../drivers/net/tun.c:1274:25: warning: unused variable 'gso' [-Wunused-variable]
../include/linux/virtio_net.h:8:19: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
../include/linux/virtio_net.h:58:15: warning: 'struct virtio_net_hdr' declared inside parameter list will not be visible outside of this definition or declaration
../drivers/net/virtio_net.c:987:29: warning: unused variable 'ctrl' [-Wunused-variable]
../drivers/net/virtio_net.c:1120:28: warning: unused variable 's' [-Wunused-variable]
../drivers/net/virtio_net.c:1338:26: warning: passing argument 2 of 'strlcpy' makes pointer from integer without a cast [-Wint-conversion]
../drivers/net/virtio_net.c:1568:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
../drivers/net/virtio_net.c:1569:24: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
../drivers/net/wireless/iwlegacy/3945.c:1022:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
../drivers/staging/rtl8723au/core/rtw_wlan_util.c:525:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
../drivers/staging/unisys/visorutil/periodic_work.c:91:31: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare]
../drivers/staging/unisys/visorutil/periodic_work.c:122:31: warning: comparison of constant '0' with boolean expression is always false [-Wbool-compare]
-------------------------------------------------------------------------------
arm64-defconfig : FAIL, 4 errors, 0 warnings, 0 section mismatches
Errors:
../include/linux/thread_info.h:128:2: error: implicit declaration of function 'WARN_ON' [-Werror=implicit-function-declaration]
../arch/arm64/include/asm/arch_timer.h:113:2: error: implicit declaration of function 'BUG' [-Werror=implicit-function-declaration]
../include/linux/page-flags.h:410:2: error: implicit declaration of function 'BUG_ON' [-Werror=implicit-function-declaration]
../include/linux/kernfs.h:252:2: error: implicit declaration of function 'WARN_ON_ONCE' [-Werror=implicit-function-declaration]
-------------------------------------------------------------------------------
Passed with no errors, warnings or mismatches:
This is a note to let you know that I've just added the patch titled
signal/arm: Document conflicts with SI_USER and SIGFPE
to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=sum…
The filename of the patch is:
signal-arm-document-conflicts-with-si_user-and-sigfpe.patch
and it can be found in the queue-4.9 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable(a)vger.kernel.org> know about it.
>From foo@baz Mon Apr 9 17:09:24 CEST 2018
From: "Eric W. Biederman" <ebiederm(a)xmission.com>
Date: Thu, 17 Aug 2017 17:07:46 -0500
Subject: signal/arm: Document conflicts with SI_USER and SIGFPE
From: "Eric W. Biederman" <ebiederm(a)xmission.com>
[ Upstream commit 7771c66457004977b616bab785209f49d164f527 ]
Setting si_code to 0 results in a userspace seeing an si_code of 0.
This is the same si_code as SI_USER. Posix and common sense requires
that SI_USER not be a signal specific si_code. As such this use of 0
for the si_code is a pretty horribly broken ABI.
Further use of si_code == 0 guaranteed that copy_siginfo_to_user saw a
value of __SI_KILL and now sees a value of SIL_KILL with the result
that uid and pid fields are copied and which might copying the si_addr
field by accident but certainly not by design. Making this a very
flakey implementation.
Utilizing FPE_FIXME, siginfo_layout will now return SIL_FAULT and the
appropriate fields will be reliably copied.
Possible ABI fixes includee:
- Send the signal without siginfo
- Don't generate a signal
- Possibly assign and use an appropriate si_code
- Don't handle cases which can't happen
Cc: Russell King <rmk(a)flint.arm.linux.org.uk>
Cc: linux-arm-kernel(a)lists.infradead.org
Ref: 451436b7bbb2 ("[ARM] Add support code for ARM hardware vector floating point")
History Tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git
Signed-off-by: "Eric W. Biederman" <ebiederm(a)xmission.com>
Signed-off-by: Sasha Levin <alexander.levin(a)microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
arch/arm/include/uapi/asm/siginfo.h | 13 +++++++++++++
arch/arm/vfp/vfpmodule.c | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/include/uapi/asm/siginfo.h
--- /dev/null
+++ b/arch/arm/include/uapi/asm/siginfo.h
@@ -0,0 +1,13 @@
+#ifndef __ASM_SIGINFO_H
+#define __ASM_SIGINFO_H
+
+#include <asm-generic/siginfo.h>
+
+/*
+ * SIGFPE si_codes
+ */
+#ifdef __KERNEL__
+#define FPE_FIXME 0 /* Broken dup of SI_USER */
+#endif /* __KERNEL__ */
+
+#endif
--- a/arch/arm/vfp/vfpmodule.c
+++ b/arch/arm/vfp/vfpmodule.c
@@ -257,7 +257,7 @@ static void vfp_raise_exceptions(u32 exc
if (exceptions == VFP_EXCEPTION_ERROR) {
vfp_panic("unhandled bounce", inst);
- vfp_raise_sigfpe(0, regs);
+ vfp_raise_sigfpe(FPE_FIXME, regs);
return;
}
Patches currently in stable-queue which might be from ebiederm(a)xmission.com are
queue-4.9/signal-metag-document-a-conflict-with-si_user-with-sigfpe.patch
queue-4.9/pidns-disable-pid-allocation-if-pid_ns_prepare_proc-is-failed-in-alloc_pid.patch
queue-4.9/signal-arm-document-conflicts-with-si_user-and-sigfpe.patch
queue-4.9/signal-powerpc-document-conflicts-with-si_user-and-sigfpe-and-sigtrap.patch
On Tue, Apr 10, 2018 at 12:00:26PM +0100, Chris Wilson wrote:
> Quoting Rodrigo Vivi (2018-04-09 20:14:32)
> > On Sat, Apr 07, 2018 at 10:05:25AM +0100, Chris Wilson wrote:
> > > Quoting Rodrigo Vivi (2018-04-06 23:18:16)
> > > > On Fri, Apr 06, 2018 at 11:12:27AM -0700, Souza, Jose wrote:
> > > > > On Thu, 2018-04-05 at 12:49 +0100, Chris Wilson wrote:
> > > > > > + struct drm_crtc *crtc =
> > > > > > + dp_to_dig_port(intel_dp)->base.base.crtc;
> > > >
> > > > I'm afraid that the issue is this pointer here. So this will only mask
> > > > the issue.
> > > >
> > > > Should we maybe stash the pipe? :/
> > >
> > > It's not that bad. pipe cannot change until after psr_disable is called,
> > > right? And psr_disable ensures that this worker is flushed. The current
> > > problem is just the coordination of cancelling the worker, where we may
> > > set psr.enabled to NULL right before the worker grabs it and
> > > dereferences it.
> > >
> > > So if we lock until we have the pipe, we know that dereference chain is
> > > valid, and we know that psr_disable() cannot complete until we complete
> > > the wait. So the pipe remains valid until we return (so long as the pipe
> > > exists when we start).
> >
> > hmm... it makes sense and I have no better suggestion actually.
> > So, as long it really fixes the regression we introduced:
> >
> > Acked-by: Rodrigo Vivi <rodrigo.vivi(a)intel.com>
>
> It does fix the abstract race, but I have no evidence of this being hit
> in practice. Pushed, but up to you if you care about this being
> backported.
>
> Note this race is different from the GPF CI reported. Hmm, I think
> https://bugs.freedesktop.org/show_bug.cgi?id=105959 is the same one as
> hit on the kasan run earlier.
Ouch, thanks for the clarification... I was really considering that this
was the case... but I should have noticed that there was no bugzilla
referenced here...
> -Chris
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx(a)lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Hi,
[This is an automated email]
This commit has been processed by the -stable helper bot and determined
to be a high probability candidate for -stable trees. (score: 20.3359)
The bot has tested the following trees: v4.16.1, v4.15.16, v4.14.33, v4.9.93, v4.4.127.
v4.16.1: Build OK!
v4.15.16: Build OK!
v4.14.33: Build OK!
v4.9.93: Build OK!
v4.4.127: Build OK!
Please let us know if you'd like to have this patch included in a stable tree.
--
Thanks,
Sasha
Hi,
[This is an automated email]
This commit has been processed by the -stable helper bot and determined
to be a high probability candidate for -stable trees. (score: 12.9808)
The bot has tested the following trees: v4.16.1, v4.15.16, v4.14.33, v4.9.93, v4.4.127.
v4.16.1: Build OK!
v4.15.16: Build OK!
v4.14.33: Build OK!
v4.9.93: Build OK!
v4.4.127: Build OK!
Please let us know if you'd like to have this patch included in a stable tree.
--
Thanks,
Sasha