2015-08-11 04:42:59

by Junsu Shin

[permalink] [raw]
Subject: [PATCH] Staging: android: ion: Fix missing a blank line coding style issue.

This is a patch to the ion.c that fixes a warning that tells missing a blank line after declaration

Signed-off-by: Junsu Shin <[email protected]>
---
drivers/staging/android/ion/ion.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c
index 6f48112..e44f5e6 100644
--- a/drivers/staging/android/ion/ion.c
+++ b/drivers/staging/android/ion/ion.c
@@ -1106,6 +1106,7 @@ struct dma_buf *ion_share_dma_buf(struct ion_client *client,
struct ion_buffer *buffer;
struct dma_buf *dmabuf;
bool valid_handle;
+
DEFINE_DMA_BUF_EXPORT_INFO(exp_info);

mutex_lock(&client->lock);
--
1.9.1


2015-08-11 05:36:36

by Sudip Mukherjee

[permalink] [raw]
Subject: Re: [PATCH] Staging: android: ion: Fix missing a blank line coding style issue.

On Mon, Aug 10, 2015 at 11:42:27PM -0500, Junsu Shin wrote:
> This is a patch to the ion.c that fixes a warning that tells missing a blank line after declaration
>
> Signed-off-by: Junsu Shin <[email protected]>
> ---
1) This is a false positive.
2) You need to refresh your tree. This has already been fixed.

regards
sudip