Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2102972rwd; Wed, 17 May 2023 05:57:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4SaZR+b6osBuT0HXq2xyIorFWWgZ4YI8FhWlxDJ502HvTu2J+M+3D8x4BXbk8zmw1JXKLF X-Received: by 2002:a17:90a:8283:b0:250:c4c1:882 with SMTP id g3-20020a17090a828300b00250c4c10882mr27058034pjn.30.1684328261149; Wed, 17 May 2023 05:57:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684328261; cv=none; d=google.com; s=arc-20160816; b=C1GRiD5wKca4rXUkIo1eIJvIyo7TEAUym0osXuXx4B8M3weoovyro+DfyqRZS/DnaT 9Y1CiGJi8JbQrcELm3JF69rP/AgXOA9q+YJOE/7LgsBtd517MPSvVnB1I/XNdaB4vk72 ltcyPCD4LrjH2lOwtB239eaOGHJ8ZDeJ7AYKOWcfjC0zXAfEygCv/E64EkE9fddXelBd JCV6H83AZ9CDxnCybD0s1hsmcw34l/gsbKBx6IXP3KMqhe6f38EsxLYV8Gew1/PRccKv sX8I2iZ6/kpZ0JlQbkdaLdfkMTc1ZPMgpdeZajKDt9wP6yB2FScF2/gxQoMi7yeIDoo4 3k5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+m0jPCA3lKy/BRNgyWSM5i2fXW0Dzja7CpAdMtRoW1I=; b=BTCk3Q4YhlsHIjBvR9iemKDtocfpdSgqPX/hLISqCtDZ72hpljAB4QKjfTQevng8N+ up9sG/sOOq+wBe0q19zzQmH2CA6XLO0DQYzjw2WzyEx84AOdJ/LYghq00YaksleTV/0Y Zjh4ePlU5Npi/F3GIFVgvLvB21JCT9La289ZHf8CdrbQKhdLAgJ/w79vi38epaDUWZQD 8gksFSzmNi8StSfD7ITausRh9KV6GkcvQB+9jA2auO5BM/e1E5IbSc5w3jp30Sas34F5 R2WFYl+lSbycYo/13Ap25RcyP/8Yx9YtR8qf0b4RvmsvH9qzSvNJTmiGRMQz7V/ppgYD PTXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="RV1B+/ga"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p12-20020a17090ad30c00b0023409b3983fsi1651573pju.99.2023.05.17.05.57.28; Wed, 17 May 2023 05:57:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="RV1B+/ga"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231775AbjEQMsS (ORCPT + 99 others); Wed, 17 May 2023 08:48:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231381AbjEQMsO (ORCPT ); Wed, 17 May 2023 08:48:14 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76FF95580 for ; Wed, 17 May 2023 05:48:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0452E64675 for ; Wed, 17 May 2023 12:48:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ECD3AC433EF; Wed, 17 May 2023 12:48:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684327687; bh=4HY0Ym8gMukTRRYv/O34wSKiu5KYThcxaes5f1ODcQA=; h=From:To:Cc:Subject:Date:From; b=RV1B+/gave4YwzwHMlfheMuunRRiS6UUzx2WS5YDa5RX/UWlgJLu5gmqjAdex83fL hDZgf1Z1sS3rGN0dXt81apAxQ+gJzm2DXYSIsmSx++SZKw42V4rxQNVpwhcBspDqCv 7795yRXTwkVvYUlrHgoxG5RbGaeBHrajveeJXdUlESFMl/1LEnNlZLDltY+cE/tiEc spRcf/Dzz3YsCbMjj95LW1NVsuHTL2UieW1Ne19EBJUGQEz76NVBnSGj4E5pCOQ7lp MLx59IcdstIn7q9jP51g823DhcnuftpdkTZHgFP+SZORyt/b/3EHWWEbmtBJ7Tg5lv 87vlZgEl8dPAg== From: Arnd Bergmann To: Jason Wessel , Daniel Thompson Cc: Arnd Bergmann , Douglas Anderson , kgdb-bugreport@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: [PATCH] kdb: include kdb_private.h for function prototypes Date: Wed, 17 May 2023 14:47:53 +0200 Message-Id: <20230517124802.929751-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann The kdb_kbd_cleanup_state() is called from another file through the kdb_private.h file, but that is not included before the definition, causing a W=1 warning: kernel/debug/kdb/kdb_keyboard.c:198:6: error: no previous prototype for 'kdb_kbd_cleanup_state' [-Werror=missing-prototypes] Signed-off-by: Arnd Bergmann --- kernel/debug/kdb/kdb_keyboard.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/debug/kdb/kdb_keyboard.c b/kernel/debug/kdb/kdb_keyboard.c index f87c750d3eb3..3c2987f46f6e 100644 --- a/kernel/debug/kdb/kdb_keyboard.c +++ b/kernel/debug/kdb/kdb_keyboard.c @@ -13,6 +13,8 @@ #include #include +#include "kdb_private.h" + /* Keyboard Controller Registers on normal PCs. */ #define KBD_STATUS_REG 0x64 /* Status register (R) */ -- 2.39.2