Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp243483lqo; Thu, 16 May 2024 05:18:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWSr6ZWwbLYz+4xs+F0JnaeK327CQuxbEn9XHmW0AtKQJp7zgjMy0P3m2b054O3SBTXZzDuTXlZ4oCgs2fRkzgh06tCUj7sG8VmElH5rw== X-Google-Smtp-Source: AGHT+IFYktlqNIez9zHdQcZx9a5nC3ktdOCbgcCqzgCAZpTnaP7FIr+PslWVIvsY7i/622FeOKhJ X-Received: by 2002:a05:6122:3c90:b0:4df:1d06:eeb7 with SMTP id 71dfb90a1353d-4df8827ff5fmr18728283e0c.1.1715861916173; Thu, 16 May 2024 05:18:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715861916; cv=pass; d=google.com; s=arc-20160816; b=pawvN4YjyIewZbZjXL69Xx54lrW3L40FuEdpifMvBFLImc5i0xPIs2y0m5QbGxV8JF n6J5Vn22l6BIPiGHe2jl3al5IMjM8F6SAhjq3ZyzM3D4okJpzhTLaZIw4MaSjbSjedX4 tkVzkn8xlz2yYnWRBTCPfPvoH8EJST1GzSNXkOwhHYKnL8ogCiDXd9/f5/nsWdyY8b68 J5iEHO6R7b918HFNL06lZUsCMeVJqDdkjSahssQjPLZ8s31t/24gruh4V1Z2jcasVogX Wp/syg9s45dnSJQBboAns27MzPuTh1Jk2nonv33hDt1Gh6/1duyUrdMJ/Fw58x2xEH8E VgfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=vofaX8fsHWZZdLKjY6vYcEjUy3BVDsZa1OFGxEENHhk=; fh=qfXoZJXMJYnJXPHNi0NPBNO8FOJmEJGqgyN0AhiyuNI=; b=c77eBW5hoeKDz527T3D0WYJ7f4LrK8k7+VxAAus7BWDs7MWBXgMMAD6a1f0K9h8NbF kqcKHJXFdPr5lwskB1G/CxU+JWCPgmOCw5NvVaegPx3jqXHN0xWguMigf/URTtQLHkOw L3pKsfsQMl9M+awsaiLKsQKiBFMk8gbNdUXVKQwFjumUfPspAQ5g21WAQ+rTtcqOsiUa 6Z121H7+pnA06TcxIcM38UKe+GhSfXnJ42J/JaBP0bpDK0/5N9EqGf1lA40LtC1fjm3F RWghzb0sHcAxKWxgj4KkWktKlJIbVl2hDkdVyOjMz63Y2Q92qLThwI0wJy9htY2mgKDi fXYg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=QaF6Wo9e; arc=pass (i=1 spf=pass spfdomain=126.com dkim=pass dkdomain=126.com dmarc=pass fromdomain=126.com); spf=pass (google.com: domain of linux-kernel+bounces-180989-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180989-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=126.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ada2fe7eead31-4806cb7ff03si2380778137.54.2024.05.16.05.18.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 05:18:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180989-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@126.com header.s=s110527 header.b=QaF6Wo9e; arc=pass (i=1 spf=pass spfdomain=126.com dkim=pass dkdomain=126.com dmarc=pass fromdomain=126.com); spf=pass (google.com: domain of linux-kernel+bounces-180989-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180989-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=126.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 C15101C21A2F for ; Thu, 16 May 2024 12:18:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A50FB14658E; Thu, 16 May 2024 12:18:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=126.com header.i=@126.com header.b="QaF6Wo9e" Received: from m16.mail.126.com (m16.mail.126.com [117.135.210.9]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C5396145B24; Thu, 16 May 2024 12:18:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=117.135.210.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715861902; cv=none; b=ebw+ozrb6KUVzKWC8oxnpFga0H6M5CO5VYhsOhZVINCnOMSmOGuSA8WW05Oi/5KJec2Nr8mbuseDs8+trjPrIfTYGmMTXKTOwLzIdH+AOh7aYCjwyc6UXa42mJ2PU/uYdJ7+2DxfoN2p2hOHalXKz77/IirxP405t//UyzwYwjM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715861902; c=relaxed/simple; bh=21bx4c1PmfkU2JPz9tYRAzj1c31ZjgcveRPXwlDx3Pg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=QTcIIykGwRh3V+j72n+v86H21dhfQiklirYhB92RBoVTw33UsN18EnSq/T0J35f2zr5v9JenjbxPbYdJ8cqOxics12Uc966WEg8r2VLjIWtbRDWPkwbMrxGlw7Qql3tpi4g4Tx8/uCGDhy1m8FjrrBWwr0HpfAwcqXTLKFNDJlo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=126.com; spf=pass smtp.mailfrom=126.com; dkim=pass (1024-bit key) header.d=126.com header.i=@126.com header.b=QaF6Wo9e; arc=none smtp.client-ip=117.135.210.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=126.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=126.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=126.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version: Content-Type; bh=vofaX8fsHWZZdLKjY6vYcEjUy3BVDsZa1OFGxEENHhk=; b=QaF6Wo9eWARKm6glyHkx+PiUgBnZV92PYSDX8gy3+7j80LCoa2hX4NLvmJH9Sc fGuBYfC7nNA1mPINu/KLN0qje8LqcQ6XVqDnQn0hfiMxqkMstIuZTuOvTvxKy8Fi AOEGFzxpCQowwr48HMWMsoG2w7Six5OkzHTp6n68Yoq7A= Received: from localhost.localdomain (unknown [116.128.244.171]) by gzga-smtp-mta-g1-4 (Coremail) with SMTP id _____wDHD+tp9UVmXt_9Bw--.21873S4; Thu, 16 May 2024 20:01:52 +0800 (CST) From: Genjian To: tsbogend@alpha.franken.de, chenhuacai@kernel.org, jiaxun.yang@flygoat.com, ricardo@marliere.net Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Genjian Zhang , k2ci Subject: [PATCH 1/3] MIPS: Loongson64: include asm/bootinfo.h Date: Thu, 16 May 2024 19:59:04 +0800 Message-Id: <20240516115906.1224164-1-zhanggenjian@126.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CM-TRANSID:_____wDHD+tp9UVmXt_9Bw--.21873S4 X-Coremail-Antispam: 1Uf129KBjvdXoW7XFWrKF47Cr4fuFWxuw4UJwb_yoW3trXEga 42y3y0grn5AF1xA34fWFn3Ar4ak348Way5uwn5Xr9Yvas8JayDCFW7Z34UtF1DWrs0yrWr Zr1rJr1kCF1fGjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7IUjS_MPUUUUU== X-CM-SenderInfo: x2kd0wxjhqyxldq6ij2wof0z/1tbiHhTgfmV20wENggAAsa From: Genjian Zhang build-warning is printed: arch/mips/loongson64/dma.c:25:13: error: no previous prototype for ‘plat_swiotlb_setup’ [-Werror=missing-prototypes] Include the header to fix it. 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 dma_addr_t phys_to_dma(struct device *dev, phys_addr_t paddr) { -- 2.25.1