Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp247802lqo; Thu, 16 May 2024 05:26:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWfd7aGFNlSJfT425RYcFhhvj4ujHMeuqH30XYOWuWbqbw34ZIADm8HbQGGlUrRHIbsKrEQcBpPlbbWn7GccPWYQ7IQjsnOEZ+3sl4oSA== X-Google-Smtp-Source: AGHT+IH/QlUUrz5sTrDMS+51KcyZLq1mK09edGEEMXktvBhlpwfRbKEYwLoWOxvI8l3uRMtBgTKd X-Received: by 2002:a05:6214:459f:b0:6a0:9f93:1ee5 with SMTP id 6a1803df08f44-6a168147ddamr214850946d6.13.1715862388721; Thu, 16 May 2024 05:26:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715862388; cv=pass; d=google.com; s=arc-20160816; b=oro6PF6XacvZjnJgFm57vgDbMx0UMRSFTdovSwMFdwk5RK9ozwKitTSrpf7jo10kn6 vgCJVeZNqCwhJJYtQhaIG0WrKuxIWFcrorqP+wrBknE+116Co9KwKJpNUvB3mQbpZPVQ z6bX780CnHuWaRrmM0dlEPe6UuSvq8VKdZSGo/7z3sLEnXYklJgZ3r1Arrir8RAA6z0v SYulZmBH2QlhTBAK6PuC+IVdeC33zCSAVdVGBkVRpybNMXjwzA3XDZoDvHUqIdYrhlYA i2exRlBx/PotSGWKJU+OTuJHScfZbheI2Mb/Tn+BnPVFaVlpgCoTCzBvnDANymMRGNNp 2E8w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:user-agent:feedback-id:dkim-signature :dkim-signature; bh=JB07t7U92/Km9cn+2ZZDcWR+tE9Cc5bAKmiQUlEOVO8=; fh=QsIdADW5M0o6fQ0Cdgq1IDnLD18elu4NkMaM9m4jNRU=; b=zUYdtBcCYZxfsNe//DobfpE4JVme+h96V/YZiKF2kcQlRfIJRGZwabT9tnRswml4e5 l1rpwpkuajNBidubNkVGOjMoMqLTvQ8KmsOMpDexnHXKtoZp807ihSFWybH2eL/dGRVH tL2+OiA5jgVUu25pGjXsmF6GPiyXxOFOphM0c7FDiaM0t5J/k2gCOgpG2j3e2NwxhTI+ 4lGhIbO9ZFtf5X9FHcwFsNoW4NHV8haA9nmeyjYgWsMTBsMtQ/8ZWG1yYH9uO/CWU4ED w6IxbZ0vm7+nxjT3CCcT47DS92UgqlCuYh7d+Z2sk51vvl42OLXBn8iSdfdFXjoA1SSi HZCQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=ef1CKfoP; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=VB0i3Ao2; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=flygoat.com); spf=pass (google.com: domain of linux-kernel+bounces-181014-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181014-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f30b6b3si165140606d6.609.2024.05.16.05.26.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 05:26:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-181014-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@flygoat.com header.s=fm1 header.b=ef1CKfoP; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=VB0i3Ao2; arc=pass (i=1 spf=pass spfdomain=flygoat.com dkim=pass dkdomain=flygoat.com dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=flygoat.com); spf=pass (google.com: domain of linux-kernel+bounces-181014-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-181014-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=flygoat.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 609A61C21621 for ; Thu, 16 May 2024 12:26:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AAD17154BEF; Thu, 16 May 2024 12:21:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b="ef1CKfoP"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="VB0i3Ao2" Received: from wfhigh4-smtp.messagingengine.com (wfhigh4-smtp.messagingengine.com [64.147.123.155]) (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 BDE71153BE6; Thu, 16 May 2024 12:21:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.155 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715862105; cv=none; b=lD2ubQl6Khx7ESEXxTjOlMCGVbDvZYf8S7/ap2XjG2qT4n6Ytv+s/Ch8lk/aU3/9QY1Htd5M+hHSZ130MvYxEmg0oFBgzFLCK5IbUJ9CE60PpD+D7+pcVliZNjmJtizIlJbHFhHNdY0KDekOwvzX4x1Ys3sScJvvxX2pLO0QGVY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715862105; c=relaxed/simple; bh=+7BssTnv+68bOZ5q3ot0qiGsFLEAd90nuvdNZe0Rb0k=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=S1TmefupnZf+kSVITMDffB+oir1UrBGVnYtUenIUbWBqjg542/1W2JHGcL+/qx6nM4T2+T4zZUN7bl3PIoulvPgHVijq1NSElZfUmHH04sNgGAc8NV0/J1qgKubqlcp6T1p/WVtrBZwGxLjlGX/gu4HDvf71JzqErFR+gZktMGk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com; spf=pass smtp.mailfrom=flygoat.com; dkim=pass (2048-bit key) header.d=flygoat.com header.i=@flygoat.com header.b=ef1CKfoP; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=VB0i3Ao2; arc=none smtp.client-ip=64.147.123.155 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flygoat.com Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfhigh.west.internal (Postfix) with ESMTP id 345B718000DC; Thu, 16 May 2024 08:21:42 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute3.internal (MEProxy); Thu, 16 May 2024 08:21:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1715862101; x=1715948501; bh=JB07t7U92/Km9cn+2ZZDcWR+tE9Cc5bAKmiQUlEOVO8=; b= ef1CKfoPHAZFHIER7HGdOtz5L2VPfBDiBBAxao3eZcx/EBeZ1tyiHW+swv8xljOB Z+ir3Icedkhgb+vTnVS9UK2/SaImNn+NWTrI4tV8gu8OvVh+ZBPwo3Oz4EZRZ+Yc WI7Lhpqz1MscSghkOxwVK9ro8OqDHyK8QACTCPGsMm5gj+gxDcnHpSCfKjwQMeAh D8kAfvu21KLLlpifCX745G0610rQq43ENWr8Bo/iOp8byI1CIEiDjDd+kfIsrOuy dGdcS2VLnHypIIhJIoin6udxCmo/xapAb3UtTdC8nStCWeJC48LX+6WoVtTXtI19 aFDkJnzPQbDjzLKeJ7kjOw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1715862101; x= 1715948501; bh=JB07t7U92/Km9cn+2ZZDcWR+tE9Cc5bAKmiQUlEOVO8=; b=V B0i3Ao2I/fonGzBEezRNwModrgAEfWc9we1yyKhn1v70JA1WiVvape/HlDrJPNia 8WkLzd5DnkpPY8TFi9Nh5C6W8uY1auFY1Jpc0A7JpYTv1aXIX2/9tbRaWr7Gh8vG 0fuPbLsulnFREXnvefYkMJvlE/wtTQWHPco85aKLRMgKVYfYDFJjq2YR71s3lPeJ X6Nnxz3QcZfgIEGnLj1FaI+KxyzhI7MeXUH7fxPdEq5MrECovUScj/smucb46gS5 74KgfCwXYaqxVD0VHM7cDY/H8+PzD24klysiuuho7xC3oTalSGLpxixeJG1pJvzn wDTbMTOGQzpgJlwhANr6Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdehuddggeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtgfesthhqredtreerjeenucfhrhhomhepfdfl ihgrgihunhcujggrnhhgfdcuoehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtoh hmqeenucggtffrrghtthgvrhhnpeekleevffehtdeigfekfefhffdtudffvdeuvedtffet heeuiefhgfetleekleekjeenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepjhhirgiguhhnrdih rghnghesfhhlhihgohgrthdrtghomh X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id E729636A0074; Thu, 16 May 2024 08:21:40 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-456-gcd147058c-fm-hotfix-20240509.001-g0aad06e4 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: In-Reply-To: <20240516115906.1224164-1-zhanggenjian@126.com> References: <20240516115906.1224164-1-zhanggenjian@126.com> Date: Thu, 16 May 2024 13:21:22 +0100 From: "Jiaxun Yang" To: Genjian , "Thomas Bogendoerfer" , "Huacai Chen" , ricardo@marliere.net Cc: "linux-mips@vger.kernel.org" , linux-kernel@vger.kernel.org, "Genjian Zhang" , k2ci Subject: Re: [PATCH 1/3] MIPS: Loongson64: include asm/bootinfo.h Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable =E5=9C=A82024=E5=B9=B45=E6=9C=8816=E6=97=A5=E4=BA=94=E6=9C=88 =E4=B8=8B=E5= =8D=8812:59=EF=BC=8CGenjian=E5=86=99=E9=81=93=EF=BC=9A > From: Genjian Zhang > > build-warning is printed: > arch/mips/loongson64/dma.c:25:13: error: no previous prototype for=20 > =E2=80=98plat_swiotlb_setup=E2=80=99 [-Werror=3Dmissing-prototypes] > > Include the header to fix it. Duplicated with my patch[1], but thanks for the patch anyway. Thanks [1]: https://lore.kernel.org/linux-mips/20240507-loongson64-warnings-v1-= 2-2cad88344e9e@flygoat.com/ > > Reported-by: k2ci > Signed-off-by: Genjian Zhang > --- > arch/mips/loongson64/dma.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/mips/loongson64/dma.c b/arch/mips/loongson64/dma.c > index 8220a1bc0db6..5c5e524b9121 100644 > --- a/arch/mips/loongson64/dma.c > +++ b/arch/mips/loongson64/dma.c > @@ -3,6 +3,7 @@ > #include > #include > #include > +#include >=20 > dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) > { > --=20 > 2.25.1 --=20 - Jiaxun