Skip to contentSkip to conversation

staging: fsl-mc: misc whitespace cleanup

PATCH Superseded Stuart Yoder 2 participants 2 messages Oct 17, 2016 – Oct 25, 2016 Staging

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 9/14 staging: fsl-mc: misc whitespace cleanup

From: Ioana Ciornei <[email protected]>

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

---
 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(-)
drivers/staging/fsl-mc/bus/dpbp-cmd.h +0 -1
index 2860411..489c27f 100644
@@ -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
drivers/staging/fsl-mc/bus/dpbp.c +0 -1
index b392745..0b2064e 100644
@@ -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
drivers/staging/fsl-mc/bus/dpcon-cmd.h +0 -1
index 536b2ef..c89b305 100644
@@ -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
drivers/staging/fsl-mc/bus/dpmcp-cmd.h +0 -1
index d098a6d..b77c902 100644
@@ -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
drivers/staging/fsl-mc/bus/dpmcp.c +0 -1
index 55766f7..865572d4 100644
@@ -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
drivers/staging/fsl-mc/bus/dpmcp.h +53 -54

132 lines not on this page · raw message

drivers/staging/fsl-mc/bus/dpmng-cmd.h +0 -1
index a7b77d5..d42d977 100644
@@ -12,7 +12,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
drivers/staging/fsl-mc/bus/dpmng.c +0 -1
index 96b1d67..13bec9e 100644
@@ -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
drivers/staging/fsl-mc/bus/dprc-cmd.h +0 -1
index 009d656..154ce2f 100644
@@ -12,7 +12,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
drivers/staging/fsl-mc/bus/dprc.c +0 -1
index 9fea3de..24c8dfb 100644
@@ -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
drivers/staging/fsl-mc/bus/mc-io.c +0 -1
index 798c965..fbfda4c 100644
@@ -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
drivers/staging/fsl-mc/bus/mc-sys.c +0 -1
index 285917c..b55a53e 100644
@@ -13,7 +13,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
drivers/staging/fsl-mc/include/dpbp.h +74 -74

185 lines not on this page · raw message

drivers/staging/fsl-mc/include/dpmng.h +8 -8
index e5cfd01..de34724 100644
@@ -48,9 +48,9 @@
  * struct mc_version
  * @major: Major version number: incremented on API compatibility changes
  * @minor: Minor version number: incremented on API additions (that are
- *		backward compatible); reset when major version is incremented
+ *         backward compatible); reset when major version is incremented
  * @revision: Internal revision number: incremented on implementation changes
- *		and/or bug fixes that have no impact on API
+ *            and/or bug fixes that have no impact on API
  */
 struct mc_version {
 	u32 major;
@@ -58,12 +58,12 @@ struct mc_version {
 	u32 revision;
 };
 
-int mc_get_version(struct fsl_mc_io	*mc_io,
-		   u32		cmd_flags,
-		   struct mc_version	*mc_ver_info);
+int mc_get_version(struct fsl_mc_io *mc_io,
+		   u32 cmd_flags,
+		   struct mc_version *mc_ver_info);
 
-int dpmng_get_container_id(struct fsl_mc_io	*mc_io,
-			   u32		cmd_flags,
-			   int			*container_id);
+int dpmng_get_container_id(struct fsl_mc_io *mc_io,
+			   u32 cmd_flags,
+			   int *container_id);
 
 #endif /* __FSL_DPMNG_H */
drivers/staging/fsl-mc/include/dprc.h +171 -171

434 lines not on this page · raw message

Signature · 1 line
1.9.0
maintainer
#1 lore raw
Quoted 8 lines · Stuart Yoder

From: Ioana Ciornei <[email protected]>

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