Re: [PATCH 1/7] ASoC: txx9: don't work around too small resource_size_t
From: Christoph Hellwig
Date: Thu Apr 16 2020 - 12:13:50 EST
On Thu, Apr 16, 2020 at 05:12:26PM +0100, Mark Brown wrote:
> 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 <broonie@xxxxxxxxxx>
>
> or can I just apply this independently of the rest of the series?
No, once ioremap is moved out of line the driver would otherwise
fail to compile as it doesn't pull in the defintitions anymore.