[PATCH] staging : ion : Fix some checkpatch warnings and an error

Joe Perches joe at perches.com
Mon Feb 10 06:07:04 UTC 2014

On Mon, 2014-02-10 at 14:56 +0900, Daeseok Youn wrote:


> diff --git a/drivers/staging/android/ion/ion_priv.h b/drivers/staging/android/ion/ion_priv.h
> -	struct sg_table *(*map_dma) (struct ion_heap *heap,
> +	struct sg_table * (*map_dma)(struct ion_heap *heap,

The message about space required after "struct sg_table *"
is a checkpatch defect.  This is better as:

	struct sg_table *(*map_dma)(struct ion_heap *heap, etc...)

I'll fix checkpatch in a little bit.

More information about the devel mailing list