* [PATCH] Checkpatch: driver/staging in 4.2.0-rc4: Fix coding style problem
@ 2015-07-28 9:58 Jignesh R Patel
2015-07-28 10:15 ` Dan Carpenter
0 siblings, 1 reply; 2+ messages in thread
From: Jignesh R Patel @ 2015-07-28 9:58 UTC (permalink / raw)
To: Greg Kroah-Hartman, Arve Hjønnevåg, Riley Andrews
Cc: devel, linux-kernel, Jignesh R Patel
From: Jignesh R Patel <jigneshpatel0103@gmail.com>
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 <jigneshpatel0103@gmail.com>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Checkpatch: driver/staging in 4.2.0-rc4: Fix coding style problem
2015-07-28 9:58 [PATCH] Checkpatch: driver/staging in 4.2.0-rc4: Fix coding style problem Jignesh R Patel
@ 2015-07-28 10:15 ` Dan Carpenter
0 siblings, 0 replies; 2+ messages in thread
From: Dan Carpenter @ 2015-07-28 10:15 UTC (permalink / raw)
To: Jignesh R Patel
Cc: Greg Kroah-Hartman, Arve Hjønnevåg, Riley Andrews,
devel, linux-kernel
The subject isn't right. You aren't patch checkpatch.pl itself you're
patching android.
The version doesn't go in the subject.
The subject is too vague.
On Tue, Jul 28, 2015 at 03:28:33PM +0530, Jignesh R Patel wrote:
> From: Jignesh R Patel <jigneshpatel0103@gmail.com>
Not needed.
>
> 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 <jigneshpatel0103@gmail.com>
> ---
> 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))
This isn't the right way to do it. I suppose the right thing is:
if (dma_get_sgtable(dev, info->table, info->cpu_addr, info->handle,
len))
regards,
dan carpenter
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-28 10:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-28 9:58 [PATCH] Checkpatch: driver/staging in 4.2.0-rc4: Fix coding style problem Jignesh R Patel
2015-07-28 10:15 ` Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox