Skip to content

Commit

Permalink
net: ena: cosmetic: fix spacing issues
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arthur Kiyanovski authored and David S. Miller committed May 22, 2020
1 parent 0a39a35 commit 6d0862e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions drivers/net/ethernet/amazon/ena/ena_admin_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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_ */
2 changes: 1 addition & 1 deletion drivers/net/ethernet/amazon/ena/ena_common_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ struct ena_common_mem_addr {
u16 reserved16;
};

#endif /*_ENA_COMMON_H_ */
#endif /* _ENA_COMMON_H_ */
2 changes: 1 addition & 1 deletion drivers/net/ethernet/amazon/ena/ena_eth_io_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */
2 changes: 1 addition & 1 deletion drivers/net/ethernet/amazon/ena/ena_regs_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */

0 comments on commit 6d0862e

Please sign in to comment.