Commit e109c6db authored by Bhanusree's avatar Bhanusree Committed by Daniel Vetter

drm/gpu: Fix Missing blank line after declarations

-Insert a blank line after the declarations.
-Issue found using checkpatch.pl
Signed-off-by: default avatarBhanusree <bhanusreemahesh@gmail.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1571984833-4596-1-git-send-email-bhanusreemahesh@gmail.com
parent 3f4bb9f7
...@@ -92,6 +92,7 @@ drm_clflush_pages(struct page *pages[], unsigned long num_pages) ...@@ -92,6 +92,7 @@ drm_clflush_pages(struct page *pages[], unsigned long num_pages)
#elif defined(__powerpc__) #elif defined(__powerpc__)
unsigned long i; unsigned long i;
for (i = 0; i < num_pages; i++) { for (i = 0; i < num_pages; i++) {
struct page *page = pages[i]; struct page *page = pages[i];
void *page_virtual; void *page_virtual;
...@@ -157,6 +158,7 @@ drm_clflush_virt_range(void *addr, unsigned long length) ...@@ -157,6 +158,7 @@ drm_clflush_virt_range(void *addr, unsigned long length)
if (static_cpu_has(X86_FEATURE_CLFLUSH)) { if (static_cpu_has(X86_FEATURE_CLFLUSH)) {
const int size = boot_cpu_data.x86_clflush_size; const int size = boot_cpu_data.x86_clflush_size;
void *end = addr + length; void *end = addr + length;
addr = (void *)(((unsigned long)addr) & -size); addr = (void *)(((unsigned long)addr) & -size);
mb(); mb();
for (; addr < end; addr += size) for (; addr < end; addr += size)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment