Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6875207ybc; Thu, 28 Nov 2019 07:00:43 -0800 (PST) X-Google-Smtp-Source: APXvYqylWDClVDhSSIQzYlmqRF1ijI6QOTKZrwdss6vsLlD+EfM4s+LXSme3RMyABLKMswKZrwzy X-Received: by 2002:a50:9976:: with SMTP id l51mr32489327edb.6.1574953242458; Thu, 28 Nov 2019 07:00:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574953242; cv=none; d=google.com; s=arc-20160816; b=xjo93x0L+GZIsR/jfNfh91TpG/IbmMT9aTDftHkVARQ0nMnZQs8st6S1P6FydTr9Ue YzSNlMIzdtjdqR5pXcwPBoxpker1n8aN/p+yP2GGeK0zT8yYz95AnaTLNiLMw2X/TZVS pTNxL5gEwQAv3odgU27Sxq3NDE+Hy2Yisf4f3iUucsbd+ySPi6LDzWp7qAL38z1r4OPO HvzTnb1M0oJbG2rlh8yagsmIr+A4KBGxmzDZLZmoEjSBNgV3u6uUjbAmVES2t9kIMwz1 5zUeEeOc8e/JvnNn5bAIfNkGPkXZm7tyq0apGF9bDDSVyroCsNQp3b0gk+RsFcY+iEqq JIvw== 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 :dkim-signature; bh=Z0ILJLPvMSycr+N5z1WBGPbbOOzMeVGs3+El1NFG5gM=; b=oOKGQpEdgtzusf0spJpxrNbRL+Mv1A4rSqXFhdvx9IsPgQM7gUOWcXOKCsoxUgRx80 mmbwWQHb3+15LLN7K+gU9r2OKAaEOsIFSFORakJH7jLESpEUbFRWsCDq7qdHey7WoraI w1N89jDc4daMH0VIIHvJ7FQH8/ybDuSg5iaX1JJb5WzGnhJBacRVxYSlqVi01XwXc5Mb z4+FbdpQ7NLa0ZAEmOHNrrqcYFsLFkO8tWIgcxcJWxpQR9CTQIv8wT4dTKN4ZgYcaRiA TmGHmbkFTQlu4BxKDqdNTGZItO/KWE/Rjb+AVdn/l8+r+pgkL07zbkRqtKczvSXt88Tx lXPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=MsBrXnDd; 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 39si12823918edz.341.2019.11.28.07.00.17; Thu, 28 Nov 2019 07:00:42 -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; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b=MsBrXnDd; 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 S1727104AbfK1O61 (ORCPT + 99 others); Thu, 28 Nov 2019 09:58:27 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:35533 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727594AbfK1O6I (ORCPT ); Thu, 28 Nov 2019 09:58:08 -0500 Received: by mail-lj1-f196.google.com with SMTP id j6so19827390lja.2 for ; Thu, 28 Nov 2019 06:58:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Z0ILJLPvMSycr+N5z1WBGPbbOOzMeVGs3+El1NFG5gM=; b=MsBrXnDd/G1Zjj210ATgY6vuErblELNtwtEokGCaoA1MxxkLkU5DMXWZ/DqI4rkd5Z gETgTkCKjtmJ/BL1I8x41SvinDsW0tjkR9cfyiTi9zOlB2m8FMv18BEU617l2rIZlRYm JgqrkOdeLh5F0tEM8F/+7LQYmLCxUlP6KBeO0= 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:mime-version:content-transfer-encoding; bh=Z0ILJLPvMSycr+N5z1WBGPbbOOzMeVGs3+El1NFG5gM=; b=la89XoLNWrOg0G9jUu5EmQMLvFz4O6WmTpWeQyW6RFg89q8XxAu8gRqestvrMCe7jg duORayNZeBBKT9EciOX9Lm188J1n5aR9yXB70Z998aJgvdYVEKomRvfQEHu/gtd9L2Dr gEGgnF3D04vgoPpU6o3XnrqF0zHbjLPknPKGBdcM0BZJ5u6sHgje8NiHrrldDE3eRYjR jD5IaaboIBcJUsGLBC42YMnyF/4y0U5g+ahY9KE/HPh9+1aw7eIN8c74aJd8P08HDYTF Nd6YFZQvWfWRMr37a8lEz1O/UXjb2QFvoAI3Q1/DZlYT6VsgneMd9TYG/Gq2JXMYaigP +GRg== X-Gm-Message-State: APjAAAXtxg6qhUHYiGQhlxPgRzLL8L1veoiLhmOLpOmLyo8uvBaK0zMl ZcJXHO/FyOaZVPe280wv4/Sn4Q== X-Received: by 2002:a2e:9f4d:: with SMTP id v13mr35084645ljk.78.1574953086759; Thu, 28 Nov 2019 06:58:06 -0800 (PST) Received: from prevas-ravi.prevas.se ([81.216.59.226]) by smtp.gmail.com with ESMTPSA id u2sm2456803lfl.18.2019.11.28.06.58.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Nov 2019 06:58:06 -0800 (PST) From: Rasmus Villemoes To: Qiang Zhao , Li Yang , Christophe Leroy Cc: linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Scott Wood , Timur Tabi , Rasmus Villemoes , kbuild test robot Subject: [PATCH v6 48/49] soc: fsl: qe: remove unused #include of asm/irq.h from ucc.c Date: Thu, 28 Nov 2019 15:55:53 +0100 Message-Id: <20191128145554.1297-49-linux@rasmusvillemoes.dk> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191128145554.1297-1-linux@rasmusvillemoes.dk> References: <20191128145554.1297-1-linux@rasmusvillemoes.dk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When allowing this driver to be built for ARM, the build fails (for CONFIG_SMP=y) since ARM's asm/irq.h header is not self-contained: In file included from drivers/soc/fsl/qe/ucc.c:18:0: >> arch/arm/include/asm/irq.h:34:50: error: unknown type name 'cpumask_t' extern void arch_trigger_cpumask_backtrace(const cpumask_t *mask, But nothing in this file actually uses anything from asm/irq.h - removing this #include generates identical object code, both on PPC32 and on ARM (the latter with a patch added to asm/irq.h to make the build work in the first place). Reported-by: kbuild test robot Signed-off-by: Rasmus Villemoes --- drivers/soc/fsl/qe/ucc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/soc/fsl/qe/ucc.c b/drivers/soc/fsl/qe/ucc.c index da3d7e2dd837..90157acc5ba6 100644 --- a/drivers/soc/fsl/qe/ucc.c +++ b/drivers/soc/fsl/qe/ucc.c @@ -15,7 +15,6 @@ #include #include -#include #include #include #include -- 2.23.0