projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f4bb9f
)
drm/gpu: Fix Missing blank line after declarations
author
Bhanusree
<bhanusreemahesh@gmail.com>
Fri, 25 Oct 2019 06:27:13 +0000
(11:57 +0530)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Fri, 25 Oct 2019 07:34:46 +0000
(09:34 +0200)
-Insert a blank line after the declarations.
-Issue found using checkpatch.pl
Signed-off-by: Bhanusree <bhanusreemahesh@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link:
https://patchwork.freedesktop.org/patch/msgid/1571984833-4596-1-git-send-email-bhanusreemahesh@gmail.com
drivers/gpu/drm/drm_cache.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_cache.c
b/drivers/gpu/drm/drm_cache.c
index e574261f6bc3dbabbdd593da216630eb01271913..12f8d1ba865397e912b5b9a0baa8af233c3e894a 100644
(file)
--- 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)