Bug 180449

Summary: Error in compiling kernel with device ixgbe
Product: Base System Reporter: Mikhail Timofeev <9267096>
Component: kernAssignee: jfv
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugmeister: mfc-stable10?
bugmeister: mfc-stable9?
bugmeister: mfc-stable8?
Priority: Normal    
Version: 10.0-CURRENT   
Hardware: Any   
OS: Any   

Description Mikhail Timofeev 2013-07-11 03:40:00 UTC
cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror /usr/src/sys/dev/ixgbe/ixgbe.c -I/usr/src/sys/dev/ixgbe -DSMP -DIXGBE_FDIR /usr/src/sys/dev/ixgbe/ixgbe.c:3946:11: error: no member named 'flag' in 'struct ixgbe_rx_buf'; did you mean 'flags'? rxbuf->flag = 0; ^~~~ flags /usr/src/sys/dev/ixgbe/ixgbe.h:253:9: note: 'flags' declared here u_int fla
 gs; ^ 1 error generated. *** Error code 1 Stop. make: stopped in /usr/obj/usr/src/sys/GENERIC *** Error code 1 Stop. make: stopped in /usr/src *** Error code 1 Stop. make: stopped in /usr/src
Comment 1 Mikhail Timofeev 2013-07-11 04:16:31 UTC
misprint in revision 251964:

 diff sys/dev/ixgbe/ixgbe.c.orig sys/dev/ixgbe/ixgbe.c
3946c3946
<             rxbuf->flag = 0;
---
>             rxbuf->flags = 0;
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2013-07-11 10:07:06 UTC
State Changed
From-To: open->patched

over to committer as possible MFC reminder. 


Comment 3 Mark Linimon freebsd_committer freebsd_triage 2013-07-11 10:07:06 UTC
Responsible Changed
From-To: freebsd-bugs->jfv