[PATCH] Checkpatch: driver/staging in 4.2.0-rc4: Fix coding style problem

2015-07-28 Thread Jignesh R Patel
From: Jignesh R Patel 

This patch fix coding style problem of more then
80 character in one line. This patch does not change any
logic.

Signed-off-by: Jignesh R Patel 
---
 drivers/staging/android/ion/ion_cma_heap.c |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/android/ion/ion_cma_heap.c 
b/drivers/staging/android/ion/ion_cma_heap.c
index 86b91fd..4a9a7bd 100644
--- a/drivers/staging/android/ion/ion_cma_heap.c
+++ b/drivers/staging/android/ion/ion_cma_heap.c
@@ -73,7 +73,8 @@ static int ion_cma_allocate(struct ion_heap *heap, struct 
ion_buffer *buffer,
if (!info->table)
goto free_mem;
 
-   if (dma_get_sgtable(dev, info->table, info->cpu_addr, info->handle, 
len))
+   if (dma_get_sgtable(dev, info->table, info->cpu_addr,
+   info->handle, len))
goto free_table;
/* keep this for memory release */
buffer->priv_virt = info;
-- 
1.7.9.5

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[PATCH v2] staging: android: Fixed line over 80 char

2015-07-28 Thread Jignesh R Patel
From: Jignesh R Patel 

Fixes the following checkpatch warning:
Warning: Line over 80 characters

Signed-off-by: Jignesh R Patel 
---
 drivers/staging/android/ion/ion_cma_heap.c |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/android/ion/ion_cma_heap.c 
b/drivers/staging/android/ion/ion_cma_heap.c
index 86b91fd..0b2448c 100644
--- a/drivers/staging/android/ion/ion_cma_heap.c
+++ b/drivers/staging/android/ion/ion_cma_heap.c
@@ -73,7 +73,8 @@ static int ion_cma_allocate(struct ion_heap *heap, struct 
ion_buffer *buffer,
if (!info->table)
goto free_mem;
 
-   if (dma_get_sgtable(dev, info->table, info->cpu_addr, info->handle, 
len))
+   if (dma_get_sgtable(dev, info->table, info->cpu_addr, info->handle,
+   len))
goto free_table;
/* keep this for memory release */
buffer->priv_virt = info;
-- 
1.7.9.5

___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel