Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2020935lqb; Mon, 27 May 2024 05:33:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVHdkGZaVLS2F1Fd2nQi9N/4GiXyZCItuBEpPGK+LSMiUfm0zyfBoop5viy1LDLQczGkTdvDDSsyBz91kl6h/dmJpMYz6lezOqUEM1WCg== X-Google-Smtp-Source: AGHT+IEfq9bZNWZE6ujhqGPPEiUlZ7WJq0T3kkwqkI/2E4rVOGVifPCSuZ51H3mE2Z81OwPLqbGD X-Received: by 2002:a05:6102:464d:b0:48a:30cd:8c92 with SMTP id ada2fe7eead31-48a38505ffcmr7385384137.1.1716813220935; Mon, 27 May 2024 05:33:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716813220; cv=pass; d=google.com; s=arc-20160816; b=VTttfDWGsYiJ+/dhiJPqHtQqjEjKmdTTCrSGVA7OX5YFMSvy4V7rU4LRhzw6iKQhmI 88Dy17H4tOumjoAQ389ZViuvRhsFYYAr3auLDpW/RYeThQq86ETu28nqMqcp3SqhG4y5 ZCx2mRdoJhFhOrVswF9WSXcGuUd0bZrFz5ubhzv8kaW+BUWPnzhWfytO3iUkE1hhVT+8 4jQ2VYdi6RaWoNqbTlVcR6trYHLRvHyhI7VuCrCuLbLyTbQvCP1wZFzRePzBbv5rdUQY nieufa2jjyGGE9SLBwdbplW5PyTfKaVRTRVZTh5l4YtMDDQ9PIm8LdIk/kB4bGK26nGL T6xQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=4PbKr6F4qyJEGh68m1meo5rRQR6WxkeJ7FMZXKENRV0=; fh=G6HscdEy6rR/uzgrMI1dw9o04pY1Un4U8dmHotnCqjw=; b=A9mDGNEF3B4lK5dcUpnWDhAx5aFGPTcHnHv/dHJgKs7SKjCVj1WpL+QtNxr0Y6+oFc +HO69BqgQv3rrCx+ZvlJv11f0pQrdTT6EII3kA6Wz9bRCQcHD+xM8QOVbNMPGEWnsbPu tqVTSjs9amUdIhi5hbh8X1HKTiXrOGa39AifJWSRXR4aQJorwYksAJd1mgiegKK6dYeo zstprLflN/cJyRN5iGcqQnmMkl+T85TM5fQbMKpHcq/kvsS3dT1ledPV3EL/Ja3/T0CF BQB/1yBL5rbHTQvP9T2e39eM01KOYHq02uBHlhqzGbdqPH6l5mzDq+EUKUWhazCMBBF5 GUSw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xzdbb6fq; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-190588-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190588-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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-48a3a34be28si1257753137.447.2024.05.27.05.33.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 05:33:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190588-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=@linaro.org header.s=google header.b=xzdbb6fq; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-190588-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190588-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 40C431C20A6C for ; Mon, 27 May 2024 12:33:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 844F015E5D7; Mon, 27 May 2024 12:33:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xzdbb6fq" Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3E44C15E5CD for ; Mon, 27 May 2024 12:33:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716813189; cv=none; b=RFy8ekQ2Fc3/r3+aogxoyWiHMKsIF6kGmr64KD2uNGVUvXHe1aXPMuXB4I/EeXRQkHBUTkUipubKt6BiLc1d/QRv06in9T/7mG8/Uy3k6nc4d5UlBJqXfwro6L7FEeo39HZPndOfLUnYLybwQxr5eccs8hA/vfD4XdGz07IeYbM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716813189; c=relaxed/simple; bh=6gpy4QnlXfn+3VfnJIdKkS3eQTcH5CkCvAbl/LBAL7Y=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rubrhJ4vLZSSJ3ypBHrTXuaqMq6sc+nRWn/iJEkTGZlNH9RRoTaporveCo/kZNNnsLdfJJkKSLmGbs/KfIo6z5tNAIfYjRmZ6t2NAkF2KyPcQz1z4P4C2iWkVHol+L8o7/Cs+zjfUXj+nho09rdG8lnAwSV8xUG/mZ3zs4jJh9I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=xzdbb6fq; arc=none smtp.client-ip=209.85.221.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-354fb2d8f51so3216892f8f.3 for ; Mon, 27 May 2024 05:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716813186; x=1717417986; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=4PbKr6F4qyJEGh68m1meo5rRQR6WxkeJ7FMZXKENRV0=; b=xzdbb6fq0LJntuZkZBwLuTISb20CAGSt8MJhSIqpmOu0fbKFrJBjur2YzKCkG/3zlF BieO76tfiki5EqA4MN6au6YEbknU+cWfL5ElLfvjUsfgWmSndXJn3IjbWeH0FTxTXto1 6b/j3y7CSxSspyexMO3FV8dqakGw6w8kN5MUjDSSSZJaF8+JppoAeYKklOjZVq+xqk/b sLoKvZqjE9pf4cwpxEkwrFiqm6B/dEjLB1O/EcDzO3sunHSD7gISnWUIWaUphIkNZYK1 oOl7tpzlZxe2iuoNgrvVeNLiTyHlyu/HMZy/beD6Vm1ssbxsd1ZPHSKqhoUTSM7I1T0L ciCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716813186; x=1717417986; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=4PbKr6F4qyJEGh68m1meo5rRQR6WxkeJ7FMZXKENRV0=; b=gYnTKlkaO7KmLKJd4N1L/2jj61VRwVKvYqUdqpatx5Wh+KaPm+FXhXGxkL+u70RnUi G7mC4jTuEouhxd+ggXRn9KBOCgZ1ZkiiahefQS3NSYLPIEMvFNEzQpqJ9xTCtuQgH/WC PGldBijckX3TzcuymCRhjuZRCjoHjI0k5wendMxUhfPzjRx90Zfy8gRKXs0TYMuBV6P+ p0/23TwhcCjAyxrTsfSCOkGA4yGWALpyynkaE1esk+13l91m0Cb66IV+Fch/3cNtOJ/M 05sZ+jBKayzoeeysGXBUBRqRUn77FcdKj84OX1wcU/aFVXLvmb7KP45cFJVMX7fUcFFC zD2w== X-Forwarded-Encrypted: i=1; AJvYcCVyXTfX8Suw0juDTCILkyyD0OGE7xUUH7cECtTqlc3ZiafE3saGoHFaNdREIpmtn2JBfZaYvtcFPZ3uwN8jSVpVW/ERvleQm4fek8xe X-Gm-Message-State: AOJu0Yx597LcToy/om8Uaxd2c5VmD97ymWCiN+pMNHHJIxzMRjNx6FNf qDeLVPwx5bfs0uZoSrybUxEA/JOSRdhlzRrzn4iVm/7HuC/sbdEGpWsLBmjntqg= X-Received: by 2002:adf:eccf:0:b0:349:eb59:c188 with SMTP id ffacd0b85a97d-35526d67290mr6935711f8f.5.1716813186518; Mon, 27 May 2024 05:33:06 -0700 (PDT) Received: from [192.168.69.100] ([176.176.152.134]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3557a08cc1bsm9025986f8f.45.2024.05.27.05.33.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 May 2024 05:33:06 -0700 (PDT) Message-ID: Date: Mon, 27 May 2024 14:33:04 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/4] MIPS: Loongson64: Include bootinfo.h in dma.c To: Jiaxun Yang , Huacai Chen , Thomas Bogendoerfer , Aleksandar Markovic , Paolo Bonzini , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-mips@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20240507-loongson64-warnings-v1-0-2cad88344e9e@flygoat.com> <20240507-loongson64-warnings-v1-2-2cad88344e9e@flygoat.com> Content-Language: en-US From: =?UTF-8?Q?Philippe_Mathieu-Daud=C3=A9?= In-Reply-To: <20240507-loongson64-warnings-v1-2-2cad88344e9e@flygoat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 7/5/24 20:51, Jiaxun Yang wrote: > dma.c defined function plat_swiotlb_setup, which is declared in > bootinfo.h. > > Fixes warning: > arch/mips/loongson64/dma.c:25:13: warning: no previous prototype for ‘plat_swiotlb_setup’ [-Wmissing-prototypes] > 25 | void __init plat_swiotlb_setup(void) > | ^~~~~~~~~~~~~~~~~~ > > Signed-off-by: Jiaxun Yang > --- > arch/mips/loongson64/dma.c | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Philippe Mathieu-Daudé