Re: [PATCH 09/14] staging: fsl-mc: misc whitespace cleanup

2016-10-25 Thread Greg KH
On Mon, Oct 17, 2016 at 01:43:16PM -0500, Stuart Yoder wrote:
> From: Ioana Ciornei 
> 
> Make whitespace consistent with other fsl-mc source files.
>   -delete extraneous tabs
>   -align start of function arguments properly
>   -for structs and function definitions, separate type and
>variable name by a single space
>   -remove multiple blank lines in comments

That's a lot of different types of whitespace cleanups to do all at
once, can I get some sort of verification that this produces the same .o
files?

I wouldn't accept a patch like this from anyone else, why should it be
ok for you to send it?

thanks,

greg k-h
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel


[PATCH 09/14] staging: fsl-mc: misc whitespace cleanup

2016-10-17 Thread Stuart Yoder
From: Ioana Ciornei 

Make whitespace consistent with other fsl-mc source files.
  -delete extraneous tabs
  -align start of function arguments properly
  -for structs and function definitions, separate type and
   variable name by a single space
  -remove multiple blank lines in comments

Signed-off-by: Ioana Ciornei 
Signed-off-by: Stuart Yoder 
---
 drivers/staging/fsl-mc/bus/dpbp-cmd.h  |   1 -
 drivers/staging/fsl-mc/bus/dpbp.c  |   1 -
 drivers/staging/fsl-mc/bus/dpcon-cmd.h |   1 -
 drivers/staging/fsl-mc/bus/dpmcp-cmd.h |   1 -
 drivers/staging/fsl-mc/bus/dpmcp.c |   1 -
 drivers/staging/fsl-mc/bus/dpmcp.h | 107 +--
 drivers/staging/fsl-mc/bus/dpmng-cmd.h |   1 -
 drivers/staging/fsl-mc/bus/dpmng.c |   1 -
 drivers/staging/fsl-mc/bus/dprc-cmd.h  |   1 -
 drivers/staging/fsl-mc/bus/dprc.c  |   1 -
 drivers/staging/fsl-mc/bus/mc-io.c |   1 -
 drivers/staging/fsl-mc/bus/mc-sys.c|   1 -
 drivers/staging/fsl-mc/include/dpbp.h  | 148 +++---
 drivers/staging/fsl-mc/include/dpmng.h |  16 +-
 drivers/staging/fsl-mc/include/dprc.h  | 342 -
 15 files changed, 306 insertions(+), 318 deletions(-)

diff --git a/drivers/staging/fsl-mc/bus/dpbp-cmd.h 
b/drivers/staging/fsl-mc/bus/dpbp-cmd.h
index 2860411..489c27f 100644
--- a/drivers/staging/fsl-mc/bus/dpbp-cmd.h
+++ b/drivers/staging/fsl-mc/bus/dpbp-cmd.h
@@ -11,7 +11,6 @@
  * names of any contributors may be used to endorse or promote products
  * derived from this software without specific prior written permission.
  *
- *
  * ALTERNATIVELY, this software may be distributed under the terms of the
  * GNU General Public License ("GPL") as published by the Free Software
  * Foundation, either version 2 of that License or (at your option) any
diff --git a/drivers/staging/fsl-mc/bus/dpbp.c 
b/drivers/staging/fsl-mc/bus/dpbp.c
index b392745..0b2064e 100644
--- a/drivers/staging/fsl-mc/bus/dpbp.c
+++ b/drivers/staging/fsl-mc/bus/dpbp.c
@@ -11,7 +11,6 @@
  * names of any contributors may be used to endorse or promote products
  * derived from this software without specific prior written permission.
  *
- *
  * ALTERNATIVELY, this software may be distributed under the terms of the
  * GNU General Public License ("GPL") as published by the Free Software
  * Foundation, either version 2 of that License or (at your option) any
diff --git a/drivers/staging/fsl-mc/bus/dpcon-cmd.h 
b/drivers/staging/fsl-mc/bus/dpcon-cmd.h
index 536b2ef..c89b305 100644
--- a/drivers/staging/fsl-mc/bus/dpcon-cmd.h
+++ b/drivers/staging/fsl-mc/bus/dpcon-cmd.h
@@ -11,7 +11,6 @@
  * names of any contributors may be used to endorse or promote products
  * derived from this software without specific prior written permission.
  *
- *
  * ALTERNATIVELY, this software may be distributed under the terms of the
  * GNU General Public License ("GPL") as published by the Free Software
  * Foundation, either version 2 of that License or (at your option) any
diff --git a/drivers/staging/fsl-mc/bus/dpmcp-cmd.h 
b/drivers/staging/fsl-mc/bus/dpmcp-cmd.h
index d098a6d..b77c902 100644
--- a/drivers/staging/fsl-mc/bus/dpmcp-cmd.h
+++ b/drivers/staging/fsl-mc/bus/dpmcp-cmd.h
@@ -11,7 +11,6 @@
  * names of any contributors may be used to endorse or promote products
  * derived from this software without specific prior written permission.
  *
- *
  * ALTERNATIVELY, this software may be distributed under the terms of the
  * GNU General Public License ("GPL") as published by the Free Software
  * Foundation, either version 2 of that License or (at your option) any
diff --git a/drivers/staging/fsl-mc/bus/dpmcp.c 
b/drivers/staging/fsl-mc/bus/dpmcp.c
index 55766f7..865572d4 100644
--- a/drivers/staging/fsl-mc/bus/dpmcp.c
+++ b/drivers/staging/fsl-mc/bus/dpmcp.c
@@ -11,7 +11,6 @@
  * names of any contributors may be used to endorse or promote products
  * derived from this software without specific prior written permission.
  *
- *
  * ALTERNATIVELY, this software may be distributed under the terms of the
  * GNU General Public License ("GPL") as published by the Free Software
  * Foundation, either version 2 of that License or (at your option) any
diff --git a/drivers/staging/fsl-mc/bus/dpmcp.h 
b/drivers/staging/fsl-mc/bus/dpmcp.h
index 5434e09..3911f92 100644
--- a/drivers/staging/fsl-mc/bus/dpmcp.h
+++ b/drivers/staging/fsl-mc/bus/dpmcp.h
@@ -11,7 +11,6 @@
  * names of any contributors may be used to endorse or promote products
  * derived from this software without specific prior written permission.
  *
- *
  * ALTERNATIVELY, this software may be distributed under the terms of the
  * GNU General Public License ("GPL") as published by the Free Software
  * Foundation, either version 2 of that License or (at your option) any
@@ -59,10 +58,10 @@ struct dpmcp_cfg {
int portal_id;
 };
 
-int dpmcp_create(struct fsl_mc_io  *mc_io,
-u32