Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Feb 2017 01:11:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217260] [kbdmux] fails to compile with LINT on ^/stable/10
Message-ID:  <bug-217260-8@https.bugs.freebsd.org/bugzilla/>

Next in thread | Raw E-Mail | Index | Archive | Help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217260

            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@FreeBSD.org
          Reporter: ngie@FreeBSD.org

kbdmux(4) fails to compile with some LINT options on ^/stable/10 with the e=
rror
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 =3D malloc(sizeof(key_map), M_KBDMUX, M_NOW=
AIT);
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 =3D 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 =3D 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 pa=
st.

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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?bug-217260-8>