[PATCH 1/2] drm/gpu: Fix Missing blank line after declarations
Daniel Vetter
daniel at ffwll.ch
Fri Oct 25 07:35:00 UTC 2019
On Fri, Oct 25, 2019 at 11:57:13AM +0530, Bhanusree wrote:
> -Insert a blank line after the declarations.
> -Issue found using checkpatch.pl
>
> Signed-off-by: Bhanusree <bhanusreemahesh at gmail.com>
Applied, thanks for your patch.
-Daniel
> ---
> drivers/gpu/drm/drm_cache.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/drm_cache.c b/drivers/gpu/drm/drm_cache.c
> index e574261..12f8d1b 100644
> --- a/drivers/gpu/drm/drm_cache.c
> +++ b/drivers/gpu/drm/drm_cache.c
> @@ -92,6 +92,7 @@ drm_clflush_pages(struct page *pages[], unsigned long num_pages)
>
> #elif defined(__powerpc__)
> unsigned long i;
> +
> for (i = 0; i < num_pages; i++) {
> struct page *page = pages[i];
> void *page_virtual;
> @@ -157,6 +158,7 @@ drm_clflush_virt_range(void *addr, unsigned long length)
> if (static_cpu_has(X86_FEATURE_CLFLUSH)) {
> const int size = boot_cpu_data.x86_clflush_size;
> void *end = addr + length;
> +
> addr = (void *)(((unsigned long)addr) & -size);
> mb();
> for (; addr < end; addr += size)
> --
> 2.7.4
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the dri-devel
mailing list