]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: ccree: Fix alignment issues in ssi_sram_mgr.c
authorSimon Sandström <simon@nikanor.nu>
Sat, 1 Jul 2017 23:25:54 +0000 (01:25 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jul 2017 06:40:58 +0000 (08:40 +0200)
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_sram_mgr.c

index e05c0c13c2eb56a1cd7a6eb323a600758edfbb2a..f11116afe89a7275b9a4730bd24f4177d02ada55 100644 (file)
@@ -58,7 +58,7 @@ int ssi_sram_mgr_init(struct ssi_drvdata *drvdata)
                        sizeof(struct ssi_sram_mgr_ctx), GFP_KERNEL);
        if (!drvdata->sram_mgr_handle) {
                SSI_LOG_ERR("Not enough memory to allocate SRAM_MGR ctx (%zu)\n",
-                       sizeof(struct ssi_sram_mgr_ctx));
+                           sizeof(struct ssi_sram_mgr_ctx));
                rc = -ENOMEM;
                goto out;
        }
@@ -90,12 +90,12 @@ ssi_sram_addr_t ssi_sram_mgr_alloc(struct ssi_drvdata *drvdata, u32 size)
 
        if (unlikely((size & 0x3) != 0)) {
                SSI_LOG_ERR("Requested buffer size (%u) is not multiple of 4",
-                       size);
+                           size);
                return NULL_SRAM_ADDR;
        }
        if (unlikely(size > (SSI_CC_SRAM_SIZE - smgr_ctx->sram_free_offset))) {
                SSI_LOG_ERR("Not enough space to allocate %u B (at offset %llu)\n",
-                       size, smgr_ctx->sram_free_offset);
+                           size, smgr_ctx->sram_free_offset);
                return NULL_SRAM_ADDR;
        }