From owner-freebsd-bugs@freebsd.org Tue Feb 21 01:11:51 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E350ECE678E for ; Tue, 21 Feb 2017 01:11:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B98CA1616 for ; Tue, 21 Feb 2017 01:11:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1L1BpuP039127 for ; Tue, 21 Feb 2017 01:11:51 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 217260] [kbdmux] fails to compile with LINT on ^/stable/10 Date: Tue, 21 Feb 2017 01:11:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ngie@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 01:11:52 -0000 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.=