Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp7469934ybh; Thu, 8 Aug 2019 16:43:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxeROMejDGbNdKJGhOUIdO5sZ5T4Iw2K5ZuJqisnFKIx17lqVgAurqBvBCVwVxaVGtAA4Mp X-Received: by 2002:aa7:8e10:: with SMTP id c16mr17795114pfr.124.1565307797944; Thu, 08 Aug 2019 16:43:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565307797; cv=none; d=google.com; s=arc-20160816; b=Hg2KeVPechAh/3TtQEhOMeEhmU2HBaPnwBlVUSVufJdda1z6bU9kQOiIvnG6GkzFW6 WqDtustkh9MIAUY5uXXjFvsH5ACD3vcNudZVdf5+OG2XuSk7kMOh1KRSrfLXX6/zd/Qr f8w6+JUnOK4zhRkDGcvf0sTpiMV/aNKPweMwUcgJUpl1jZGIl8GVy2+ExWQnGPt1Nyzz jd7JCm7jk+VBPOjyu9L57eD9fcdlmNFxr0qbu2BoVRVU/hiTf1atGwPWBiglir3bXDBv QUMdAhNcm2RacGP4HE00B/Fw4lb0BroGL5rps/3lJdl98fWTFyUR1UBFYM8+yNRCyM0c 1m6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=hLWsFUdUcKRF0BwHo3bvjZSVzrjv6mmq4xPi05kJJ/4=; b=CZS30jg5tVG38LFyB5Gk1/SuM9T2J3zECJrP7APu6VQh7N4rZxzYVqzaLZfdARtAnQ He+SqD2XdLUiou6ne4aWGJs+9cG2WHVi8RP7RtFhAA3h6gJcvZu3Z4pKZ9oHzdZTSBqu hCaieX7G6mAH2s5pRZEKnREFODvCkuGLIdOEG4I7drO5MTmnqatn3MeeiJpU32jd3SlY l2p++DwrG0BrFLzppoVAl/nDlD6kKBK+aTDT6L8sXC1oB+fjaOqdvnwGfSbE2AGLPZoU lN20YDQb66x3p9gROOI/rkre8N79tNBqqPq9sPPDP5965GwO4rRy3wBDbmT9BlVMwCGc im2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=MNHo0Mqa; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h98si48282418plb.206.2019.08.08.16.43.02; Thu, 08 Aug 2019 16:43:17 -0700 (PDT) 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=@kernel.org header.s=default header.b=MNHo0Mqa; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404592AbfHHXjp (ORCPT + 99 others); Thu, 8 Aug 2019 19:39:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:52606 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404499AbfHHXjp (ORCPT ); Thu, 8 Aug 2019 19:39:45 -0400 Received: from earth.universe (unknown [185.62.205.103]) (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 E81492173E; Thu, 8 Aug 2019 23:39:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565307584; bh=hLWsFUdUcKRF0BwHo3bvjZSVzrjv6mmq4xPi05kJJ/4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MNHo0Mqax8BfZY/2I5nzeHuwwEznk/RUpCQqzDq5omoeaheqwojMryMSScBtB/j6i ZkP/qKLkKnKBH1AUuMgnk+/eja3bpIvXgmrJUBDlXR7ntXrtowug2350E3I2okc6Pj OcfXU/hIqST1Lafe5ba18WaxT4KTNKp1GRy5/J/Y= Received: by earth.universe (Postfix, from userid 1000) id 68EEC3C0944; Fri, 9 Aug 2019 01:39:41 +0200 (CEST) Date: Fri, 9 Aug 2019 01:39:41 +0200 From: Sebastian Reichel To: Dmitry Torokhov Cc: Arnd Bergmann , Aaro Koskinen , Tony Lindgren , Greg Kroah-Hartman , Linus Walleij , Bartlomiej Zolnierkiewicz , Linux Kernel Mailing List , Tomi Valkeinen , "open list:HID CORE LAYER" , linux-omap , Linux ARM Subject: Re: [PATCH 13/22] input: omap: void using mach/*.h headers Message-ID: <20190808233941.v6elo2mdji5awylu@earth.universe> References: <20190808212234.2213262-1-arnd@arndb.de> <20190808212234.2213262-14-arnd@arndb.de> <20190808214257.GF178933@dtor-ws> <20190808221950.GG178933@dtor-ws> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4tjmcfjvugwwn6md" Content-Disposition: inline In-Reply-To: <20190808221950.GG178933@dtor-ws> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --4tjmcfjvugwwn6md Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Thu, Aug 08, 2019 at 03:19:50PM -0700, Dmitry Torokhov wrote: > On Thu, Aug 08, 2019 at 11:46:45PM +0200, Arnd Bergmann wrote: > > On Thu, Aug 8, 2019 at 11:43 PM Dmitry Torokhov wrote: > > > On Thu, Aug 08, 2019 at 11:22:22PM +0200, Arnd Bergmann wrote: > > > > By using the new linux/soc/ti/omap1-io.h header instead, > > > > compile-testing can be enabled, and a CONFIG_ARCH_MULTIPLATFORM > > > > conversion of omap1 may eventually be possible. > > > > > > > > The warning in the header file gets removed in order to > > > > allow CONFIG_COMPILE_TEST. > > > > > > Given that we want to migrate people off this driver everywhere but > > > OMAP1 I wonder why we would want to improve compile coverage of it. > >=20 > > Mainly for consistency: I'm converting all omap1 drivers in this series= to > > not rely on mach/* headers and to let them be compiled standalone. > > The other drivers don't have a replacement, so I could treat this diffe= rent > > from the rest and skip the Kconfig and platform_data changes if you > > prefer. >=20 > Yes, because at least with the version you posted we are losing the > #warning telling people to move to matrix_keypad. We could do: >=20 > #ifndef CONFIG_COMPILE_TEST > #warning ... > #endif >=20 > if you really want to allow compiling standalone for testing. FWIW the driver depends on ARCH_OMAP1 and the warning is only printed for !ARCH_OMAP1. In other words: The warning is never printed at the moment. All OMAP2+ boards moved to matrix-keypad long time ago and the driver does not support OMAP2+ anymore since f799a3d8fe170 from 2012. -- Sebastian --4tjmcfjvugwwn6md Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAl1MsroACgkQ2O7X88g7 +poQJBAAnjfNcZ21PrPoH/EmfeeRe4fGSZaNSCLXNqf+HuY+WIUD72F8q4ywHwvn Fkm85facQO3vu6RCVoapSh5nZVHkL/WyM6fqDhJDuBZvqleHE68sgmBY9KIgg7ur qeYMF4ul4BhvC218JY0dM/xwV0uwp61g3T+4vgUPvT3YsnB5uoYa7wT2D71lilr8 Q+S/Az/rTrrn7uI1vKXZjfUKsm/cWuWyAHbzgH7Ax8f/gxcLUoHS1IUTiwyCFzKJ BxAGPsZziw7Un8d3LPwcSzqB9VslryGs4hiuiaSAYaYN6+NrjjlCI7wka+HFfKGO 0OumM77eQCkVNgCSafoTxJWZZo9HsTAeKkJy1iDGWVeiSWqHKPUj/YDj6ityxuba 5LKhZan4Gx1JoihDEw69N/a0ZxNvYJzHPBffqHbSLOc7QkWeveoSUMGgJjLLNl/f UD7U1rC1ugAz3jqmgS5it+35pCA17glrVtIPzDsTPx90lGK0lxe+krbPClVkeckP IIkuf4xyJtsep5fQQDGxtCape8V52GtQYre1BjBxQU/k7KUGR+08gkiRmc3x8qvK v05wmqSeIyGXox8WrvB/hARab8/2nTA6hf+LedV+ofvNzRGBKM8hrgdpfveXlwhF HEJ74R2g3SOIxtXz/CuFWgUwsHEEF1NlaBOAaNa+1H9tFMMRgIo= =sia4 -----END PGP SIGNATURE----- --4tjmcfjvugwwn6md--