Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: android: ion: ion_heap.c: fix parenthesis alignment

This fixes the checkpatch.pl "Alignment should match open parenthesis"
issues in ion_heap.c.

Signed-off-by: Ben LeMasurier <ben@crypt.ly>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Ben LeMasurier and committed by
Greg Kroah-Hartman
33a5956c 95a31ef1

+5 -5
+5 -5
drivers/staging/android/ion/ion_heap.c
··· 93 93 } 94 94 len = min(len, remainder); 95 95 ret = remap_pfn_range(vma, addr, page_to_pfn(page), len, 96 - vma->vm_page_prot); 96 + vma->vm_page_prot); 97 97 if (ret) 98 98 return ret; 99 99 addr += len; ··· 116 116 } 117 117 118 118 static int ion_heap_sglist_zero(struct scatterlist *sgl, unsigned int nents, 119 - pgprot_t pgprot) 119 + pgprot_t pgprot) 120 120 { 121 121 int p = 0; 122 122 int ret = 0; ··· 181 181 } 182 182 183 183 static size_t _ion_heap_freelist_drain(struct ion_heap *heap, size_t size, 184 - bool skip_pools) 184 + bool skip_pools) 185 185 { 186 186 struct ion_buffer *buffer; 187 187 size_t total_drained = 0; ··· 266 266 } 267 267 268 268 static unsigned long ion_heap_shrink_count(struct shrinker *shrinker, 269 - struct shrink_control *sc) 269 + struct shrink_control *sc) 270 270 { 271 271 struct ion_heap *heap = container_of(shrinker, struct ion_heap, 272 272 shrinker); ··· 279 279 } 280 280 281 281 static unsigned long ion_heap_shrink_scan(struct shrinker *shrinker, 282 - struct shrink_control *sc) 282 + struct shrink_control *sc) 283 283 { 284 284 struct ion_heap *heap = container_of(shrinker, struct ion_heap, 285 285 shrinker);