]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
staging: ccree: fix ivgen func def coding style
authorGilad Ben-Yossef <gilad@benyossef.com>
Tue, 12 Dec 2017 14:53:01 +0000 (14:53 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Dec 2017 11:39:38 +0000 (12:39 +0100)
Fix ivgen functions definition indentation according to coding
style guide lines for better code readability

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ccree/ssi_ivgen.c
drivers/staging/ccree/ssi_ivgen.h

index ad6cd97024b373ab793c63f874faff4fcaa69cc4..c49936158d46d6d879348c814afd1f1f28858697 100644 (file)
@@ -57,10 +57,8 @@ struct cc_ivgen_ctx {
  * \param iv_seq IN/OUT array to the descriptors sequence
  * \param iv_seq_len IN/OUT pointer to the sequence length
  */
-static int cc_gen_iv_pool(
-       struct cc_ivgen_ctx *ivgen_ctx,
-       struct cc_hw_desc iv_seq[],
-       unsigned int *iv_seq_len)
+static int cc_gen_iv_pool(struct cc_ivgen_ctx *ivgen_ctx,
+                         struct cc_hw_desc iv_seq[], unsigned int *iv_seq_len)
 {
        unsigned int idx = *iv_seq_len;
 
@@ -236,13 +234,9 @@ out:
  *
  * \return int Zero for success, negative value otherwise.
  */
-int cc_get_iv(
-       struct ssi_drvdata *drvdata,
-       dma_addr_t iv_out_dma[],
-       unsigned int iv_out_dma_len,
-       unsigned int iv_out_size,
-       struct cc_hw_desc iv_seq[],
-       unsigned int *iv_seq_len)
+int cc_get_iv(struct ssi_drvdata *drvdata, dma_addr_t iv_out_dma[],
+             unsigned int iv_out_dma_len, unsigned int iv_out_size,
+             struct cc_hw_desc iv_seq[], unsigned int *iv_seq_len)
 {
        struct cc_ivgen_ctx *ivgen_ctx = drvdata->ivgen_handle;
        unsigned int idx = *iv_seq_len;
index fe3d91933343c4076a15a371e2bd74081ae0dcef..bbd0245e861777ed80df9a0c63d0d776022e260f 100644 (file)
@@ -61,12 +61,8 @@ int cc_init_iv_sram(struct ssi_drvdata *drvdata);
  *
  * \return int Zero for success, negative value otherwise.
  */
-int cc_get_iv(
-       struct ssi_drvdata *drvdata,
-       dma_addr_t iv_out_dma[],
-       unsigned int iv_out_dma_len,
-       unsigned int iv_out_size,
-       struct cc_hw_desc iv_seq[],
-       unsigned int *iv_seq_len);
+int cc_get_iv(struct ssi_drvdata *drvdata, dma_addr_t iv_out_dma[],
+             unsigned int iv_out_dma_len, unsigned int iv_out_size,
+             struct cc_hw_desc iv_seq[], unsigned int *iv_seq_len);
 
 #endif /*__SSI_IVGEN_H__*/