Skip to contentSkip to conversation

staging: ccree: fix all whitespace errors

PATCH New Dhiru Kholia 1 participant 1 message May 10, 2017 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: ccree: fix all whitespace errors

These whitespace issues were found by the checkpatch.pl script.

---
 drivers/staging/ccree/TODO                |   2 +-
 drivers/staging/ccree/cc_bitops.h         |   6 +-
 drivers/staging/ccree/cc_crypto_ctx.h     |   8 +--
 drivers/staging/ccree/cc_hal.h            |   6 +-
 drivers/staging/ccree/cc_hw_queue_defs.h  | 116 +++++++++++++++---------------
 drivers/staging/ccree/cc_lli_defs.h       |   6 +-
 drivers/staging/ccree/cc_pal_log.h        |  12 ++--
 drivers/staging/ccree/cc_pal_log_plat.h   |   6 +-
 drivers/staging/ccree/cc_pal_types.h      |  42 +++++------
 drivers/staging/ccree/cc_pal_types_plat.h |   8 +--
 drivers/staging/ccree/cc_regs.h           |  10 +--
 11 files changed, 111 insertions(+), 111 deletions(-)
drivers/staging/ccree/TODO +1 -1
index c9f5754..cabe633 100644
@@ -20,7 +20,7 @@ a.k.a stuff fixing for this driver to move out of staging
 8.  Handle the many checkpatch errors.
 9.  Implement ahash import/export correctly.
 10. Go through a proper review of DT bindings and sysfs ABI
-11. Sort out FIPS mode: bake tests into testmgr, sort out behaviour on error, 
+11. Sort out FIPS mode: bake tests into testmgr, sort out behaviour on error,
     figure if 3DES weak key check is needed
 
 Kernel infrastructure items
drivers/staging/ccree/cc_bitops.h +3 -3
index 3a39565..ad3aeed 100644
@@ -1,15 +1,15 @@
 /*
  * Copyright (C) 2012-2017 ARM Limited or its affiliates.
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
drivers/staging/ccree/cc_crypto_ctx.h +4 -4
index 9e10b26..f8ebd76 100644
@@ -1,15 +1,15 @@
 /*
  * Copyright (C) 2012-2017 ARM Limited or its affiliates.
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
@@ -163,7 +163,7 @@ enum drv_hash_mode {
 	DRV_HASH_SHA512 = 3,
 	DRV_HASH_SHA384 = 4,
 	DRV_HASH_MD5 = 5,
-	DRV_HASH_CBC_MAC = 6, 
+	DRV_HASH_CBC_MAC = 6,
 	DRV_HASH_XCBC_MAC = 7,
 	DRV_HASH_CMAC = 8,
 	DRV_HASH_MODE_NUM = 9,
drivers/staging/ccree/cc_hal.h +3 -3
index 75a0ce3..dd1c66d 100644
@@ -1,15 +1,15 @@
 /*
  * Copyright (C) 2012-2017 ARM Limited or its affiliates.
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
drivers/staging/ccree/cc_hw_queue_defs.h +58 -58

271 lines not on this page · raw message

drivers/staging/ccree/cc_lli_defs.h +3 -3
index 697f1ed..c4cdd83 100644
@@ -1,15 +1,15 @@
 /*
  * Copyright (C) 2012-2017 ARM Limited or its affiliates.
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
drivers/staging/ccree/cc_pal_log.h +6 -6
index e5f5a87..21abd2d 100644
@@ -1,15 +1,15 @@
 /*
  * Copyright (C) 2012-2017 ARM Limited or its affiliates.
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
@@ -21,8 +21,8 @@
 #include "cc_pal_log_plat.h"
 
 /*!
-@file 
-@brief This file contains the PAL layer log definitions, by default the log is disabled. 
+@file
+@brief This file contains the PAL layer log definitions, by default the log is disabled.
 @defgroup cc_pal_log CryptoCell PAL logging APIs and definitions
 @{
 @ingroup cc_pal
@@ -181,7 +181,7 @@ static inline void CC_PalLogMaskSet(uint32_t setMask) {CC_UNUSED_PARAM(setMask);
 /*! Log debug data.*/
 #define CC_PAL_LOG_DATA( ...) do {} while (0)
 #endif
-/** 
+/**
 @}
  */
 
drivers/staging/ccree/cc_pal_log_plat.h +3 -3
index a05a200..bc47a50 100644
@@ -1,15 +1,15 @@
 /*
  * Copyright (C) 2012-2017 ARM Limited or its affiliates.
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
drivers/staging/ccree/cc_pal_types.h +21 -21

80 lines not on this page · raw message

drivers/staging/ccree/cc_pal_types_plat.h +4 -4
index 6e42112..b682ff0 100644
@@ -1,20 +1,20 @@
 /*
  * Copyright (C) 2012-2017 ARM Limited or its affiliates.
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
- 
+
 #ifndef SSI_PAL_TYPES_PLAT_H
 #define SSI_PAL_TYPES_PLAT_H
 /* Linux kernel types */
drivers/staging/ccree/cc_regs.h +5 -5
index 963f814..fe22bf2 100644
@@ -1,22 +1,22 @@
 /*
  * Copyright (C) 2012-2017 ARM Limited or its affiliates.
- * 
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
- * 
+ *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- * 
+ *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
 
 /*!
- * @file 
+ * @file
  * @brief This file contains macro definitions for accessing ARM TrustZone CryptoCell register space.
  */
 
@@ -66,7 +66,7 @@ do {								            \
 	BITFIELD_GET(reg_val, CC_ ## reg_name ## _ ## fld_name ## _BIT_SHIFT, \
 		     CC_ ## reg_name ## _ ## fld_name ## _BIT_SIZE))
 
-/* yael TBD !!! -       				      * 
+/* yael TBD !!! -					      *
 * all HW includes should start with CC_ and not DX_ !!	      */
 
 
Signature · 1 line
2.7.4