I Sell Sure Spamming Toolz
What we have on Stock Daily
Inbox Webmail
Inbox SMTP
Fresh USA email leads
Fresh Canada email leads
Fresh Loan email leads
Fresh Business emails leads
Real Eastate email leads
Conference delegates email leads
Fresh Job Seaker emails
cPanel HTTP and HTTPs
Shell Zip/Unzipp
Mailer
RDP
All ScamPages
Bank ScamPage
Add me on whatsapp or call me
Watsapp: +2348107268246
Only Real buyers
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
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: 28.7865)
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: Failed to apply! Possible dependencies:
dbec4c9040ed ("scsi: mpt3sas: lockless command submission")
v4.14.33: Failed to apply! Possible dependencies:
dbec4c9040ed ("scsi: mpt3sas: lockless command submission")
v4.9.93: Failed to apply! Possible dependencies:
dbec4c9040ed ("scsi: mpt3sas: lockless command submission")
v4.4.127: Failed to apply! Possible dependencies:
dbec4c9040ed ("scsi: mpt3sas: lockless command submission")
Please let us know if you'd like to have this patch included in a stable tree.
--
Thanks,
Sasha
Just in case 0day hasn't reported it yet.
drivers/clk/sunxi-ng/ccu-sun8i-de2.c:132:14: error: 'sun8i_h3_de2_clks' undeclared here
drivers/clk/sunxi-ng/ccu-sun8i-de2.c:135:14: error: 'sun8i_h3_de2_hw_clks' undeclared here
Seen in arm:allmodconfig, arm64:allmodconfig builds of v4.15.y.queue and v4.16.y.queue.
Guenter
Hi Greg
Here is a series that addresses microcode loading stability issues post
Spectre. All of them are simply cherry-picked and the patches themselves
have the upstream commit ID's.
I checked this for Intel platforms and thanks to Boris for checking
on AMD platforms.
I'm still working on a 4.9 backport, will send those once i get them to
work. stop_machine differences seem big enough that i might choose a
different approach for the 4.9 backport.
Cheers,
Ashok
Ashok Raj (4):
x86/microcode/intel: Check microcode revision before updating sibling
threads
x86/microcode/intel: Writeback and invalidate caches before updating
microcode
x86/microcode: Do not upload microcode if CPUs are offline
x86/microcode: Synchronize late microcode loading
Borislav Petkov (8):
x86/microcode: Propagate return value from updating functions
x86/CPU: Add a microcode loader callback
x86/CPU: Check CPU feature bits after microcode upgrade
x86/microcode: Get rid of struct apply_microcode_ctx
x86/microcode/intel: Look into the patch cache first
x86/microcode: Request microcode on the BSP
x86/microcode: Attempt late loading only when new microcode is present
x86/microcode: Fix CPU synchronization routine
arch/x86/include/asm/microcode.h | 10 +-
arch/x86/include/asm/processor.h | 1 +
arch/x86/kernel/cpu/common.c | 30 ++++++
arch/x86/kernel/cpu/microcode/amd.c | 44 +++++----
arch/x86/kernel/cpu/microcode/core.c | 181 ++++++++++++++++++++++++++--------
arch/x86/kernel/cpu/microcode/intel.c | 62 +++++++++---
6 files changed, 252 insertions(+), 76 deletions(-)
--
2.7.4
This is the start of the stable review cycle for the 4.4.124 release.
There are 97 patches in this series, all will be posted as a response
to this one. If anyone has any issues with these being applied, please
let me know.
Responses should be made by Sun Mar 25 09:41:34 UTC 2018.
Anything received after that time might be too late.
The whole patch series can be found in one patch at:
https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.4.124-rc…
or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y
and the diffstat can be found below.
thanks,
greg k-h
-------------
Pseudo-Shortlog of commits:
Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Linux 4.4.124-rc1
Leon Romanovsky <leonro(a)mellanox.com>
RDMA/ucma: Fix access to non-initialized CM_ID object
Vignesh R <vigneshr(a)ti.com>
dmaengine: ti-dma-crossbar: Fix event mapping for TPCC_EVT_MUX_60_63
Sergej Sawazki <sergej(a)taudac.com>
clk: si5351: Rename internal plls to avoid name collisions
Benjamin Coddington <bcodding(a)redhat.com>
nfsd4: permit layoutget of executable-only files
Anton Vasilyev <vasilyev(a)ispras.ru>
RDMA/ocrdma: Fix permissions for OCRDMA_RESET_STATS
Alexey Kodanev <alexey.kodanev(a)oracle.com>
ip6_vti: adjust vti mtu according to mtu of lower device
Jerry Snitselaar <jsnitsel(a)redhat.com>
iommu/vt-d: clean up pr_irq if request_threaded_irq fails
Florian Fainelli <f.fainelli(a)gmail.com>
pinctrl: Really force states during suspend/resume
Robert Walker <robert.walker(a)arm.com>
coresight: Fix disabling of CoreSight TPIU
Sahara <keun-o.park(a)darkmatter.ae>
pty: cancel pty slave port buf's work in tty_release
Peter Ujfalusi <peter.ujfalusi(a)ti.com>
drm/omap: DMM: Check for DMM readiness after successful transaction commit
Bjorn Helgaas <bhelgaas(a)google.com>
vgacon: Set VGA struct resource types
Artemy Kovalyov <artemyko(a)mellanox.com>
IB/umem: Fix use of npages/nmap fields
Parav Pandit <parav(a)mellanox.com>
RDMA/cma: Use correct size when writing netlink stats
Erez Shitrit <erezsh(a)mellanox.com>
IB/ipoib: Avoid memory leak if the SA returns a different DGID
Daniel Drake <drake(a)endlessm.com>
mmc: avoid removing non-removable hosts during suspend
Shawn Nematbakhsh <shawnn(a)chromium.org>
platform/chrome: Use proper protocol transfer function
Arnd Bergmann <arnd(a)arndb.de>
cros_ec: fix nul-termination for firmware build info
Ron Economos <w6rz(a)comcast.net>
media: [RESEND] media: dvb-frontends: Add delay to Si2168 restart
Christophe JAILLET <christophe.jaillet(a)wanadoo.fr>
media: bt8xx: Fix err 'bt878_probe()'
Tsang-Shian Lin <thlin(a)realtek.com>
rtlwifi: rtl_pci: Fix the bug when inactiveps is enabled.
Geert Uytterhoeven <geert(a)linux-m68k.org>
RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()
Prakash Kamliya <pkamliya(a)codeaurora.org>
drm/msm: fix leak in failed get_pages
Gustavo A. R. Silva <garsilva(a)embeddedor.com>
media: c8sectpfe: fix potential NULL pointer dereference in c8sectpfe_timer_interrupt
Loic Poulain <loic.poulain(a)linaro.org>
Bluetooth: hci_qca: Avoid setup failure on missing rampatch
Kim Phillips <kim.phillips(a)arm.com>
perf tests kmod-path: Don't fail if compressed modules aren't supported
Moritz Fischer <mdf(a)kernel.org>
rtc: ds1374: wdt: Fix stop/start ioctl always returning -EINVAL
Moritz Fischer <mdf(a)kernel.org>
rtc: ds1374: wdt: Fix issue with timeout scaling from secs to wdt ticks
Dan Carpenter <dan.carpenter(a)oracle.com>
cifs: small underflow in cnvrtDosUnixTm()
Timmy Li <lixiaoping3(a)huawei.com>
net: hns: fix ethtool_get_strings overflow in hns driver
Alexey Khoroshilov <khoroshilov(a)ispras.ru>
sm501fb: don't return zero on failure path in sm501fb_start()
Maksim Salau <maksim.salau(a)gmail.com>
video: fbdev: udlfb: Fix buffer on stack
Dmitry Monakhov <dmonakhov(a)openvz.org>
tcm_fileio: Prevent information leak for short reads
Sergei Trofimovich <slyfox(a)gentoo.org>
ia64: fix module loading for gcc-5.4
Shaohua Li <shli(a)fb.com>
md/raid10: skip spare disk as 'first' disk
Sebastian Reichel <sebastian.reichel(a)collabora.co.uk>
Input: twl4030-pwrbutton - use correct device for irq request
Michael Trimarchi <michael(a)amarulasolutions.com>
power: supply: pda_power: move from timer to delayed_work
Scott Wood <swood(a)redhat.com>
bnx2x: Align RX buffers
Mario Kleiner <mario.kleiner.de(a)gmail.com>
drm/nouveau/kms: Increase max retries in scanout position queries.
Hans de Goede <hdegoede(a)redhat.com>
ACPI / PMIC: xpower: Fix power_table addresses
Robert Lippert <roblip(a)gmail.com>
ipmi/watchdog: fix wdog hang on panic waiting for ipmi response
Kishon Vijay Abraham I <kishon(a)ti.com>
ARM: DRA7: clockdomain: Change the CLKTRCTRL of CM_PCIE_CLKSTCTRL to SW_WKUP
yangbo lu <yangbo.lu(a)nxp.com>
mmc: sdhci-of-esdhc: limit SD clock for ls1012a/ls1046a
Pan Bian <bianpan2016(a)163.com>
staging: wilc1000: fix unchecked return value
Sameer Wadgaonkar <sameer.wadgaonkar(a)unisys.com>
staging: unisys: visorhba: fix s-Par to boot with option CONFIG_VMAP_STACK set to y
Ming Lei <ming.lei(a)redhat.com>
mtip32xx: use runtime tag to initialize command header
Keerthy <j-keerthy(a)ti.com>
mfd: palmas: Reset the POWERHOLD mux during power off
Emmanuel Grumbach <emmanuel.grumbach(a)intel.com>
mac80211: don't parse encrypted management frames in ieee80211_frame_acked
Filipe Manana <fdmanana(a)suse.com>
Btrfs: send, fix file hole not being preserved due to inline extent
Pan Bian <bianpan2016(a)163.com>
rndis_wlan: add return value validation
Pan Bian <bianpan2016(a)163.com>
mt7601u: check return value of alloc_skb
Shrirang Bagul <shrirang.bagul(a)canonical.com>
iio: st_pressure: st_accel: Initialise sensor platform data properly
NeilBrown <neilb(a)suse.com>
NFS: don't try to cross a mountpount when there isn't one there.
Vlad Tsyrklevich <vlad(a)tsyrklevich.net>
infiniband/uverbs: Fix integer overflows
Finn Thain <fthain(a)telegraphics.com.au>
scsi: mac_esp: Replace bogus memory barrier with spinlock
Pan Bian <bianpan2016(a)163.com>
qlcnic: fix unchecked return value
Pan Bian <bianpan2016(a)163.com>
wan: pc300too: abort path on failure
Dan Carpenter <dan.carpenter(a)oracle.com>
mmc: host: omap_hsmmc: checking for NULL instead of IS_ERR()
Jarno Rajahalme <jarno(a)ovn.org>
openvswitch: Delete conntrack entry clashing with an expectation.
Gao Feng <fgao(a)ikuai8.com>
netfilter: xt_CT: fix refcnt leak on error path
James Smart <jsmart2021(a)gmail.com>
Fix driver usage of 128B WQEs when WQ_CREATE is V1.
Dan Carpenter <dan.carpenter(a)oracle.com>
ASoC: Intel: Skylake: Uninitialized variable in probe_codec()
Maor Gottlieb <maorg(a)mellanox.com>
IB/mlx4: Change vma from shared to private
Maor Gottlieb <maorg(a)mellanox.com>
IB/mlx4: Take write semaphore when changing the vma struct
Dan Carpenter <dan.carpenter(a)oracle.com>
HSI: ssi_protocol: double free in ssip_pn_xmit()
Feras Daoud <ferasda(a)mellanox.com>
IB/ipoib: Update broadcast object if PKey value was changed in index 0
Feras Daoud <ferasda(a)mellanox.com>
IB/ipoib: Fix deadlock between ipoib_stop and mcast join flow
Mikhail Paulyshka <me(a)mixaill.tk>
ALSA: hda - Fix headset microphone detection for ASUS N551 and N751
Bernd Faust <berndfaust(a)gmail.com>
e1000e: fix timing for 82579 Gigabit Ethernet controller
Eric Dumazet <edumazet(a)google.com>
tcp: remove poll() flakes with FastOpen
Benjamin Coddington <bcodding(a)redhat.com>
NFS: Fix missing pg_cleanup after nfs_pageio_cond_complete()
Guoqing Jiang <gqjiang(a)suse.com>
md/raid10: wait up frozen array in handle_write_completed
Suman Anna <s-anna(a)ti.com>
iommu/omap: Register driver before setting IOMMU ops
Abel Vesa <abelvesa(a)linux.com>
ARM: 8668/1: ftrace: Fix dynamic ftrace with DEBUG_RODATA and !FRAME_POINTER
Alexey Kardashevskiy <aik(a)ozlabs.ru>
KVM: PPC: Book3S PR: Exit KVM on failed mapping
David Gibson <david(a)gibson.dropbear.id.au>
scsi: virtio_scsi: Always try to read VPD pages
Bharat Kumar Reddy Gooty <bharat.gooty(a)broadcom.com>
clk: ns2: Correct SDIO bits
Mohammed Shafi Shajakhan <mohammed(a)qti.qualcomm.com>
ath: Fix updating radar flags for coutry code India
Marek Vasut <marex(a)denx.de>
spi: dw: Disable clock after unregistering the host
Jasmin J <jasmin(a)anw.at>
media/dvb-core: Race condition when writing to CAM
David Ahern <dsa(a)cumulusnetworks.com>
net: ipv6: send unsolicited NA on admin up
Edgar Cherkasov <echerkasov(a)dev.rtsoft.ru>
i2c: i2c-scmi: add a MS HID
Hans de Goede <hdegoede(a)redhat.com>
genirq: Use irqd_get_trigger_type to compare the trigger type for shared IRQs
Thomas Gleixner <tglx(a)linutronix.de>
cpufreq/sh: Replace racy task affinity logic
Thomas Gleixner <tglx(a)linutronix.de>
ACPI/processor: Replace racy task affinity logic
Thomas Gleixner <tglx(a)linutronix.de>
ACPI/processor: Fix error handling in __acpi_processor_start()
Deepa Dinamani <deepa.kernel(a)gmail.com>
time: Change posix clocks ops interfaces to use timespec64
Dmitry Torokhov <dmitry.torokhov(a)gmail.com>
Input: ar1021_i2c - fix too long name in driver's device table
Hans de Goede <hdegoede(a)redhat.com>
rtc: cmos: Do not assume irq 8 for rtc when there are no legacy irqs
Hans de Goede <hdegoede(a)redhat.com>
x86: i8259: export legacy_pic symbol
Dong Aisheng <aisheng.dong(a)nxp.com>
regulator: anatop: set default voltage selector for pcie
Santeri Toivonen <santeri.toivonen(a)vatsul.com>
platform/x86: asus-nb-wmi: Add wapf4 quirk for the X302UA
Yisheng Xie <xieyisheng1(a)huawei.com>
staging: android: ashmem: Fix possible deadlock in ashmem_ioctl
Pavel Shilovsky <pshilov(a)microsoft.com>
CIFS: Enable encryption during session setup phase
Steve French <smfrench(a)gmail.com>
SMB3: Validate negotiate request must always be signed
Jeremy Boone <jeremy.boone(a)nccgroup.trust>
tpm_tis: fix potential buffer overruns caused by bit glitches on the bus
Jeremy Boone <jeremy.boone(a)nccgroup.trust>
tpm: fix potential buffer overruns caused by bit glitches on the bus
-------------
Diffstat:
Makefile | 4 +-
arch/alpha/kernel/console.c | 1 +
arch/arm/kernel/ftrace.c | 11 ++--
arch/arm/mach-omap2/clockdomains7xx_data.c | 2 +-
arch/ia64/kernel/module.c | 4 +-
arch/powerpc/kvm/book3s_64_mmu_host.c | 5 +-
arch/powerpc/kvm/book3s_pr.c | 6 ++-
arch/x86/kernel/i8259.c | 1 +
drivers/acpi/pmic/intel_pmic_xpower.c | 50 ++++++++---------
drivers/acpi/processor_driver.c | 10 +++-
drivers/acpi/processor_throttling.c | 62 +++++++++++++---------
drivers/block/mtip32xx/mtip32xx.c | 36 ++++++++-----
drivers/bluetooth/hci_qca.c | 3 ++
drivers/char/ipmi/ipmi_watchdog.c | 8 +--
drivers/char/tpm/tpm-interface.c | 5 ++
drivers/char/tpm/tpm2-cmd.c | 6 +++
drivers/char/tpm/tpm_tis.c | 5 +-
drivers/clk/bcm/clk-ns2.c | 2 +-
drivers/clk/clk-si5351.c | 2 +-
drivers/cpufreq/sh-cpufreq.c | 45 +++++++++-------
drivers/dma/ti-dma-crossbar.c | 10 +++-
drivers/gpu/drm/msm/msm_gem.c | 14 +++--
drivers/gpu/drm/nouveau/nouveau_display.c | 2 +-
drivers/gpu/drm/omapdrm/omap_dmm_tiler.c | 5 ++
drivers/hsi/clients/ssi_protocol.c | 5 +-
drivers/hwtracing/coresight/coresight-tpiu.c | 13 +++--
drivers/i2c/busses/i2c-scmi.c | 4 ++
drivers/iio/accel/st_accel_core.c | 7 +--
drivers/iio/pressure/st_pressure_core.c | 8 +--
drivers/infiniband/core/cma.c | 5 +-
drivers/infiniband/core/iwpm_util.c | 1 +
drivers/infiniband/core/umem.c | 2 +-
drivers/infiniband/core/uverbs_cmd.c | 13 ++++-
drivers/infiniband/hw/mlx4/main.c | 6 ++-
drivers/infiniband/hw/ocrdma/ocrdma_stats.c | 2 +-
drivers/infiniband/ulp/ipoib/ipoib_ib.c | 13 +++++
drivers/infiniband/ulp/ipoib/ipoib_main.c | 16 ++++++
drivers/infiniband/ulp/ipoib/ipoib_multicast.c | 11 ++--
drivers/input/misc/twl4030-pwrbutton.c | 2 +-
drivers/input/touchscreen/ar1021_i2c.c | 2 +-
drivers/iommu/intel-svm.c | 9 ++--
drivers/iommu/omap-iommu.c | 21 ++++++--
drivers/md/raid10.c | 6 +++
drivers/media/dvb-core/dvb_ca_en50221.c | 23 ++++++++
drivers/media/dvb-frontends/si2168.c | 3 ++
drivers/media/pci/bt8xx/bt878.c | 3 +-
.../media/platform/sti/c8sectpfe/c8sectpfe-core.c | 4 +-
drivers/mfd/palmas.c | 14 +++++
drivers/mmc/core/core.c | 8 +++
drivers/mmc/host/omap_hsmmc.c | 4 +-
drivers/mmc/host/sdhci-of-esdhc.c | 14 +++++
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 1 +
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 2 +-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c | 2 +-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 2 +-
.../net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c | 2 +-
drivers/net/ethernet/intel/e1000e/netdev.c | 6 +++
.../ethernet/qlogic/qlcnic/qlcnic_sriov_common.c | 2 +
drivers/net/wan/pc300too.c | 1 +
drivers/net/wireless/ath/regd.c | 19 ++++---
drivers/net/wireless/mediatek/mt7601u/mcu.c | 10 +++-
drivers/net/wireless/realtek/rtlwifi/pci.c | 7 +++
drivers/net/wireless/rndis_wlan.c | 4 ++
drivers/pinctrl/core.c | 24 ++++++---
drivers/platform/chrome/cros_ec_proto.c | 8 +--
drivers/platform/chrome/cros_ec_sysfs.c | 2 +-
drivers/platform/x86/asus-nb-wmi.c | 9 ++++
drivers/power/pda_power.c | 49 +++++++++--------
drivers/ptp/ptp_clock.c | 18 +++----
drivers/regulator/anatop-regulator.c | 5 ++
drivers/rtc/rtc-cmos.c | 17 ++++--
drivers/rtc/rtc-ds1374.c | 10 +++-
drivers/scsi/lpfc/lpfc_sli.c | 3 ++
drivers/scsi/mac_esp.c | 33 ++++++++----
drivers/scsi/virtio_scsi.c | 24 +++++++++
drivers/spi/spi-dw-mmio.c | 2 +-
drivers/staging/android/ashmem.c | 8 ++-
drivers/staging/unisys/visorhba/visorhba_main.c | 8 ++-
drivers/staging/wilc1000/linux_mon.c | 2 +
drivers/target/target_core_file.c | 23 +++++---
drivers/tty/tty_io.c | 2 +
drivers/video/console/vgacon.c | 34 +++++++++---
drivers/video/fbdev/sm501fb.c | 1 +
drivers/video/fbdev/udlfb.c | 14 ++++-
fs/btrfs/send.c | 23 +++++++-
fs/cifs/netmisc.c | 6 +--
fs/cifs/sess.c | 22 ++++----
fs/cifs/smb2pdu.c | 11 ++--
fs/nfs/pagelist.c | 6 ++-
fs/nfsd/nfs4proc.c | 6 +--
fs/nfsd/vfs.c | 24 +++++++--
include/linux/posix-clock.h | 10 ++--
kernel/irq/manage.c | 4 +-
kernel/time/posix-clock.c | 34 ++++++++----
net/ipv4/tcp_input.c | 16 +++---
net/ipv6/ip6_vti.c | 20 +++++++
net/ipv6/ndisc.c | 2 +
net/mac80211/status.c | 1 +
net/netfilter/xt_CT.c | 11 +++-
net/openvswitch/conntrack.c | 30 ++++++++++-
sound/pci/hda/patch_realtek.c | 12 ++++-
sound/soc/intel/skylake/skl.c | 2 +-
tools/perf/tests/kmod-path.c | 2 +
103 files changed, 811 insertions(+), 303 deletions(-)
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.14-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.14 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 13:58:16 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.14/signal-metag-document-a-conflict-with-si_user-with-sigfpe.patch
queue-4.14/signal-arm-document-conflicts-with-si_user-and-sigfpe.patch
queue-4.14/signal-powerpc-document-conflicts-with-si_user-and-sigfpe-and-sigtrap.patch
The description of commit e39a97353e53 is wrong: it mentions that
commit 2a842acab109 introduced a bug in __scsi_error_from_host_byte()
although that commit did not change the behavior of that function.
Additionally, commit e39a97353e53 introduced a bug: it causes commands
that fail with hostbyte=DID_OK and driverbyte=DRIVER_SENSE to be
completed with BLK_STS_OK. Hence revert that commit.
Fixes: e39a97353e53 ("scsi: core: return BLK_STS_OK for DID_OK in __scsi_error_from_host_byte()")
Reported-by: Damien Le Moal <damien.lemoal(a)wdc.com>
Signed-off-by: Bart Van Assche <bart.vanassche(a)wdc.com>
Cc: Hannes Reinecke <hare(a)suse.com>
Cc: Douglas Gilbert <dgilbert(a)interlog.com>
Cc: Damien Le Moal <damien.lemoal(a)wdc.com>
Cc: Christoph Hellwig <hch(a)lst.de>
Cc: Lee Duncan <lduncan(a)suse.com>
Cc: stable(a)vger.kernel.org
---
drivers/scsi/scsi_lib.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index 1d83f29aee74..c0e4ae733cce 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -733,8 +733,6 @@ static blk_status_t __scsi_error_from_host_byte(struct scsi_cmnd *cmd,
int result)
{
switch (host_byte(result)) {
- case DID_OK:
- return BLK_STS_OK;
case DID_TRANSPORT_FAILFAST:
return BLK_STS_TRANSPORT;
case DID_TARGET_FAILURE:
--
2.16.2
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.15-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.15 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 10:16:32 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.15/signal-metag-document-a-conflict-with-si_user-with-sigfpe.patch
queue-4.15/signal-arm-document-conflicts-with-si_user-and-sigfpe.patch
queue-4.15/signal-powerpc-document-conflicts-with-si_user-and-sigfpe-and-sigtrap.patch
This is a note to let you know that I've just added the patch titled
signal/powerpc: Document conflicts with SI_USER and SIGFPE and SIGTRAP
to the 4.15-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-powerpc-document-conflicts-with-si_user-and-sigfpe-and-sigtrap.patch
and it can be found in the queue-4.15 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 10:16:32 CEST 2018
From: "Eric W. Biederman" <ebiederm(a)xmission.com>
Date: Sat, 19 Aug 2017 15:26:01 -0500
Subject: signal/powerpc: Document conflicts with SI_USER and SIGFPE and SIGTRAP
From: "Eric W. Biederman" <ebiederm(a)xmission.com>
[ Upstream commit cf4674c46c66e45f238f8f7e81af2a444b970c0a ]
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 and TRAP_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: Paul Mackerras <paulus(a)samba.org>
Cc: Kumar Gala <kumar.gala(a)freescale.com>
Cc: Michael Ellerman <mpe(a)ellerman.id.au>
Cc: Benjamin Herrenschmidt <benh(a)kernel.crashing.org>
Cc: linuxppc-dev(a)lists.ozlabs.org
Ref: 9bad068c24d7 ("[PATCH] ppc32: support for e500 and 85xx")
Ref: 0ed70f6105ef ("PPC32: Provide proper siginfo information on various exceptions.")
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/powerpc/include/uapi/asm/siginfo.h | 15 +++++++++++++++
arch/powerpc/kernel/traps.c | 10 +++++-----
2 files changed, 20 insertions(+), 5 deletions(-)
--- a/arch/powerpc/include/uapi/asm/siginfo.h
+++ b/arch/powerpc/include/uapi/asm/siginfo.h
@@ -18,4 +18,19 @@
#undef NSIGTRAP
#define NSIGTRAP 4
+/*
+ * SIGFPE si_codes
+ */
+#ifdef __KERNEL__
+#define FPE_FIXME 0 /* Broken dup of SI_USER */
+#endif /* __KERNEL__ */
+
+/*
+ * SIGTRAP si_codes
+ */
+#ifdef __KERNEL__
+#define TRAP_FIXME 0 /* Broken dup of SI_USER */
+#endif /* __KERNEL__ */
+
+
#endif /* _ASM_POWERPC_SIGINFO_H */
--- a/arch/powerpc/kernel/traps.c
+++ b/arch/powerpc/kernel/traps.c
@@ -917,7 +917,7 @@ void unknown_exception(struct pt_regs *r
printk("Bad trap at PC: %lx, SR: %lx, vector=%lx\n",
regs->nip, regs->msr, regs->trap);
- _exception(SIGTRAP, regs, 0, 0);
+ _exception(SIGTRAP, regs, TRAP_FIXME, 0);
exception_exit(prev_state);
}
@@ -939,7 +939,7 @@ bail:
void RunModeException(struct pt_regs *regs)
{
- _exception(SIGTRAP, regs, 0, 0);
+ _exception(SIGTRAP, regs, TRAP_FIXME, 0);
}
void single_step_exception(struct pt_regs *regs)
@@ -978,7 +978,7 @@ static void emulate_single_step(struct p
static inline int __parse_fpscr(unsigned long fpscr)
{
- int ret = 0;
+ int ret = FPE_FIXME;
/* Invalid operation */
if ((fpscr & FPSCR_VE) && (fpscr & FPSCR_VX))
@@ -1929,7 +1929,7 @@ void SPEFloatingPointException(struct pt
extern int do_spe_mathemu(struct pt_regs *regs);
unsigned long spefscr;
int fpexc_mode;
- int code = 0;
+ int code = FPE_FIXME;
int err;
flush_spe_to_thread(current);
@@ -1998,7 +1998,7 @@ void SPEFloatingPointRoundException(stru
printk(KERN_ERR "unrecognized spe instruction "
"in %s at %lx\n", current->comm, regs->nip);
} else {
- _exception(SIGFPE, regs, 0, regs->nip);
+ _exception(SIGFPE, regs, FPE_FIXME, regs->nip);
return;
}
}
Patches currently in stable-queue which might be from ebiederm(a)xmission.com are
queue-4.15/signal-metag-document-a-conflict-with-si_user-with-sigfpe.patch
queue-4.15/signal-arm-document-conflicts-with-si_user-and-sigfpe.patch
queue-4.15/signal-powerpc-document-conflicts-with-si_user-and-sigfpe-and-sigtrap.patch
The HP EliteBook G3 850 has a weird bug where a subsequent cold boot
hangs while plugged in if Linux enables the Host Notify features of
i2c-i801. The cold boot hang depends on how the system boots. It does
not hang on UEFI Grub text boot or legacy Grub text boot. But it does
hang on legacy Grub graphical boot and Intel Boot Agent PXE text boot.
Booting unplugged is not affected.
Disabling the Host Notify feature with disable_feature=0x20 works around
the bug, so automatically do so based on DMI information.
More information can be found here:
https://www.spinics.net/lists/linux-i2c/msg33938.html
Signed-off-by: Jason Andryuk <jandryuk(a)gmail.com>
Reviewed-by: Jean Delvare <jdelvare(a)suse.de>
Cc: stable(a)vger.kernel.org
---
v3: Switch to DMI_EXACT_MATCH and add empty element to array
drivers/i2c/busses/i2c-i801.c | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c
index 692b34125866..11149ddae745 100644
--- a/drivers/i2c/busses/i2c-i801.c
+++ b/drivers/i2c/busses/i2c-i801.c
@@ -1042,6 +1042,27 @@ static const struct pci_device_id i801_ids[] = {
MODULE_DEVICE_TABLE(pci, i801_ids);
#if defined CONFIG_X86 && defined CONFIG_DMI
+static const struct dmi_system_id host_notify_dmi_blacklist[] = {
+ {
+ .ident = "HP EliteBook G3 850",
+ .matches = {
+ DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "HP"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME,
+ "HP EliteBook 850 G3"),
+ },
+ },
+ {}
+};
+
+static void blacklist_features(struct i801_priv *priv)
+{
+ if (dmi_check_system(host_notify_dmi_blacklist)) {
+ dev_warn(&priv->pci_dev->dev,
+ "SMBus Host Notify disabled on this system");
+ priv->features &= ~FEATURE_HOST_NOTIFY;
+ }
+}
+
static unsigned char apanel_addr;
/* Scan the system ROM for the signature "FJKEYINF" */
@@ -1159,6 +1180,7 @@ static void i801_probe_optional_slaves(struct i801_priv *priv)
#else
static void __init input_apanel_init(void) {}
static void i801_probe_optional_slaves(struct i801_priv *priv) {}
+static void blacklist_features(struct i801_priv *priv) {}
#endif /* CONFIG_X86 && CONFIG_DMI */
#if IS_ENABLED(CONFIG_I2C_MUX_GPIO) && defined CONFIG_DMI
@@ -1562,6 +1584,7 @@ static int i801_probe(struct pci_dev *dev, const struct pci_device_id *id)
i801_feature_names[i]);
}
priv->features &= ~disable_features;
+ blacklist_features(priv);
err = pcim_enable_device(dev);
if (err) {
--
2.14.3
This is a note to let you know that I've just added the patch titled
sparc64: Oracle DAX driver depends on SPARC64
to the 4.16-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:
sparc64-oracle-dax-driver-depends-on-sparc64.patch
and it can be found in the queue-4.16 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 9c548bb5823dfcf7a16c6e65976d84d9581208c9 Mon Sep 17 00:00:00 2001
From: Guenter Roeck <linux(a)roeck-us.net>
Date: Mon, 26 Feb 2018 15:21:18 -0800
Subject: sparc64: Oracle DAX driver depends on SPARC64
From: Guenter Roeck <linux(a)roeck-us.net>
commit 9c548bb5823dfcf7a16c6e65976d84d9581208c9 upstream.
sparc:allmodconfig fails to build as follows.
ERROR: "mdesc_release" [drivers/sbus/char/oradax.ko] undefined!
ERROR: "sun4v_hvapi_register" [drivers/sbus/char/oradax.ko] undefined!
ERROR: "mdesc_get_property" [drivers/sbus/char/oradax.ko] undefined!
ERROR: "mdesc_node_by_name" [drivers/sbus/char/oradax.ko] undefined!
ERROR: "mdesc_grab" [drivers/sbus/char/oradax.ko] undefined!
ERROR: "sun4v_ccb_info" [drivers/sbus/char/oradax.ko] undefined!
ERROR: "sun4v_ccb_submit" [drivers/sbus/char/oradax.ko] undefined!
ERROR: "sun4v_ccb_kill" [drivers/sbus/char/oradax.ko] undefined!
The symbols are only available with SPARC64 builds, thus the driver
depends on it.
Fixes: dd0273284c74 ("sparc64: Oracle DAX driver")
Cc: Kees Cook <keescook(a)chromium.org>
Signed-off-by: Guenter Roeck <linux(a)roeck-us.net>
Signed-off-by: David S. Miller <davem(a)davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
drivers/sbus/char/Kconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/drivers/sbus/char/Kconfig
+++ b/drivers/sbus/char/Kconfig
@@ -72,7 +72,8 @@ config DISPLAY7SEG
config ORACLE_DAX
tristate "Oracle Data Analytics Accelerator"
- default m if SPARC64
+ depends on SPARC64
+ default m
help
Driver for Oracle Data Analytics Accelerator, which is
a coprocessor that performs database operations in hardware.
Patches currently in stable-queue which might be from linux(a)roeck-us.net are
queue-4.16/sparc64-oracle-dax-driver-depends-on-sparc64.patch
This is a note to let you know that I've just added the patch titled
x86/microcode: Synchronize late microcode loading
to the 4.15-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:
x86-microcode-synchronize-late-microcode-loading.patch
and it can be found in the queue-4.15 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 a5321aec6412b20b5ad15db2d6b916c05349dbff Mon Sep 17 00:00:00 2001
From: Ashok Raj <ashok.raj(a)intel.com>
Date: Wed, 28 Feb 2018 11:28:46 +0100
Subject: x86/microcode: Synchronize late microcode loading
From: Ashok Raj <ashok.raj(a)intel.com>
commit a5321aec6412b20b5ad15db2d6b916c05349dbff upstream.
Original idea by Ashok, completely rewritten by Borislav.
Before you read any further: the early loading method is still the
preferred one and you should always do that. The following patch is
improving the late loading mechanism for long running jobs and cloud use
cases.
Gather all cores and serialize the microcode update on them by doing it
one-by-one to make the late update process as reliable as possible and
avoid potential issues caused by the microcode update.
[ Borislav: Rewrite completely. ]
Co-developed-by: Borislav Petkov <bp(a)suse.de>
Signed-off-by: Ashok Raj <ashok.raj(a)intel.com>
Signed-off-by: Borislav Petkov <bp(a)suse.de>
Signed-off-by: Thomas Gleixner <tglx(a)linutronix.de>
Tested-by: Tom Lendacky <thomas.lendacky(a)amd.com>
Tested-by: Ashok Raj <ashok.raj(a)intel.com>
Reviewed-by: Tom Lendacky <thomas.lendacky(a)amd.com>
Cc: Arjan Van De Ven <arjan.van.de.ven(a)intel.com>
Link: https://lkml.kernel.org/r/20180228102846.13447-8-bp@alien8.de
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
arch/x86/kernel/cpu/microcode/core.c | 118 +++++++++++++++++++++++++++--------
1 file changed, 92 insertions(+), 26 deletions(-)
--- a/arch/x86/kernel/cpu/microcode/core.c
+++ b/arch/x86/kernel/cpu/microcode/core.c
@@ -22,13 +22,16 @@
#define pr_fmt(fmt) "microcode: " fmt
#include <linux/platform_device.h>
+#include <linux/stop_machine.h>
#include <linux/syscore_ops.h>
#include <linux/miscdevice.h>
#include <linux/capability.h>
#include <linux/firmware.h>
#include <linux/kernel.h>
+#include <linux/delay.h>
#include <linux/mutex.h>
#include <linux/cpu.h>
+#include <linux/nmi.h>
#include <linux/fs.h>
#include <linux/mm.h>
@@ -64,6 +67,11 @@ LIST_HEAD(microcode_cache);
*/
static DEFINE_MUTEX(microcode_mutex);
+/*
+ * Serialize late loading so that CPUs get updated one-by-one.
+ */
+static DEFINE_SPINLOCK(update_lock);
+
struct ucode_cpu_info ucode_cpu_info[NR_CPUS];
struct cpu_info_ctx {
@@ -486,6 +494,19 @@ static void __exit microcode_dev_exit(vo
/* fake device for request_firmware */
static struct platform_device *microcode_pdev;
+/*
+ * Late loading dance. Why the heavy-handed stomp_machine effort?
+ *
+ * - HT siblings must be idle and not execute other code while the other sibling
+ * is loading microcode in order to avoid any negative interactions caused by
+ * the loading.
+ *
+ * - In addition, microcode update on the cores must be serialized until this
+ * requirement can be relaxed in the future. Right now, this is conservative
+ * and good.
+ */
+#define SPINUNIT 100 /* 100 nsec */
+
static int check_online_cpus(void)
{
if (num_online_cpus() == num_present_cpus())
@@ -496,23 +517,85 @@ static int check_online_cpus(void)
return -EINVAL;
}
-static enum ucode_state reload_for_cpu(int cpu)
+static atomic_t late_cpus;
+
+/*
+ * Returns:
+ * < 0 - on error
+ * 0 - no update done
+ * 1 - microcode was updated
+ */
+static int __reload_late(void *info)
{
- struct ucode_cpu_info *uci = ucode_cpu_info + cpu;
+ unsigned int timeout = NSEC_PER_SEC;
+ int all_cpus = num_online_cpus();
+ int cpu = smp_processor_id();
+ enum ucode_state err;
+ int ret = 0;
+
+ atomic_dec(&late_cpus);
+
+ /*
+ * Wait for all CPUs to arrive. A load will not be attempted unless all
+ * CPUs show up.
+ * */
+ while (atomic_read(&late_cpus)) {
+ if (timeout < SPINUNIT) {
+ pr_err("Timeout while waiting for CPUs rendezvous, remaining: %d\n",
+ atomic_read(&late_cpus));
+ return -1;
+ }
+
+ ndelay(SPINUNIT);
+ timeout -= SPINUNIT;
+
+ touch_nmi_watchdog();
+ }
+
+ spin_lock(&update_lock);
+ apply_microcode_local(&err);
+ spin_unlock(&update_lock);
+
+ if (err > UCODE_NFOUND) {
+ pr_warn("Error reloading microcode on CPU %d\n", cpu);
+ ret = -1;
+ } else if (err == UCODE_UPDATED) {
+ ret = 1;
+ }
- if (!uci->valid)
- return UCODE_OK;
+ atomic_inc(&late_cpus);
- return apply_microcode_on_target(cpu);
+ while (atomic_read(&late_cpus) != all_cpus)
+ cpu_relax();
+
+ return ret;
+}
+
+/*
+ * Reload microcode late on all CPUs. Wait for a sec until they
+ * all gather together.
+ */
+static int microcode_reload_late(void)
+{
+ int ret;
+
+ atomic_set(&late_cpus, num_online_cpus());
+
+ ret = stop_machine_cpuslocked(__reload_late, NULL, cpu_online_mask);
+ if (ret < 0)
+ return ret;
+ else if (ret > 0)
+ microcode_check();
+
+ return ret;
}
static ssize_t reload_store(struct device *dev,
struct device_attribute *attr,
const char *buf, size_t size)
{
- int cpu, bsp = boot_cpu_data.cpu_index;
enum ucode_state tmp_ret = UCODE_OK;
- bool do_callback = false;
+ int bsp = boot_cpu_data.cpu_index;
unsigned long val;
ssize_t ret = 0;
@@ -534,30 +617,13 @@ static ssize_t reload_store(struct devic
goto put;
mutex_lock(µcode_mutex);
-
- for_each_online_cpu(cpu) {
- tmp_ret = reload_for_cpu(cpu);
- if (tmp_ret > UCODE_NFOUND) {
- pr_warn("Error reloading microcode on CPU %d\n", cpu);
-
- /* set retval for the first encountered reload error */
- if (!ret)
- ret = -EINVAL;
- }
-
- if (tmp_ret == UCODE_UPDATED)
- do_callback = true;
- }
-
- if (!ret && do_callback)
- microcode_check();
-
+ ret = microcode_reload_late();
mutex_unlock(µcode_mutex);
put:
put_online_cpus();
- if (!ret)
+ if (ret >= 0)
ret = size;
return ret;
Patches currently in stable-queue which might be from ashok.raj(a)intel.com are
queue-4.15/x86-microcode-intel-check-microcode-revision-before-updating-sibling-threads.patch
queue-4.15/x86-microcode-attempt-late-loading-only-when-new-microcode-is-present.patch
queue-4.15/x86-microcode-propagate-return-value-from-updating-functions.patch
queue-4.15/x86-cpu-check-cpu-feature-bits-after-microcode-upgrade.patch
queue-4.15/x86-microcode-intel-writeback-and-invalidate-caches-before-updating-microcode.patch
queue-4.15/x86-microcode-intel-look-into-the-patch-cache-first.patch
queue-4.15/x86-microcode-request-microcode-on-the-bsp.patch
queue-4.15/x86-microcode-get-rid-of-struct-apply_microcode_ctx.patch
queue-4.15/x86-microcode-fix-cpu-synchronization-routine.patch
queue-4.15/x86-microcode-synchronize-late-microcode-loading.patch
queue-4.15/x86-microcode-do-not-upload-microcode-if-cpus-are-offline.patch
queue-4.15/x86-cpu-add-a-microcode-loader-callback.patch
This is a note to let you know that I've just added the patch titled
x86/microcode: Request microcode on the BSP
to the 4.15-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:
x86-microcode-request-microcode-on-the-bsp.patch
and it can be found in the queue-4.15 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 cfb52a5a09c8ae3a1dafb44ce549fde5b69e8117 Mon Sep 17 00:00:00 2001
From: Borislav Petkov <bp(a)suse.de>
Date: Wed, 28 Feb 2018 11:28:45 +0100
Subject: x86/microcode: Request microcode on the BSP
From: Borislav Petkov <bp(a)suse.de>
commit cfb52a5a09c8ae3a1dafb44ce549fde5b69e8117 upstream.
... so that any newer version can land in the cache and can later be
fished out by the application functions. Do that before grabbing the
hotplug lock.
Signed-off-by: Borislav Petkov <bp(a)suse.de>
Signed-off-by: Thomas Gleixner <tglx(a)linutronix.de>
Tested-by: Tom Lendacky <thomas.lendacky(a)amd.com>
Tested-by: Ashok Raj <ashok.raj(a)intel.com>
Reviewed-by: Tom Lendacky <thomas.lendacky(a)amd.com>
Cc: Arjan Van De Ven <arjan.van.de.ven(a)intel.com>
Link: https://lkml.kernel.org/r/20180228102846.13447-7-bp@alien8.de
Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
---
arch/x86/kernel/cpu/microcode/core.c | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
--- a/arch/x86/kernel/cpu/microcode/core.c
+++ b/arch/x86/kernel/cpu/microcode/core.c
@@ -499,15 +499,10 @@ static int check_online_cpus(void)
static enum ucode_state reload_for_cpu(int cpu)
{
struct ucode_cpu_info *uci = ucode_cpu_info + cpu;
- enum ucode_state ustate;
if (!uci->valid)
return UCODE_OK;
- ustate = microcode_ops->request_microcode_fw(cpu, µcode_pdev->dev, true);
- if (ustate != UCODE_OK)
- return ustate;
-
return apply_microcode_on_target(cpu);
}
@@ -515,11 +510,11 @@ static ssize_t reload_store(struct devic
struct device_attribute *attr,
const char *buf, size_t size)
{
+ int cpu, bsp = boot_cpu_data.cpu_index;
enum ucode_state tmp_ret = UCODE_OK;
bool do_callback = false;
unsigned long val;
ssize_t ret = 0;
- int cpu;
ret = kstrtoul(buf, 0, &val);
if (ret)
@@ -528,6 +523,10 @@ static ssize_t reload_store(struct devic
if (val != 1)
return size;
+ tmp_ret = microcode_ops->request_microcode_fw(bsp, µcode_pdev->dev, true);
+ if (tmp_ret != UCODE_OK)
+ return size;
+
get_online_cpus();
ret = check_online_cpus();
Patches currently in stable-queue which might be from bp(a)suse.de are
queue-4.15/x86-microcode-intel-check-microcode-revision-before-updating-sibling-threads.patch
queue-4.15/x86-microcode-attempt-late-loading-only-when-new-microcode-is-present.patch
queue-4.15/x86-microcode-propagate-return-value-from-updating-functions.patch
queue-4.15/x86-cpu-check-cpu-feature-bits-after-microcode-upgrade.patch
queue-4.15/x86-microcode-intel-writeback-and-invalidate-caches-before-updating-microcode.patch
queue-4.15/x86-microcode-intel-look-into-the-patch-cache-first.patch
queue-4.15/edac-mv64x60-fix-an-error-handling-path.patch
queue-4.15/x86-microcode-request-microcode-on-the-bsp.patch
queue-4.15/x86-microcode-get-rid-of-struct-apply_microcode_ctx.patch
queue-4.15/x86-microcode-fix-cpu-synchronization-routine.patch
queue-4.15/x86-microcode-synchronize-late-microcode-loading.patch
queue-4.15/x86-microcode-do-not-upload-microcode-if-cpus-are-offline.patch
queue-4.15/x86-cpu-add-a-microcode-loader-callback.patch