Re: [PATCH] staging:android:io: Fix multiple styling issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Yannis!

There is a typo in your one-line description/subject ("ion").

On 09/22/2016 07:55 PM, Yannis Damigos wrote:
> This patch fixes 1 error, 1 warning and 14 checks found by
> checkpatch.

Please be more specific in your commit message and mention what exactly
you are doing to the code and why.

> 
> Signed-off-by: Yannis Damigos <giannis.damigos@xxxxxxxxx>
> ---
>  drivers/staging/android/ion/ion_of.c | 49 ++++++++++++++++++------------------
>  1 file changed, 24 insertions(+), 25 deletions(-)
> 
> diff --git a/drivers/staging/android/ion/ion_of.c b/drivers/staging/android/ion/ion_of.c
> index de0899a..c930416 100644
> --- a/drivers/staging/android/ion/ion_of.c
> +++ b/drivers/staging/android/ion/ion_of.c
> @@ -26,17 +26,17 @@
>  #include "ion_of.h"
>  
>  int ion_parse_dt_heap_common(struct device_node *heap_node,
> -			struct ion_platform_heap *heap,
> -			struct ion_of_heap *compatible)
> +			     struct ion_platform_heap *heap,
> +			     struct ion_of_heap *compatible)

You are changing whitespace here, ...

>  {
>  	int i;
>  
> -	for (i = 0; compatible[i].name != NULL; i++) {
> +	for (i = 0; compatible[i].name; i++) {

...  and are making a different kind of change here.

> (Rest of patch with yet other types of changes snipped.)

It would be nice to have each kind of change in a separate patch with a
more precise commit message.

Thanks,
Markus
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux