[Bug 256675] [usb] [if_ure] device gets stuck in link down after a few linkup/linkdown events

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Jun 2021 12:30:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256675

--- Comment #2 from Erik Inge Bolsø <knan-bfo@modirum.com> ---
Hi. Tried applying these two patches to releng/13.0 and got a compile error.
What branch should I try these against?

cc -target x86_64-unknown-freebsd13.0
--sysroot=/usr/obj/usr/src/amd64.amd64/tmp
-B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -c -O2 -pipe  -fno-strict-aliasing 
-g -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include
-I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
opt_global.h -fno-common    -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -MD  -MF.depend.subr_epoch.o -MTsubr_epoch.o
-fdebug-prefix-map=./machine=/usr/src/sys/amd64/include
-fdebug-prefix-map=./x86=/usr/src/sys/x86/include -mcmodel=kernel -mno-red-zone
-mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef
-Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error-tautological-compare
-Wno-error-empty-body -Wno-error-parentheses-equality
-Wno-error-unused-function -Wno-error-pointer-sign
-Wno-error-shift-negative-value -Wno-address-of-packed-member
-Wno-format-zero-length   -mno-aes -mno-avx  -std=iso9899:1999 -Werror 
/usr/src/sys/kern/subr_epoch.c
/usr/src/sys/kern/subr_epoch.c:489:6: error: no member named 'et_old_priority'
in 'struct epoch_tracker'
        et->et_old_priority = 0;        /* not used */
        ~~  ^
1 error generated.
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.