* [PATCH v1] staging: android: fix style problem
@ 2019-06-15 18:46 Saiyam Doshi
2019-06-15 18:52 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Saiyam Doshi @ 2019-06-15 18:46 UTC (permalink / raw)
To: gregkh; +Cc: dri-devel, linux-kernel
checkpatch reported "WARNING: line over 80 characters".
This patch fixes it by aligning function arguments.
Signed-off-by: Saiyam Doshi <saiyamdoshi.in@gmail.com>
---
Changes in v1:
* Updated as per review comment. Now function arguments
uses two lines, one less line than previous submission.
drivers/staging/android/ion/ion_chunk_heap.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/staging/android/ion/ion_chunk_heap.c b/drivers/staging/android/ion/ion_chunk_heap.c
index 3cdde9c1a717..1e869f4bad45 100644
--- a/drivers/staging/android/ion/ion_chunk_heap.c
+++ b/drivers/staging/android/ion/ion_chunk_heap.c
@@ -107,7 +107,8 @@ static struct ion_heap_ops chunk_heap_ops = {
.unmap_kernel = ion_heap_unmap_kernel,
};
-struct ion_heap *ion_chunk_heap_create(phys_addr_t base, size_t size, size_t chunk_size)
+struct ion_heap *ion_chunk_heap_create(phys_addr_t base, size_t size,
+ size_t chunk_size)
{
struct ion_chunk_heap *chunk_heap;
int ret;
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] staging: android: fix style problem
2019-06-15 18:46 [PATCH v1] staging: android: fix style problem Saiyam Doshi
@ 2019-06-15 18:52 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2019-06-15 18:52 UTC (permalink / raw)
To: Saiyam Doshi; +Cc: dri-devel, linux-kernel
On Sun, Jun 16, 2019 at 12:16:05AM +0530, Saiyam Doshi wrote:
> checkpatch reported "WARNING: line over 80 characters".
> This patch fixes it by aligning function arguments.
>
> Signed-off-by: Saiyam Doshi <saiyamdoshi.in@gmail.com>
> ---
> Changes in v1:
> * Updated as per review comment. Now function arguments
> uses two lines, one less line than previous submission.
It's really "v2", but that's fine :)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-15 18:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-15 18:46 [PATCH v1] staging: android: fix style problem Saiyam Doshi
2019-06-15 18:52 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox