[PATCH] drivers: staging: android: ion: Added a blank line

Greg KH gregkh at linuxfoundation.org
Sun Nov 8 17:08:27 UTC 2015


On Sun, Nov 08, 2015 at 01:25:09PM +0530, Anjali Menon wrote:
> Added a blank line after declaration to fix the coding style
> error detected by checkpatch.pl
> 
> WARNING: Missing a blank line after declarations
> 
> Signed-off-by: Anjali Menon <cse.anjalimenon at gmail.com>
> ---
>  drivers/staging/android/ion/ion.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c
> index b0b96ab..c3c35d7 100644
> --- a/drivers/staging/android/ion/ion.c
> +++ b/drivers/staging/android/ion/ion.c
> @@ -1106,8 +1106,8 @@ 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);
>  
> +	DEFINE_DMA_BUF_EXPORT_INFO(exp_info);

Look at the patch, does it look correct?

Don't always trust checkpatch.pl, sometimes it tells you things that
should not be done...

greg k-h


More information about the devel mailing list