Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1655015 > unrolled thread

[PATCH v2 01/20] staging: ccree: remove spurious blank lines

Started byGilad Ben-Yossef <gilad@benyossef.com>
First post2017-06-01 13:10 +0200
Last post2017-06-01 13:50 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v2 01/20] staging: ccree: remove spurious blank lines Gilad Ben-Yossef <gilad@benyossef.com> - 2017-06-01 13:10 +0200
    Re: [PATCH v2 01/20] staging: ccree: remove spurious blank lines Joe Perches <joe@perches.com> - 2017-06-01 13:30 +0200
      Re: [PATCH v2 01/20] staging: ccree: remove spurious blank lines Joe Perches <joe@perches.com> - 2017-06-01 13:50 +0200

#1655015 — [PATCH v2 01/20] staging: ccree: remove spurious blank lines

FromGilad Ben-Yossef <gilad@benyossef.com>
Date2017-06-01 13:10 +0200
Subject[PATCH v2 01/20] staging: ccree: remove spurious blank lines
Message-ID<tNw9j-1Oq-19@gated-at.bofh.it>
Remove spurious blanks lines from cc_crypto_ctx.h file

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
---
 drivers/staging/ccree/cc_crypto_ctx.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/staging/ccree/cc_crypto_ctx.h b/drivers/staging/ccree/cc_crypto_ctx.h
index ac39d34..9bfadb21 100644
--- a/drivers/staging/ccree/cc_crypto_ctx.h
+++ b/drivers/staging/ccree/cc_crypto_ctx.h
@@ -14,7 +14,6 @@
  * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-
 #ifndef _CC_CRYPTO_CTX_H_
 #define _CC_CRYPTO_CTX_H_
 
@@ -91,10 +90,8 @@
 #define	CC_MULTI2_MIN_NUM_ROUNDS				8
 #define	CC_MULTI2_MAX_NUM_ROUNDS				128
 
-
 #define CC_DRV_ALG_MAX_BLOCK_SIZE CC_HASH_BLOCK_SIZE_MAX
 
-
 enum drv_engine_type {
 	DRV_ENGINE_NULL = 0,
 	DRV_ENGINE_AES = 1,
@@ -178,7 +175,6 @@ enum drv_multi2_mode {
 	DRV_MULTI2_RESERVE32B = S32_MAX
 };
 
-
 /* drv_crypto_key_type[1:0] is mapped to cipher_do[1:0] */
 /* drv_crypto_key_type[2] is mapped to cipher_config2 */
 enum drv_crypto_key_type {
@@ -208,7 +204,6 @@ struct drv_ctx_generic {
 	enum drv_crypto_alg alg;
 } __attribute__((__may_alias__));
 
-
 struct drv_ctx_hash {
 	enum drv_crypto_alg alg; /* DRV_CRYPTO_ALG_HASH */
 	enum drv_hash_mode mode;
@@ -277,7 +272,6 @@ struct drv_ctx_aead {
 /***************** MESSAGE BASED CONTEXTS **************************/
 /*******************************************************************/
 
-
 /* Get the address of a @member within a given @ctx address
    @ctx: The context address
    @type: Type of context structure
-- 
2.1.4

[toc] | [next] | [standalone]


#1655044

FromJoe Perches <joe@perches.com>
Date2017-06-01 13:30 +0200
Message-ID<tNwsG-1V9-13@gated-at.bofh.it>
In reply to#1655015
On Thu, 2017-06-01 at 14:02 +0300, Gilad Ben-Yossef wrote:
> Remove spurious blanks lines from cc_crypto_ctx.h file

unrelated trivia:

> diff --git a/drivers/staging/ccree/cc_crypto_ctx.h b/drivers/staging/ccree/cc_crypto_ctx.h
[]
> @@ -208,7 +204,6 @@ struct drv_ctx_generic {
>  	enum drv_crypto_alg alg;
>  } __attribute__((__may_alias__));

Please try to remove the __may_alias__ attribute one day.

[toc] | [prev] | [next] | [standalone]


#1655061

FromJoe Perches <joe@perches.com>
Date2017-06-01 13:50 +0200
Message-ID<tNwM2-21A-17@gated-at.bofh.it>
In reply to#1655044
On Thu, 2017-06-01 at 04:20 -0700, Joe Perches wrote:
> On Thu, 2017-06-01 at 14:02 +0300, Gilad Ben-Yossef wrote:
> > Remove spurious blanks lines from cc_crypto_ctx.h file
> 
> unrelated trivia:
> 
> > diff --git a/drivers/staging/ccree/cc_crypto_ctx.h b/drivers/staging/ccree/cc_crypto_ctx.h
> 
> []
> > @@ -208,7 +204,6 @@ struct drv_ctx_generic {
> >  	enum drv_crypto_alg alg;
> >  } __attribute__((__may_alias__));
> 
> Please try to remove the __may_alias__ attribute one day.

That might be easy as struct drv_ctx_generic
is not directly used anywhere.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web