All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: android: ion: ion_chunk_heap.c fix parenthesis alignment
@ 2016-08-24  9:32 Didik Setiawan
  2016-09-01 15:41 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Didik Setiawan @ 2016-08-24  9:32 UTC (permalink / raw)
  To: labbott, sumit.semwal, gregkh, arve, riandrews, devel, linux-kernel

Fix checkpatch.pl warning about "Alignment should match open parenthesis".

Signed-off-by: Didik Setiawan <ds@didiksetiawan.com>
---
 drivers/staging/android/ion/ion_chunk_heap.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/android/ion/ion_chunk_heap.c b/drivers/staging/android/ion/ion_chunk_heap.c
index 560cf90..a8f6cd8 100644
--- a/drivers/staging/android/ion/ion_chunk_heap.c
+++ b/drivers/staging/android/ion/ion_chunk_heap.c
@@ -34,9 +34,9 @@ struct ion_chunk_heap {
 };
 
 static int ion_chunk_heap_allocate(struct ion_heap *heap,
-				      struct ion_buffer *buffer,
-				      unsigned long size, unsigned long align,
-				      unsigned long flags)
+				   struct ion_buffer *buffer,
+				   unsigned long size, unsigned long align,
+				   unsigned long flags)
 {
 	struct ion_chunk_heap *chunk_heap =
 		container_of(heap, struct ion_chunk_heap, heap);
@@ -106,7 +106,7 @@ static void ion_chunk_heap_free(struct ion_buffer *buffer)
 
 	if (ion_buffer_cached(buffer))
 		dma_sync_sg_for_device(NULL, table->sgl, table->nents,
-							DMA_BIDIRECTIONAL);
+				       DMA_BIDIRECTIONAL);
 
 	for_each_sg(table->sgl, sg, table->nents, i) {
 		gen_pool_free(chunk_heap->pool, page_to_phys(sg_page(sg)),
@@ -161,7 +161,7 @@ struct ion_heap *ion_chunk_heap_create(struct ion_platform_heap *heap_data)
 	chunk_heap->heap.type = ION_HEAP_TYPE_CHUNK;
 	chunk_heap->heap.flags = ION_HEAP_FLAG_DEFER_FREE;
 	pr_debug("%s: base %lu size %zu align %ld\n", __func__,
-		chunk_heap->base, heap_data->size, heap_data->align);
+		 chunk_heap->base, heap_data->size, heap_data->align);
 
 	return &chunk_heap->heap;
 
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] staging: android: ion: ion_chunk_heap.c fix parenthesis alignment
  2016-08-24  9:32 [PATCH] staging: android: ion: ion_chunk_heap.c fix parenthesis alignment Didik Setiawan
@ 2016-09-01 15:41 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2016-09-01 15:41 UTC (permalink / raw)
  To: Didik Setiawan
  Cc: labbott, sumit.semwal, arve, riandrews, devel, linux-kernel

On Wed, Aug 24, 2016 at 04:32:20PM +0700, Didik Setiawan wrote:
> Fix checkpatch.pl warning about "Alignment should match open parenthesis".
> 
> Signed-off-by: Didik Setiawan <ds@didiksetiawan.com>
> ---
>  drivers/staging/android/ion/ion_chunk_heap.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

Patch did not apply as someone sent the same thing before you, sorry :(

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-01 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-24  9:32 [PATCH] staging: android: ion: ion_chunk_heap.c fix parenthesis alignment Didik Setiawan
2016-09-01 15:41 ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.