staging: ccree: fix all whitespace errors
PATCH 1/1 staging: ccree: fix all whitespace errors
These whitespace issues were found by the checkpatch.pl script. This patch helps in making the staging tree a bit cleaner.
--- 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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
Hi Dhiru,
Thank you for patch.
Quoted 4 lines · Dhiru Kholia
These whitespace issues were found by the checkpatch.pl script. This patch helps in making the staging tree a bit cleaner.
Signed-off-by Dhiru Kholia <[email protected]>
Quoted 13 lines
--- 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(-)
I'm sorry, but your patch doesn't apply after the recent patch set that removed some of those files.
It is indeed hard to follow up ...
Gilad
Signature · 6 lines
Gilad Ben-Yossef Chief Coffee Drinker "If you take a class in large-scale robotics, can you end up in a situation where the homework eats your dog?" -- Jean-Baptiste Queru
Quoted 21 lines · Gilad Ben-Yossef
Hi Dhiru,
Quoted 4 lines · Dhiru Kholia
These whitespace issues were found by the checkpatch.pl script. This patch helps in making the staging tree a bit cleaner.
Signed-off-by Dhiru Kholia <[email protected]>Quoted 13 lines
--- 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(-)
Quoted 2 lines
I'm sorry, but your patch doesn't apply after the recent patch set that removed some of those files.
True.
The good news is that my patch is no longer needed. The current ccree code in linux-next seems to be free of any whitespace issues.
Thanks,
Dhiru