net: ena: cosmetic: fix spacing issues
authorArthur Kiyanovski <akiyano@amazon.com>
Fri, 22 May 2020 09:09:03 +0000 (12:09 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 May 2020 21:12:48 +0000 (14:12 -0700)
1. Add leading and trailing spaces to several comments for better
   readability
2. Make tabs and spaces uniform in enum defines in ena_admin_defs.h

Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_admin_defs.h
drivers/net/ethernet/amazon/ena/ena_common_defs.h
drivers/net/ethernet/amazon/ena/ena_eth_io_defs.h
drivers/net/ethernet/amazon/ena/ena_regs_defs.h

index 727836f638ad15d498f0bae5c05c35c455eda7ff..336742f6e3c35e0711e4010d0eaa82b4978899e9 100644 (file)
@@ -768,8 +768,8 @@ enum ena_admin_os_type {
        ENA_ADMIN_OS_DPDK                           = 3,
        ENA_ADMIN_OS_FREEBSD                        = 4,
        ENA_ADMIN_OS_IPXE                           = 5,
-       ENA_ADMIN_OS_ESXI                           = 6,
-       ENA_ADMIN_OS_GROUPS_NUM                     = 6,
+       ENA_ADMIN_OS_ESXI                           = 6,
+       ENA_ADMIN_OS_GROUPS_NUM                     = 6,
 };
 
 struct ena_admin_host_info {
@@ -1136,4 +1136,4 @@ struct ena_admin_ena_mmio_req_read_less_resp {
 /* aenq_link_change_desc */
 #define ENA_ADMIN_AENQ_LINK_CHANGE_DESC_LINK_STATUS_MASK    BIT(0)
 
-#endif /*_ENA_ADMIN_H_ */
+#endif /* _ENA_ADMIN_H_ */
index 23beb7e7ed7b3bca1084858df14eee6953a99c71..8a8ded0de9ac897e2927bd180494b5e65b46bc91 100644 (file)
@@ -45,4 +45,4 @@ struct ena_common_mem_addr {
        u16 reserved16;
 };
 
-#endif /*_ENA_COMMON_H_ */
+#endif /* _ENA_COMMON_H_ */
index ee28fb067d8cbf2ec69bd3f56c07b3d35090736d..d105c9c56192df9447a764c04e3fd5b439e62dd3 100644 (file)
@@ -414,4 +414,4 @@ struct ena_eth_io_numa_node_cfg_reg {
 #define ENA_ETH_IO_NUMA_NODE_CFG_REG_ENABLED_SHIFT          31
 #define ENA_ETH_IO_NUMA_NODE_CFG_REG_ENABLED_MASK           BIT(31)
 
-#endif /*_ENA_ETH_IO_H_ */
+#endif /* _ENA_ETH_IO_H_ */
index 04fcafcc059c471f28e8c07d71646b6eb3658721..b514bb1b855d09837355f4111d59c15c574f5583 100644 (file)
@@ -154,4 +154,4 @@ enum ena_regs_reset_reason_types {
 #define ENA_REGS_RSS_IND_ENTRY_UPDATE_CQ_IDX_SHIFT          16
 #define ENA_REGS_RSS_IND_ENTRY_UPDATE_CQ_IDX_MASK           0xffff0000
 
-#endif /*_ENA_REGS_H_ */
+#endif /* _ENA_REGS_H_ */