From patchwork Tue Jul 24 20:46:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 948842 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="j6y5EOjL"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="uxPYVA/m"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41Zr4w1Kp6z9s4s for ; Wed, 25 Jul 2018 06:46:56 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=z42ybH8elV9v+013n/0N5GCVXBh3yQvbjj9uyA3ec4g=; b=j6y5EOjLAaCfxxGTFE8Behc6Km CAno7NMLofKAZ8bOiEsy3TkED6Hy6Q3CX1Y0StQC3jb3+OyBG9cZDf+KZ/pTc5msZbePptxWyUCgA EseoKi6XXNfVvtu+NY8nvYbZhICq6AV/FUx+FroQ+GPs9uxmj5Ux7P8834TMrDdxyM/yT4lPUzSKr 2vS19ziODF77CeIdV4SSQtp7EawXVaU/c8LMXl3CCydBK7ymUYx14J3ZBzLCkb14SLQi5HnCBg5t/ dKxQo/2jVakiFBNhj+NIopauS0WyBWABgEkFG0YqGrOXGjjGmak8bQuNes0dNbacjOQ1Dw1Kh3Ypz XSPW/pGQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fi4Cr-00032z-AU; Tue, 24 Jul 2018 20:46:53 +0000 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fi4Ck-0002nv-0u for linux-snps-arc@lists.infradead.org; Tue, 24 Jul 2018 20:46:48 +0000 Received: by mail-pf1-x42e.google.com with SMTP id k19-v6so1127409pfi.1 for ; Tue, 24 Jul 2018 13:46:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=QuyyNq9ZFC3HSMCUHgh/8rZRyuzcFzdaIJ4tDziGVEE=; b=uxPYVA/mmGOeMDUwQSp7fsP95cByxOFbPwQuu9YYSQXxnLy+9wn6rtczNieiAMYTBF EdFwC2urMAuGvklPJTV7si1Croe+er4LYCBUeYc3wbDEYMkha6fYtxTkxqD1H5Yrfrhr QSVdTms33c/o6EEBCThtpKFHd4XljOnzw6W9LJpLhKVv/7DLai4pVD8Ya0ZQNwOGkIQL +63ZvTCf2mcts+liMXyIAU1XaVLpvxp5mirN7lGXqCT9wayyrxiYyDrLzvb/U0xMdMRl +HLAbN0QOZx+yfCGMXs6fxfq34wKzQ9O4KnY226KXsOwsgmGFN1n8bGog7Pdhv5rf8zI Xlnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=QuyyNq9ZFC3HSMCUHgh/8rZRyuzcFzdaIJ4tDziGVEE=; b=LZP7fE61R9+0MQsysTJHfEH1l6GBe5rM3xIWObuWVENlEA9wKbrobi/WzZh6+A+s0F vAVdEjhl3Y/rIWH3XSYqJnmf1yaSzh9+Wl++VVntXqYQV3m6F5sxD3ahC1YTXNpU8Voe GFeB62mUlPWKc6wrvgRlM0vsDB3NR52/FRiZHQb03XUZ1ZZgKcGj3rSq7ilyTT6oiW4w LV6eQ6lJxuPNxRzzrLX94+/pE1RpJ95UjD+9IJnFTmPOyxXErGS/Ns/NehhIRDOiPHw1 fTUcsPNs/5sciECNd9ydMEI2QOWEEQCmwFh12tvs+X64FWx7xSbcpZx9v+kliLcR4gv/ gOZQ== X-Gm-Message-State: AOUpUlEy73j2pzj7NvjiQbe0OJrnjqOCFGfRV7b1hZEs5J8YOJMk4JDO 0MhLoNB5l2mu/bRGyN38EFM= X-Google-Smtp-Source: AAOMgpd/XPHE/nCDGmkhjFe7JrZIWIb+j3xvpnQYUbXtSL5qXwBhqis2HxINziIDwbv99RG0ZexjKw== X-Received: by 2002:a65:6699:: with SMTP id b25-v6mr17912460pgw.426.1532465195144; Tue, 24 Jul 2018 13:46:35 -0700 (PDT) Received: from midway.home (static-50-53-52-16.bvtn.or.frontiernet.net. [50.53.52.16]) by smtp.gmail.com with ESMTPSA id t21-v6sm21536110pfi.73.2018.07.24.13.46.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Jul 2018 13:46:34 -0700 (PDT) From: Randy Dunlap To: linux-kernel@vger.kernel.org Subject: [PATCH 3/4] arc: fix some plat-eznps data type errors Date: Tue, 24 Jul 2018 13:46:21 -0700 Message-Id: <20180724204622.2366-4-rd.dunlab@gmail.com> X-Mailer: git-send-email 2.13.7 In-Reply-To: <20180724204622.2366-1-rd.dunlab@gmail.com> References: <20180724204622.2366-1-rd.dunlab@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180724_134646_433757_9883CB70 X-CRM114-Status: UNSURE ( 8.44 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (rd.dunlab[at]gmail.com) -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vineet Gupta , Randy Dunlap , Ofer Levi , linux-snps-arc@lists.infradead.org MIME-Version: 1.0 Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org From: Randy Dunlap Add to fix build errors. Both ctop.h and use u32 types and cause many errors. Examples: ../include/soc/nps/common.h:71:4: error: unknown type name 'u32' u32 __reserved:20, cluster:4, core:4, thread:4; ../include/soc/nps/common.h:76:3: error: unknown type name 'u32' u32 value; ../include/soc/nps/common.h:124:4: error: unknown type name 'u32' u32 base:8, cl_x:4, cl_y:4, ../include/soc/nps/common.h:127:3: error: unknown type name 'u32' u32 value; ../arch/arc/plat-eznps/include/plat/ctop.h:83:4: error: unknown type name 'u32' u32 gen:1, gdis:1, clk_gate_dis:1, asb:1, ../arch/arc/plat-eznps/include/plat/ctop.h:86:3: error: unknown type name 'u32' u32 value; ../arch/arc/plat-eznps/include/plat/ctop.h:93:4: error: unknown type name 'u32' u32 csa:22, dmsid:6, __reserved:3, cs:1; ../arch/arc/plat-eznps/include/plat/ctop.h:95:3: error: unknown type name 'u32' u32 value; Signed-off-by: Randy Dunlap Cc: Vineet Gupta Cc: Ofer Levi Cc: linux-snps-arc@lists.infradead.org --- arch/arc/plat-eznps/include/plat/ctop.h | 1 + 1 file changed, 1 insertion(+) --- linux-next-20180723.orig/arch/arc/plat-eznps/include/plat/ctop.h +++ linux-next-20180723/arch/arc/plat-eznps/include/plat/ctop.h @@ -21,6 +21,7 @@ #error "Incorrect ctop.h include" #endif +#include #include /* core auxiliary registers */