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.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 599D4C2BB85 for ; Thu, 16 Apr 2020 16:12:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2DDF520857 for ; Thu, 16 Apr 2020 16:12:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587053552; bh=UBXmzFhBpFgoY6vyEgZDx/G29gEPaaN/4bc/3OJtawE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=Cw6zUP/nhMnwU8UcusYQE72qKt6ZqKjw5pYm9kyDzT8nwtCbh/li4PT90C82pD1ap BIeI+Mx/I1sWcykdHX/lKsI7niUjy3IRbJ/ZIxPfXBxzibEpl0s+vhLzd9f3C/Dnx1 RXOwKb4zp8IVElu4RDOxf7NcYASqECREKcb+iChU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2410539AbgDPQMb (ORCPT ); Thu, 16 Apr 2020 12:12:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:43270 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728873AbgDPQM3 (ORCPT ); Thu, 16 Apr 2020 12:12:29 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (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 29CBC206B9; Thu, 16 Apr 2020 16:12:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587053548; bh=UBXmzFhBpFgoY6vyEgZDx/G29gEPaaN/4bc/3OJtawE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VIZX6WdXWGiQrMeDr2VMTqHBvMeh3c2VpUcozveNJsTJeaH7EW4QSN7gl+a5FZuLB 6trTiRAk9+2FGitd9VrRmDcoYphRYgEFrXs2+/AZMTrMjueRSQwPhx4k43Rxh1xLQ/ idLywQ7FmJEwBUTYf+Cb8idVbattvmERHkTFWLwk= Date: Thu, 16 Apr 2020 17:12:26 +0100 From: Mark Brown To: Christoph Hellwig Cc: Thomas Bogendoerfer , Liam Girdwood , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [PATCH 1/7] ASoC: txx9: don't work around too small resource_size_t Message-ID: <20200416161226.GN5354@sirena.org.uk> References: <20200416150011.820984-1-hch@lst.de> <20200416150011.820984-2-hch@lst.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NJSRbAqOy4NeGDns" Content-Disposition: inline In-Reply-To: <20200416150011.820984-2-hch@lst.de> X-Cookie: Tempt me with a spoon! User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --NJSRbAqOy4NeGDns Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Apr 16, 2020 at 05:00:05PM +0200, Christoph Hellwig wrote: > The txx9 sound driver deends on HAS_TXX9_ACLC, which is only set for > three tx49xx SOCs, and thus always has a 64-bit phys_addr_t and > resource_size_t. Instead of poking into ioremap internals to work > around a potentially too small resource_size_t just add a BUILD_BUG_ON > to catch such a case. Acked-by: Mark Brown or can I just apply this independently of the rest of the series? --NJSRbAqOy4NeGDns Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl6Yg+kACgkQJNaLcl1U h9DEbgf+JwzZc2jhXpAP4FvODQGQv1h0Vc/XAbA4UGDH2HWoKz9NJ+pIUCfuCnOw DAysKMiHzprQKBvLH5LmrsMjHlzCGa8tzGqf3FjRxRTEcTZwwzlHk/1+e12JctPK QZsERfcmkEvJcJajNoafnFi9DbHHzJvY2hd32zbrY97sgAXhqy7XhkFgvXKJBXZI sGrWoQS+vxQeQUzLToCWwNLo8akrKGmBX0oSvOf+9vgeqg3PF5ShpxjOyJs74nOc 32mw8r9AB5A+K7QKVIe3Q4x9irWxv5kxQ7O09gqJ/PQZTeaJZ3XqnJ0uMMs5SadH gV4+DtvO63MROj2M0JdqnVWDPMjvjw== =uLa8 -----END PGP SIGNATURE----- --NJSRbAqOy4NeGDns--