OSDN Git Service

staging: ccree: Fix alignment issues in ssi_cipher.c
authorSimon Sandström <simon@nikanor.nu>
Tue, 18 Jul 2017 20:03:55 +0000 (22:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Jul 2017 04:53:21 +0000 (21:53 -0700)
Fixes checkpatch.pl alignment warnings.

Signed-off-by: Simon Sandström <simon@nikanor.nu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/ssi_cipher.c

index bfe9b1c..aec7c14 100644 (file)
@@ -203,7 +203,8 @@ static int ssi_blkcipher_init(struct crypto_tfm *tfm)
 
        /* Map key buffer */
        ctx_p->user.key_dma_addr = dma_map_single(dev, (void *)ctx_p->user.key,
-                                            max_key_buf_size, DMA_TO_DEVICE);
+                                                 max_key_buf_size,
+                                                 DMA_TO_DEVICE);
        if (dma_mapping_error(dev, ctx_p->user.key_dma_addr)) {
                SSI_LOG_ERR("Mapping Key %u B at va=%pK for DMA failed\n",
                            max_key_buf_size, ctx_p->user.key);