Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1217449iol; Fri, 10 Jun 2022 02:50:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzNNkdtKMeFfZw697zSsLRGPZyNr+5scHYiY2U8SvqkjANSnIxH8VUP17KAV0B90YhbG4mC X-Received: by 2002:a63:1e49:0:b0:3fd:cf48:3694 with SMTP id p9-20020a631e49000000b003fdcf483694mr21517061pgm.275.1654854644024; Fri, 10 Jun 2022 02:50:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654854644; cv=none; d=google.com; s=arc-20160816; b=j/7sXBHmTBPSOoqHGHk3SwLiFkoyqwBo6sBtOjlybKszM+j8fEtBgPzsawUpYsLN5C mcjOzw52LxgtJjJaYTKvtp8mogBoCRedUx43gibj3YIb4yCoIbpYNaTD4wERq8Jf3Exm 3coPmauuIvFxQqfLlf3JSu1fQLhadIRP8JhSp7RTlA7zdD3BluEN/Eu6jwBC5ENVCBVo 6230WBoHKKzML/1LFL5XAaB3XRGJBfPZdGhYqR5qA2HET8hNmpUa4VgZP/GogFeJFF3n nvJibmt/Wcds4xhrqrgoEdEMeiU0tBAG+K4q7EBIA24byoCwi6/ZLyRv3cWYUZIvBOgI FZtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=r1BFFY96BLYDGQ5azlLYTh1wmtwTOSHcZr8CTD51bTw=; b=FYVdB04QHtuXOwvvn9oeZzr6nDBoOXCiwCWyKn7sBPRFtRSJJ9jHPBarRXoJZcWv/n sMr5jrlMqm/ecFM8JGbJeoGxYkiHW12siXH929eiMCIS0y9LPR8/uPVZIZDQjb3y1Rd0 1vKnk092kIIg0MjHY9QH6ISU/lFfwJRq9UieNEQ1aKmQmzYE5qhAmv3et6nUZWXr2xrH GX2UBCdxKf1wSdXIGcSp8/w7APtm3FNhIsCizIBFyXnSyc+eGD799v500VsjBTvJ9bRq y6QY/wV+6XLm1GChIacaiKxyIcNBCqVfqL2CfC2sn5yhLjHI9RpopQd2VCuR0o6qJmrk uwIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GlgkqHLd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lp16-20020a17090b4a9000b001e049d7ca99si3123996pjb.138.2022.06.10.02.50.30; Fri, 10 Jun 2022 02:50:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GlgkqHLd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344480AbiFJJMi (ORCPT + 99 others); Fri, 10 Jun 2022 05:12:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243414AbiFJJMB (ORCPT ); Fri, 10 Jun 2022 05:12:01 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6434A2864A0; Fri, 10 Jun 2022 02:09:51 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0931E61D06; Fri, 10 Jun 2022 09:09:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72889C34114; Fri, 10 Jun 2022 09:09:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654852190; bh=/qdROdWD24rBg3azmTj1UmmI9WAWTh2B8jeXrv1aSiw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=GlgkqHLdmwi2zxs5qnJMHzxG60wRAb49jUqvpQzpmsDMbXvQ8/G0jPJuXKS5BPJL/ 0aqPXCYxRasi77UbaQWD4peserc9Uu1JWNSWTmyOQsxtya8un9zsYBvMlVBI8mm1O9 IBUYmAdoCJOQOItgB03T2ao3GcrAYBM7zWbzHnOsJiin6cncdbLMSy23xGhrmWrcWW fzwavPACYRxnlNM9HVa1JgyxZXcfpizzc1pFwbUtRqHnolnkyMHCXd2B/ELxdfPchE bv81RhnJ7/+T9NgFLCLpc/x95JnKDdWQMa6eywgF09YIDlQFdtjdlkPPhpLnChWrX9 VRRP6IRcFf4PQ== Received: by mail-oi1-f175.google.com with SMTP id k24so8159283oij.2; Fri, 10 Jun 2022 02:09:50 -0700 (PDT) X-Gm-Message-State: AOAM530wi4fB4Cbs8sA74a3X7eVlauGiXJtD2IqnC50MZafPgVN8nyjZ fjLdRrvq3hQvBqkACUNoZ8PmKmhjQBROoWIBRpk= X-Received: by 2002:a05:6808:300e:b0:32c:425e:df34 with SMTP id ay14-20020a056808300e00b0032c425edf34mr4014898oib.126.1654852189628; Fri, 10 Jun 2022 02:09:49 -0700 (PDT) MIME-Version: 1.0 References: <20220610090005.1358402-1-javierm@redhat.com> In-Reply-To: <20220610090005.1358402-1-javierm@redhat.com> From: Ard Biesheuvel Date: Fri, 10 Jun 2022 11:09:38 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] efi: sysfb_efi: remove unnecessary include To: Javier Martinez Canillas Cc: Linux Kernel Mailing List , Stephen Rothwell , linux-efi Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 10 Jun 2022 at 11:00, Javier Martinez Canillas wrote: > > Nothing defined in the header is used by drivers/firmware/efi/sysfb_efi.c > but also, including it can lead to build errors when built on arches that > don't have an asm/efi.h header file. > > This can happen for example if a driver that is built when COMPILE_TEST is > enabled selects the SYSFB symbol, e.g. on powerpc with allyesconfig: > > drivers/firmware/efi/sysfb_efi.c:29:10: fatal error: asm/efi.h: No such file or directory > 29 | #include > | ^~~~~~~~~~~ > > Reported-by: Stephen Rothwell > Signed-off-by: Javier Martinez Canillas Queued up in efi/urgent, thanks > --- > > drivers/firmware/efi/sysfb_efi.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/firmware/efi/sysfb_efi.c b/drivers/firmware/efi/sysfb_efi.c > index 4c7c9dd7733f..7882d4b3f2be 100644 > --- a/drivers/firmware/efi/sysfb_efi.c > +++ b/drivers/firmware/efi/sysfb_efi.c > @@ -26,8 +26,6 @@ > #include > #include