]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
staging: ccree: Fix indentation of driver_hash[] initializers
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 11 May 2017 07:38:19 +0000 (09:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 05:42:00 +0000 (07:42 +0200)
Closing braces should match the first characters of the openings.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/ssi_hash.c

index 13374e749b4b5db2285fc074331c249127e93b20..162d17dee2cdc63d1061242a12a5329887fff707 100644 (file)
@@ -2002,8 +2002,8 @@ static struct ssi_hash_template driver_hash[] = {
                                .halg = {
                                        .digestsize = SHA1_DIGEST_SIZE,
                                        .statesize = sizeof(struct sha1_state),
-                                       },
                                },
+                       },
                },
                .hash_mode = DRV_HASH_SHA1,
                .hw_mode = DRV_HASH_HW_SHA1,
@@ -2031,8 +2031,8 @@ static struct ssi_hash_template driver_hash[] = {
                                .halg = {
                                        .digestsize = SHA256_DIGEST_SIZE,
                                        .statesize = sizeof(struct sha256_state),
-                                       },
                                },
+                       },
                },
                .hash_mode = DRV_HASH_SHA256,
                .hw_mode = DRV_HASH_HW_SHA256,
@@ -2060,8 +2060,8 @@ static struct ssi_hash_template driver_hash[] = {
                                .halg = {
                                        .digestsize = SHA224_DIGEST_SIZE,
                                        .statesize = sizeof(struct sha256_state),
-                                       },
                                },
+                       },
                },
                .hash_mode = DRV_HASH_SHA224,
                .hw_mode = DRV_HASH_HW_SHA256,
@@ -2090,8 +2090,8 @@ static struct ssi_hash_template driver_hash[] = {
                                .halg = {
                                        .digestsize = SHA384_DIGEST_SIZE,
                                        .statesize = sizeof(struct sha512_state),
-                                       },
                                },
+                       },
                },
                .hash_mode = DRV_HASH_SHA384,
                .hw_mode = DRV_HASH_HW_SHA512,
@@ -2119,8 +2119,8 @@ static struct ssi_hash_template driver_hash[] = {
                                .halg = {
                                        .digestsize = SHA512_DIGEST_SIZE,
                                        .statesize = sizeof(struct sha512_state),
-                                       },
                                },
+                       },
                },
                .hash_mode = DRV_HASH_SHA512,
                .hw_mode = DRV_HASH_HW_SHA512,
@@ -2149,8 +2149,8 @@ static struct ssi_hash_template driver_hash[] = {
                                .halg = {
                                        .digestsize = MD5_DIGEST_SIZE,
                                        .statesize = sizeof(struct md5_state),
-                                       },
                                },
+                       },
                },
                .hash_mode = DRV_HASH_MD5,
                .hw_mode = DRV_HASH_HW_MD5,
@@ -2176,8 +2176,8 @@ static struct ssi_hash_template driver_hash[] = {
                                .halg = {
                                        .digestsize = AES_BLOCK_SIZE,
                                        .statesize = sizeof(struct aeshash_state),
-                                       },
                                },
+                       },
                },
                .hash_mode = DRV_HASH_NULL,
                .hw_mode = DRV_CIPHER_XCBC_MAC,
@@ -2204,8 +2204,8 @@ static struct ssi_hash_template driver_hash[] = {
                                .halg = {
                                        .digestsize = AES_BLOCK_SIZE,
                                        .statesize = sizeof(struct aeshash_state),
-                                       },
                                },
+                       },
                },
                .hash_mode = DRV_HASH_NULL,
                .hw_mode = DRV_CIPHER_CMAC,