[Bug 217260] [kbdmux] fails to compile with LINT on ^/stable/10
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Feb 21 01:11:52 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217260
Bug ID: 217260
Summary: [kbdmux] fails to compile with LINT on ^/stable/10
Product: Base System
Version: 10.3-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: freebsd-bugs at FreeBSD.org
Reporter: ngie at FreeBSD.org
kbdmux(4) fails to compile with some LINT options on ^/stable/10 with the error
shown below. From
https://ci.freebsd.org/job/FreeBSD-stable-10-i386-LINT/141/console :
20:40:20 /workspace/src/sys/modules/kbdmux/../../dev/kbdmux/kbdmux.c:411:26:
error: use of undeclared identifier 'key_map'; did you mean 'keymap'?
20:40:20 keymap = malloc(sizeof(key_map), M_KBDMUX, M_NOWAIT);
20:40:20 ^~~~~~~
20:40:20 keymap
20:40:20 /workspace/src/sys/modules/kbdmux/../../dev/kbdmux/kbdmux.c:403:12:
note: 'keymap' declared here
20:40:20 keymap_t *keymap = NULL;
20:40:20 ^
20:40:20 /workspace/src/sys/modules/kbdmux/../../dev/kbdmux/kbdmux.c:412:26:
error: use of undeclared identifier 'accent_map'; did you mean 'accentmap_t'?
20:40:20 accmap = malloc(sizeof(accent_map), M_KBDMUX,
M_NOWAIT);
20:40:20 ^
20:40:20 @/sys/kbio.h:210:26: note: 'accentmap_t' declared here
20:40:20 typedef struct accentmap accentmap_t;
20:40:20 ^
20:40:20 /workspace/src/sys/modules/kbdmux/../../dev/kbdmux/kbdmux.c:442:10:
error: use of undeclared identifier 'key_map'; did you mean 'keymap'?
20:40:20 bcopy(&key_map, keymap, sizeof(key_map));
20:40:20 ^~~~~~~
20:40:20 keymap
I've seen this issue with "make tinderbox" on ^/stable/10 as well in the past.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list