Re: [PATCH v2] drm/exynos: gem: Fix sparse warning

2020-07-13 Thread Inki Dae
20. 7. 14. 오전 1:03에 Sam Ravnborg 이(가) 쓴 글: > On Mon, Jul 13, 2020 at 09:07:08AM +0200, Marek Szyprowski wrote: >> kvaddr element of the exynos_gem object points to a memory buffer, thus >> it should not have a __iomem annotation. Then, to avoid a warning or >> casting on assignment to fbi

Re: [PATCH v2] drm/exynos: gem: Fix sparse warning

2020-07-13 Thread Sam Ravnborg
On Mon, Jul 13, 2020 at 09:07:08AM +0200, Marek Szyprowski wrote: > kvaddr element of the exynos_gem object points to a memory buffer, thus > it should not have a __iomem annotation. Then, to avoid a warning or > casting on assignment to fbi structure, the screen_buffer element of the > union

[PATCH v2] drm/exynos: gem: Fix sparse warning

2020-07-13 Thread Marek Szyprowski
kvaddr element of the exynos_gem object points to a memory buffer, thus it should not have a __iomem annotation. Then, to avoid a warning or casting on assignment to fbi structure, the screen_buffer element of the union should be used instead of the screen_base. Reported-by: kernel test robot