]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
crypto: ccp - Fix non-conforming comment style
authorGary R Hook <gary.hook@amd.com>
Tue, 26 Jul 2016 23:09:46 +0000 (18:09 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Aug 2016 10:47:04 +0000 (18:47 +0800)
Adhere to the cryptodev comment convention.

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-dev.h

index bd41ffceff82fecacfd878bfddd0056067cf7632..5fbee638c9baadcbf7c143339f5ce7c395c1c251 100644 (file)
@@ -253,16 +253,14 @@ struct ccp_device {
 
        struct device *dev;
 
-       /*
-        * Bus specific device information
+       /* Bus specific device information
         */
        void *dev_specific;
        int (*get_irq)(struct ccp_device *ccp);
        void (*free_irq)(struct ccp_device *ccp);
        unsigned int irq;
 
-       /*
-        * I/O area used for device communication. The register mapping
+       /* I/O area used for device communication. The register mapping
         * starts at an offset into the mapped bar.
         *   The CMD_REQx registers and the Delete_Cmd_Queue_Job register
         *   need to be protected while a command queue thread is accessing
@@ -272,8 +270,7 @@ struct ccp_device {
        void __iomem *io_map;
        void __iomem *io_regs;
 
-       /*
-        * Master lists that all cmds are queued on. Because there can be
+       /* Master lists that all cmds are queued on. Because there can be
         * more than one CCP command queue that can process a cmd a separate
         * backlog list is neeeded so that the backlog completion call
         * completes before the cmd is available for execution.
@@ -283,34 +280,29 @@ struct ccp_device {
        struct list_head cmd;
        struct list_head backlog;
 
-       /*
-        * The command queues. These represent the queues available on the
+       /* The command queues. These represent the queues available on the
         * CCP that are available for processing cmds
         */
        struct ccp_cmd_queue cmd_q[MAX_HW_QUEUES];
        unsigned int cmd_q_count;
 
-       /*
-        * Support for the CCP True RNG
+       /* Support for the CCP True RNG
         */
        struct hwrng hwrng;
        unsigned int hwrng_retries;
 
-       /*
-        * Support for the CCP DMA capabilities
+       /* Support for the CCP DMA capabilities
         */
        struct dma_device dma_dev;
        struct ccp_dma_chan *ccp_dma_chan;
        struct kmem_cache *dma_cmd_cache;
        struct kmem_cache *dma_desc_cache;
 
-       /*
-        * A counter used to generate job-ids for cmds submitted to the CCP
+       /* A counter used to generate job-ids for cmds submitted to the CCP
         */
        atomic_t current_id ____cacheline_aligned;
 
-       /*
-        * The CCP uses key storage blocks (KSB) to maintain context for certain
+       /* The CCP uses key storage blocks (KSB) to maintain context for certain
         * operations. To prevent multiple cmds from using the same KSB range
         * a command queue reserves a KSB range for the duration of the cmd.
         * Each queue, will however, reserve 2 KSB blocks for operations that