Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2887043imu; Wed, 7 Nov 2018 00:59:38 -0800 (PST) X-Google-Smtp-Source: AJdET5f3MO2yxcROSP8UZEkPNxuoJSrXwSt41WFTBvTqRmkVXGrb3Vl0G7+PBQVqLn3+39x39NOW X-Received: by 2002:a17:902:4303:: with SMTP id i3-v6mr1069835pld.204.1541581178776; Wed, 07 Nov 2018 00:59:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541581178; cv=none; d=google.com; s=arc-20160816; b=WtC8w7j81yKr9QoGtUXUJ8tEY4Mkahvl1FyjyfzgZkeCHQ9a1j+JAi9M1j0BHU22iF ZSZn+Yw2DsIOwg6uLV6meGdJ3I4cPZ6bqEXe12wpDVqbRjzaQaeBdFKCPK7auvAck3Yb VMlJOuITjcHjDyusrjyJJYjJvKCIPeZEmEowJ20vkUn0yyK61ZzexEZ2T1z7RYi2cyda BJ/9MAGt4YxPru2+culuH/yzuYqAJ0SNdheyhUL9lyXFczlddVu4PhdMp9DzSobJbsHj 2NuvLR4LViBo4EmKCFiedIU9W4o97oH4KR/FD5V2IYiW7JPWmkjRcfXlZ8ZGMR3mHpsM PRhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=g6DD+rY1gLA/v+5waIB2E+6+EzyYx8FuW/V0uhU+NFs=; b=hn4OmO/BxC44qiCrP0F8S4H23QSkjHiJ4xtBurC6FE/a8r4hLQfFphRL2DlS13AlXB Ly4tf3gXvPliQGr4vSY4hDzTodmCLEmPIdVXmIVb/IS5UdyX4TLkKZ4NSzFUr3LAWtLw TsarZft2gXuZTDRiGTb5IyoSKmloWnWOiOFL5TCd9eQ0aSAponwXb0Gkz8nAd9VTfC/S 3y8/AqAtRjT647DgC8b2GAvz6jTW8pRmU0h72zX0qGX44QmYVWZ3aZ+RbXeECvOQ9/Nv 6ztnjSEybbsTdTEfNrzLN8tHzSZ89ncWh0NW2YA+eFXeVNMP5f9R2IP593PMI9gN480/ kOSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 69si10106pgc.164.2018.11.07.00.59.23; Wed, 07 Nov 2018 00:59:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730531AbeKGS15 convert rfc822-to-8bit (ORCPT + 99 others); Wed, 7 Nov 2018 13:27:57 -0500 Received: from out1.zte.com.cn ([202.103.147.172]:48786 "EHLO mxct.zte.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726306AbeKGS14 (ORCPT ); Wed, 7 Nov 2018 13:27:56 -0500 Received: from mse01.zte.com.cn (unknown [10.30.3.20]) by Forcepoint Email with ESMTPS id 7A8B1EE387A539D56066; Wed, 7 Nov 2018 16:52:56 +0800 (CST) Received: from notes_smtp.zte.com.cn ([10.30.1.239]) by mse01.zte.com.cn with ESMTP id wA78qkMS003847; Wed, 7 Nov 2018 16:52:46 +0800 (GMT-8) (envelope-from wang.yi59@zte.com.cn) Received: from fox-host8.localdomain ([10.74.120.8]) by szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6) with ESMTP id 2018110716530885-9176881 ; Wed, 7 Nov 2018 16:53:08 +0800 From: Yi Wang To: tglx@linutronix.de Cc: mingo@redhat.com, bp@alien8.de, hpa@zytor.com, x86@kernel.org, suravee.suthikulpanit@amd.com, puwen@hygon.cn, davidwang@zhaoxin.com, wang.yi59@zte.com.cn, linux-kernel@vger.kernel.org, dwmw@amazon.co.uk, gregkh@linuxfoundation.org, thomas.lendacky@amd.com, fenghua.yu@intel.com, pbonzini@redhat.com, konrad.wilk@oracle.com, zhong.weidong@zte.com.cn Subject: [PATCH 1/3] x86/cpu: fix prototype warning in cacheinfo.c Date: Wed, 7 Nov 2018 16:54:35 +0800 Message-Id: <1541580877-45723-2-git-send-email-wang.yi59@zte.com.cn> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1541580877-45723-1-git-send-email-wang.yi59@zte.com.cn> References: <1541580877-45723-1-git-send-email-wang.yi59@zte.com.cn> MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2018-11-07 16:53:09, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2018-11-07 16:52:38 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-MAIL: mse01.zte.com.cn wA78qkMS003847 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Missing include file causes warning: arch/x86/kernel/cpu/cacheinfo.c:647:6: warning: no previous prototype for ‘cacheinfo_amd_init_llc_id’ [-Wmissing-prototypes] arch/x86/kernel/cpu/cacheinfo.c:686:6: warning: no previous prototype for ‘cacheinfo_hygon_init_llc_id’ [-Wmissing-prototypes] Signed-off-by: Yi Wang --- arch/x86/kernel/cpu/cacheinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/kernel/cpu/cacheinfo.c b/arch/x86/kernel/cpu/cacheinfo.c index dc1b934..5bafd93 100644 --- a/arch/x86/kernel/cpu/cacheinfo.c +++ b/arch/x86/kernel/cpu/cacheinfo.c @@ -19,6 +19,7 @@ #include #include #include +#include #include "cpu.h" -- 1.8.3.1