[Bug 247129] [PATCH] Fix some compiler warnings in netinet alias module
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jun 9 22:47:07 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247129
Bug ID: 247129
Summary: [PATCH] Fix some compiler warnings in netinet alias
module
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: nikethmurali at protonmail.com
Created attachment 215410
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=215410&action=edit
Patch for /sys/netinet/libalias/alias.c
Patch contains fixes for warnings found when building kernel
1. /usr/src/sys/netinet/libalias/alias.c:472:12: warning: comparison of
integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
2. /usr/src/sys/netinet/libalias/alias.c:1559:35: warning: taking address of
packed member 'ip_src' of class or structure 'ip' may result in an unaligned
pointer value [-Waddress-of-packed-member]
3./usr/src/sys/netinet/libalias/alias.c:1433:42: error: taking address of
packed member 'ip_dst' of class or structure 'ip' may result in an unaligned
pointer value
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list