Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22890969rwd; Fri, 30 Jun 2023 14:21:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ731OCB0CD45kTZWMlHhXirXo6fJwOnLYBX1EO0oGMX1Br45v0/r0q3PDuW0og0Elj/icT2 X-Received: by 2002:a05:6808:209a:b0:3a3:69e0:5c03 with SMTP id s26-20020a056808209a00b003a369e05c03mr4660002oiw.26.1688160095250; Fri, 30 Jun 2023 14:21:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688160095; cv=none; d=google.com; s=arc-20160816; b=x2zvynwna83ljyAcexlENWOzuWyA4bN7XUeN5k0TdHdo3Db6XqriIgwEVHdmvuv6b7 IQhXu+RG26LH7IVCRqj+OKvTl1MyFCa4BIauwXggOzRY3IWfrwyFoRTCehhWrB+TyRla dTSCqVLYNRig9qcxBdF5rKKLV8pzr1dcFobFp2vH7sBVl8QGnM0uzZmyrDQw3eKMM6T7 0iVOKfWXuVGrDVhaWr3Z7jNzouNOKd8FBwUQn2yJFGB5uAvIgx8tRqZqE9nHVIIfFZLD nTnqqFZONtR+IikQMMrVitrtjKxfOMX9LBvQWOYK0nohg1V3NrhMbKTLgZTEJi4zgV6H q7Yg== 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=u15VNGIEnyJtLjVOKUkj2c2i24i64I8f65ANMrqewQM=; fh=eft7h8V+NGMpWJtGn4ZEDdGXDXyAY7BLb8A0+kyeaKM=; b=Afxi0xS4IZ++FinXnF+0qLje4CDYNCEr3D1LAS2M0i4w6rogEaQ1Je7RbDJrzqv1NK 6X6gg1Fh1+uFgbkMaDVQfgJwruGj1j6VeaUhAeO99oosUG1P0JxuHY5xni77kV9+XeW6 2KO6wsMONysERbsFE0aSf/UQ+HxsfRq7sHqB7Ui2XoLqGNveMGJiu+uko+jcW/ZyGxrS b1blkSurMBDOBQcOej9wkUMaXuXpxEQaqQjcbb6SNe5025yaiWAcMe2RRq/2zA7ZxwdS j/nY1AEWce2zlzZ1/xK7oYst38lDY0LuoSjlEVzlp/PsO/nYtQVUP1J0LU/XXykn9jZP f5kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=dnByYCOs; 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 fb9-20020a056a002d8900b0064d4d472935si6811738pfb.18.2023.06.30.14.21.21; Fri, 30 Jun 2023 14:21:35 -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=dnByYCOs; 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 S231979AbjF3U5R (ORCPT + 99 others); Fri, 30 Jun 2023 16:57:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230462AbjF3U5P (ORCPT ); Fri, 30 Jun 2023 16:57:15 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28C43C3 for ; Fri, 30 Jun 2023 13:57:12 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4fb7589b187so3778180e87.1 for ; Fri, 30 Jun 2023 13:57:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1688158629; x=1690750629; 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=u15VNGIEnyJtLjVOKUkj2c2i24i64I8f65ANMrqewQM=; b=dnByYCOshHUJxjdw5Htc8cbC31xXL9PEqS8iS7pamOLlh9hmrTFiOGMp1HjZzmIorX +3Q/zyMlOBTdnmbu5ePaDkoOroQgnnEf/uhS9ISVyaso8BiMkGx+Fq4Puazqo6Nso34u Ah+6FE+0BzL+JWQAN50BUSqMf9Ekm+JhNYuMc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688158629; x=1690750629; 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=u15VNGIEnyJtLjVOKUkj2c2i24i64I8f65ANMrqewQM=; b=CEKMT90twjNml6zPS3yUAfuIP+Q4pwGTmWYoTk83nzfqYC7IzrF82VcfzESMrnsrjV OvuxB8kqUH4zBADbDopoUjrb8FmHy91LBSexViWW+Bhyxd88g6t4vhQH63MI50DQ6mEQ I64ua6Hdw8n5Ud842zJYd1IDLpq0h0ezfI71z2vnwYFElWP7hj7rsZywjvTFYHzOBaYF Zei2gMs8snMGLhZsGuwIneyO+OaRxUt5IvnRdXlJ9UfdyYTiuJjtBbc1LyNO2skVA3nV dKIwyYpd0+FEn54NXVcN9NxWw1snYrOhtrV3HfPnh8ucUBPgLI7MtFaVXqeMnusGV/EA P3Qg== X-Gm-Message-State: ABy/qLYgvvth1GXNhUZOakvgE7Z7aAtHKGJ0NrEHx7yJY+k3DCg5+tO7 3prAg+I2ctMT2wUPVq6rTl93Dv2p6/vthgHH8UKHRA== X-Received: by 2002:a05:6512:3d0f:b0:4f9:586b:dba1 with SMTP id d15-20020a0565123d0f00b004f9586bdba1mr3584596lfv.4.1688158629574; Fri, 30 Jun 2023 13:57:09 -0700 (PDT) Received: from mail-ed1-f48.google.com (mail-ed1-f48.google.com. [209.85.208.48]) by smtp.gmail.com with ESMTPSA id y20-20020aa7ccd4000000b005166663b8dcsm7017931edt.16.2023.06.30.13.57.07 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 30 Jun 2023 13:57:08 -0700 (PDT) Received: by mail-ed1-f48.google.com with SMTP id 4fb4d7f45d1cf-51ddbf83ff9so2846a12.0 for ; Fri, 30 Jun 2023 13:57:07 -0700 (PDT) X-Received: by 2002:a50:d544:0:b0:50b:c48c:8a25 with SMTP id f4-20020a50d544000000b0050bc48c8a25mr23065edj.6.1688158627455; Fri, 30 Jun 2023 13:57:07 -0700 (PDT) MIME-Version: 1.0 References: <20230630201206.2396930-1-daniel.thompson@linaro.org> In-Reply-To: <20230630201206.2396930-1-daniel.thompson@linaro.org> From: Doug Anderson Date: Fri, 30 Jun 2023 13:56:55 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kdb: move kdb_send_sig() declaration to a better header file To: Daniel Thompson Cc: Jason Wessel , Kees Cook , kgdb-bugreport@lists.sourceforge.net, linux-kernel@vger.kernel.org, Arnd Bergmann 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 Fri, Jun 30, 2023 at 1:12=E2=80=AFPM Daniel Thompson wrote: > > kdb_send_sig() is defined in the signal code and called from kdb, > but the declaration is part of the kdb internal code. > Move the declaration to the shared header to avoid the warning: > > kernel/signal.c:4789:6: error: no previous prototype for 'kdb_send_sig' [= -Werror=3Dmissing-prototypes] > > Reported-by: Arnd Bergmann FWIW: these days, I think checkpatch yells at you for a bare "Reported-by" like above. It ideally wants a "Closes" tag to follow immediately with a link to the report, or in the very least a "Link" tag if this doesn't fully address the issue. > Signed-off-by: Daniel Thompson Reviewed-by: Douglas Anderson