Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2873061lqt; Tue, 23 Apr 2024 04:30:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXyyNMHFB/RbyGl2P+4Vw45dxTd45PN8PjJOXObTE4hIWetw8JvFN2NPWuAi1IzP46zOEFWlUkvdVAtDTgC79lefghxNLOywMTWmZleZw== X-Google-Smtp-Source: AGHT+IHLg5vqC4uYvUToohA22snTXfP2eqOg4iLrKvor6SlsV+YVIvdVCNkjcMSVST92KYBJ+WYD X-Received: by 2002:a17:906:ecb5:b0:a52:3442:c147 with SMTP id qh21-20020a170906ecb500b00a523442c147mr12259851ejb.18.1713871816413; Tue, 23 Apr 2024 04:30:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713871816; cv=pass; d=google.com; s=arc-20160816; b=aLMuwIVmruPpIV8fO/IMqBInYkWMSlbB5f8CRWoHy+qqKmbhSTlb3TEAfSP0dTlwWw 4MOVKRvO6qoE95Kbb9kzND6TB0m8COuQgXFS1BRMb0r6Wb6kr+Kn9+LzpgQcRuN6uYQf Pbox9FnYLcWt9lEuHIddmcBSG74mD43+MkUYApaNJKeCvx44mXcYp2FESn6ou6PhVR7A DEwD96qCZC8MgdkvjOvsTLsfXBxFaO+QpUBPnTeEDfezq/5dtOBdutGLEnIYF/Z7nbgz 6GLeztlEzzjEc1szi3dmKNw5RrOYyFvKB9obQIwoq5lb4JgaLRBPXoUD0dM0ZDZDVhuv yK1A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=wdLaAi/HXNFJUa/Vn86wUdeVGT8NCDKEn69CFwiXFwM=; fh=mApZWspdLgJyL7+2Nq6QBwgNfL+aABNIzX/HIv+m/cY=; b=OzFBlXlYkrQ4EJwz/53L4OxBWFl9qsPdmEO/eLpKi+GxWZetzJw7VtkIHY/BuUumi8 QDmpwkI2Oxn52IEqpPqlFMRjtGN3eRR7TYObeAxV+ajCT6I+ax/Ms1NqDvRTM9k+REi6 B+B4bCnxQgGE0YUmgy4O+MNpcrIHCFhaLVItp+Tuh4RHLa9c2mGmVCgSVoutzdA/Bq1o YarannRJbsAer2weh2KeIUrPeZ4ddjDyUFXmCrwXSbbtRAYF/2EM+LhtaAZALlb1WNMr 2XSS2UWxZLiuHFgCaKexPtpDZA1aJfYsi9YdU5tzWjLgKyVie3vy87+RyXUZmAUWoEJU XYjQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=r0NCNhX1; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-kernel+bounces-154985-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154985-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id hd7-20020a170907968700b00a559f56840esi4552152ejc.253.2024.04.23.04.30.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 04:30:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-154985-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@sipsolutions.net header.s=mail header.b=r0NCNhX1; arc=pass (i=1 spf=pass spfdomain=sipsolutions.net dkim=pass dkdomain=sipsolutions.net dmarc=pass fromdomain=sipsolutions.net); spf=pass (google.com: domain of linux-kernel+bounces-154985-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-154985-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=sipsolutions.net Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 288381F22C5B for ; Tue, 23 Apr 2024 11:30:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 35C707E78E; Tue, 23 Apr 2024 11:30:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b="r0NCNhX1" Received: from sipsolutions.net (s3.sipsolutions.net [168.119.38.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84ECB77F2D for ; Tue, 23 Apr 2024 11:30:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=168.119.38.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713871810; cv=none; b=uV4VRgPcvG2OgkhCh0mWGlGa3Wk0JshOLBWd1x5vcymru9Tybayw7ChoLPGibD/jpVxYD8+U3wPI4smCinFlcSf4cfa0yioZfYyZ44j7PqfuQTxzGASEIFiC9HuHZUwP3XnYYFj6RFAKMAj9+dgYwbQ+KHnTKw7ZX34C51/VeEY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713871810; c=relaxed/simple; bh=wdLaAi/HXNFJUa/Vn86wUdeVGT8NCDKEn69CFwiXFwM=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=YXnUpwDiS+tKIXBuRK/qXgQP8Trva9rV2W1WNc3nktSZkwiZVWMrvIjbx0U4qZpwpMP2gQro3TFzbErVVWqSsAyC7BMA/1Tql2wPuTXtHegWMln0d7ibIXtqcqqX+5YEFV4reqP2CIvbjw9HxtNprvqPa4TsFNm7rugkMLla+AU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net; spf=pass smtp.mailfrom=sipsolutions.net; dkim=pass (2048-bit key) header.d=sipsolutions.net header.i=@sipsolutions.net header.b=r0NCNhX1; arc=none smtp.client-ip=168.119.38.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sipsolutions.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sipsolutions.net DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sipsolutions.net; s=mail; h=MIME-Version:Content-Transfer-Encoding: Content-Type:References:In-Reply-To:Date:Cc:To:From:Subject:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-To: Resent-Cc:Resent-Message-ID; bh=wdLaAi/HXNFJUa/Vn86wUdeVGT8NCDKEn69CFwiXFwM=; t=1713871808; x=1715081408; b=r0NCNhX1VWKIzYXzk4kBnOqXfU//FFeXQwjhUqj5FS414Xs BoIDl4H5DqubRXqlrWNrGzBhh32mKV2lT0aSq4PuV9oUiUjbTyjL3uidd7AB+PHZ3WSql5S++qSeY OE83H37GQYSn0Z/O3dg1WfiqCy96/iE3QcNvTn1NHSQ4j5wXlOIgTFw0z/UtM4nFQm65KQU5gLOFS 1gNj+YD5PVJM9xM/NgW7Eap23q5bV1vEeM9XB30NPJm3O5gojMhYYQo9+dLgeilCMOeiEYfS4UOwX stRee3KeO1EEmyAMpSx5CtFN2KlbX0OnfRvx1Pv9LF+N2xUTvsavlVWpZ8+V8yPg==; Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.97) (envelope-from ) id 1rzELb-000000025yu-2KUq; Tue, 23 Apr 2024 13:30:03 +0200 Message-ID: Subject: Re: [PATCH 3/7] um: Fix the -Wmissing-prototypes warning for get_thread_reg From: Johannes Berg To: Tiwei Bie , richard@nod.at, anton.ivanov@cambridgegreys.com Cc: linux-um@lists.infradead.org, linux-kernel@vger.kernel.org Date: Tue, 23 Apr 2024 13:30:01 +0200 In-Reply-To: <20240423112457.2409319-4-tiwei.btw@antgroup.com> References: <20240423112457.2409319-1-tiwei.btw@antgroup.com> <20240423112457.2409319-4-tiwei.btw@antgroup.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-malware-bazaar: not-scanned On Tue, 2024-04-23 at 19:24 +0800, Tiwei Bie wrote: >=20 > +extern unsigned long get_thread_reg(int reg, jmp_buf *buf); >=20 Like, in general :) johannes