From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C38BFC433E0 for ; Wed, 24 Jun 2020 03:30:06 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 913C120707 for ; Wed, 24 Jun 2020 03:30:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="0mRIVtp3"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="x1fukyN/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 913C120707 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VEx75XyAZd1OhOTK23D2HG/LCPBk6qAZK29w+D8BTDY=; b=0mRIVtp3x1czJRikrlBysEB2i rzIhAhAzJicZLo3i1A0bH7bdP5yKApG7peXefEY7UJUbPQQVr2Ys0Xoy4p7UYp+d+GrwUxbH9Ipfz NAvbTYhWil2F3iGBNqix66ZMJ621jI0uFD9Ld9LFKmK+6PuGYU0tw3TFM7Vh+OcV6e4LV61yMJbg6 EZ2PgCPC+OjSZfm4L1jwn/rrfKZf452uel/FmIh1z0c5zoYbO/d2pvefn2ekKOIgED6Wyx+7G1+dB 4TkVaFVrbLIfIUxKZSVbVr670N9pev2byd9KHn9o5GChiclNocl1zmpwfl1+ARESXvzoB4ipimuuE huapEmypA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnw58-0004Ij-AT; Wed, 24 Jun 2020 03:28:14 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jnw55-0004H3-LD for linux-arm-kernel@lists.infradead.org; Wed, 24 Jun 2020 03:28:12 +0000 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E507320707; Wed, 24 Jun 2020 03:28:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592969290; bh=ym46eSbinNXBuzeJdQDJok8yS+XKrYy7wj2VpS7N2qU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=x1fukyN/rrXZP3+3o1nIO/v4sezP06Ud5YQQRWeW7sNdIzxW8q++9wCbexYKhpjHq md2VIlWpuuNK7Z4pOlQZiilDhlQ0/1VQAu0jCPTFvTWoW35DP3PBW20PX+4dUmuTPZ CYy0IUO2rbfrClGC7RCMm7P1V7ePLJ6fw4eMn+Zc= Date: Wed, 24 Jun 2020 11:27:49 +0800 From: Shawn Guo To: Peng Fan Subject: Re: [PATCH] soc: imx: Kconfig: force using OF when COMPILE_TEST Message-ID: <20200624032738.GA3578@dragon> References: <1592216485-20574-1-git-send-email-peng.fan@nxp.com> <20200616155944.ujespw6johpjst4g@taurus.defre.kleine-koenig.org> <6ca1c2a4-0dfc-ea90-b890-58094836818d@arm.com> <20200617060557.tep6yza4upypij26@taurus.defre.kleine-koenig.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Aisheng Dong , "s.hauer@pengutronix.de" , dl-linux-imx , "kernel@pengutronix.de" , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Leonard Crestez , Robin Murphy , "linux-arm-kernel@lists.infradead.org" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jun 24, 2020 at 01:54:42AM +0000, Peng Fan wrote: > > > ok, I'll use __maybe_unused in v2, but it actually not make sense to > > > compile this file for x86_64. > > > > This is wrong in a subtle way. It makes sense to compile the driver on > > x86_64 (and other archs) for QA reasons. It doesn't make sense to use a > > kernel on an x86 machine with this driver enabled. That's why we have > > COMPILE_TEST which you disable if you want to create a kernel to actually > > run it. > > Shawn, > > What's your idea? I am not very clear on which path to go. I think we agreed on __maybe_unused. What Uwe was questioning is the second part of your statement - "it actually not make sense to compile this file for x86_64." Shawn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel