Re: [PATCH] staging: fbtft: force cast to non-__iomem pointer

From: Greg Kroah-Hartman
Date: Thu Apr 30 2015 - 10:51:35 EST


On Thu, Apr 16, 2015 at 01:29:19PM -0400, Garret Kelly wrote:
> fbtft uses fb_info's screen_base field to store a non-__iomem
> allocation. Cast away the __iomem qualifier when freeing the pointer to
> suppress the sparse warning.

Can't we fix this properly, to use the correct type of pointer instead
for non-__iomem allocations?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/