Re: [PATCH v4 1/2] lib: devres: add a helper function for ioremap_uc

From: Tuowen Zhao
Date: Mon Oct 14 2019 - 15:15:58 EST


On Tue, 2019-10-15 at 02:46 +0800, kbuild test robot wrote:
> -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # save the attached .config to linux build tree
> GCC_VERSION=7.4.0 make.cross ARCH=sparc64

Oops, I'm not sure how would we best fix this. Clearly the patch is not
intended for sparc64. Maybe adding devm_ioremap_uc is rather not safe
right now.

Although, We could declare dummies for these architectures like it has
been for powerpc.

I just noticed another driver having this issue, and fixed with direct
calls to ioremap_uc().

3cc2dac5be3f2: drivers/video/fbdev/atyfb: Replace MTRR UC hole with
strong UC

Tuowen