Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2343717rwd; Wed, 17 May 2023 08:46:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ66eW4FBgH1eq8rzulIa5faMaoV6FIJpqgnoCOtr+h1DPjqziShCfgYkL4pGkEE7PFYei5f X-Received: by 2002:a17:90a:8994:b0:246:af1f:62ef with SMTP id v20-20020a17090a899400b00246af1f62efmr156918pjn.5.1684338399748; Wed, 17 May 2023 08:46:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684338399; cv=none; d=google.com; s=arc-20160816; b=dwEzeNv9hmW6Ev3bQ2kJpKjovLRIqHH0PUZQ5BmqfDE0Jxn5w9epuqjuyosg0sJ2TL YfdN8q/ZYDP8ZvD1YVgq2au7qPGULvdZHPm/d96+B/Cu8QzjSuLJeTmi64T48nL+/1qf EPyvEpb+C/MLiU8WAm0MZ7wnH37UV+whyiTwboFCIWpD/YfCbaHgzm/oIZgoFvDUFVEp 5fMRSt6WhrmyqfO85jQ9xYvhlxlZWca5syKZQPGPuxSLK8/y1frnwmDUCNtV06+DTw5T 4GC+TS0TMDxnk0ntS4ggJ3UHfL4ePr61UCSRAgDrZMl/rf3l95+Uk3q+lnlUEsQmIgHk 3+7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=/xeS9KwC8vW2y0J+xxczH/UzoaJDpNT/4GWb3cUgqXk=; b=WwT7RvwTxEmpz/z/U6P1zt9xCaOJOhd1VWX2a/nvUHLFdA2mnOF6774NLEFXlg+QLt BZrYXzn8DEbQVmkwVGbil+cgbvPHM+EW5VjKAH9zKTTfBIdeFHImVmP4+cOd+s5mPH8o dD/J7pvO3SQFb0qcuAyHMNOM2f+wxHzOX5GgWDbZytPJSKmo3cssliHc5f0jTfRRMRrr LeFxiWhVMJLFZGb0tXhVo1jEd/VRkROmukewuQlj2t65dNVGxxn9wQ1fKD8OtnNzwqx6 FAECwT+Pes/bYW5D/WchdKeo+M8qimjlokjPYjDJl88eefMxmz7XFFfK2VrfPIAMlGn7 r3Gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=NSBvzMpq; 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=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q20-20020a170902bd9400b0019ceaf40d5esi19953749pls.107.2023.05.17.08.46.24; Wed, 17 May 2023 08:46:39 -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=@chromium.org header.s=google header.b=NSBvzMpq; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230418AbjEQPoM (ORCPT + 99 others); Wed, 17 May 2023 11:44:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230109AbjEQPn5 (ORCPT ); Wed, 17 May 2023 11:43:57 -0400 Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC201558B for ; Wed, 17 May 2023 08:43:55 -0700 (PDT) Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-3f4fc2a4622so6296081cf.1 for ; Wed, 17 May 2023 08:43:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1684338234; x=1686930234; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=/xeS9KwC8vW2y0J+xxczH/UzoaJDpNT/4GWb3cUgqXk=; b=NSBvzMpq5pGZtSDvil9rUpMWJrztHiWlRnPH36fwzsewLZ3mIEFCC2DdNHo6G7SWvH /5c8NN3nXBhzI7pCSPOESZo8D2Zzdt8gMbOTwxLgwy35KBRX3PD5s0puTlqgfTIlQZlI 1/82g13Qqbxd+Z+BQAwEPXsxaYg4rfnvYIbtY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684338234; x=1686930234; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/xeS9KwC8vW2y0J+xxczH/UzoaJDpNT/4GWb3cUgqXk=; b=TpBxijT9fCPKwI3By1GKpq+nnIMinhMdH7h2m0cGCrNlVNK6GYh/nUL/fS/0Gy0v/A Iyksz5yq4XrYjGo+TMNDpN9bwbbktLXa79hqw5VmwLZ+7Oz1K8o1or9jg5KOomPsWmwl mo8sWzZa1IpA9XBQ454wmmUH/eenqVOswpf04qebeNklfKX/O13U/5bTaJU9KWs75zB8 Y8jZQYXCbHRqPGx+nR9DYuqxqTPC85oHa+SvUFzXGm4sVZuXdJN2SGq5D+UaVKn7pqde ZxWQXJ3JlbCJgdjth0+yLlYX6KPSdFvuFQh+Yj3o0it0O+wPq+ConWNGNCnRa4OfxMGj HilA== X-Gm-Message-State: AC+VfDwk7txMw0bpDVpYrGe3/n9YfuCVcRo5o1+lCFeWCAoIYj7o3yxK ZFzkAuAeP3t3GxrwAMg0rOffCBVoR/gXbT+pKTw= X-Received: by 2002:a05:622a:11c3:b0:3f5:3852:83c6 with SMTP id n3-20020a05622a11c300b003f5385283c6mr226499qtk.8.1684338234435; Wed, 17 May 2023 08:43:54 -0700 (PDT) Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com. [209.85.160.173]) by smtp.gmail.com with ESMTPSA id g6-20020a37e206000000b007577c68be4csm686837qki.117.2023.05.17.08.43.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 May 2023 08:43:53 -0700 (PDT) Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-3f396606ab0so207651cf.0 for ; Wed, 17 May 2023 08:43:53 -0700 (PDT) X-Received: by 2002:a05:622a:144b:b0:3ef:31a5:13c with SMTP id v11-20020a05622a144b00b003ef31a5013cmr262636qtx.3.1684338233391; Wed, 17 May 2023 08:43:53 -0700 (PDT) MIME-Version: 1.0 References: <20230517124802.929751-1-arnd@kernel.org> In-Reply-To: <20230517124802.929751-1-arnd@kernel.org> From: Doug Anderson Date: Wed, 17 May 2023 08:43:40 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kdb: include kdb_private.h for function prototypes To: Arnd Bergmann Cc: Jason Wessel , Daniel Thompson , Arnd Bergmann , kgdb-bugreport@lists.sourceforge.net, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Hi, On Wed, May 17, 2023 at 5:48=E2=80=AFAM Arnd Bergmann wro= te: > > 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=3D1 warning: > > kernel/debug/kdb/kdb_keyboard.c:198:6: error: no previous prototype for '= kdb_kbd_cleanup_state' [-Werror=3Dmissing-prototypes] > > Signed-off-by: Arnd Bergmann > --- > kernel/debug/kdb/kdb_keyboard.c | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Douglas Anderson