Received: by mail.netbsd.org (Postfix, from userid 605) id 0388884E65; Thu, 15 Jul 2021 05:07:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 35D0084D24 for ; Thu, 15 Jul 2021 05:07:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id VDJG__TSUujz for ; Thu, 15 Jul 2021 05:07:50 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id B7E4984D0C for ; Thu, 15 Jul 2021 05:07:50 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id A0755FA95; Thu, 15 Jul 2021 05:07:50 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 15 Jul 2021 05:07:50 +0000 From: "Rin Okuyama" Subject: CVS commit: src/sys/arch/landisk/dev To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210715050750.A0755FA95@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Rin Okuyama" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: rin Date: Thu Jul 15 05:07:50 UTC 2021 Modified Files: src/sys/arch/landisk/dev: btn_obio.c button.c buttonvar.h Log Message: Migrate btn_init() from btnopen() (with RUN_ONCE) to btn_obio_attach(). Fix uninitialized use of btn_event_list_lock in btn_event_register(). Found by LOCKDEBUG. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/landisk/dev/btn_obio.c cvs rdiff -u -r1.10 -r1.11 src/sys/arch/landisk/dev/button.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/landisk/dev/buttonvar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.