Commit fd21c89b authored by Colin Ian King's avatar Colin Ian King Committed by David S. Miller

net: cxgb4: fix various indentation issues

There are some lines that have indentation issues, fix these.
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2acc0abc
...@@ -378,10 +378,10 @@ static void cxgb4_init_ptp_timer(struct adapter *adapter) ...@@ -378,10 +378,10 @@ static void cxgb4_init_ptp_timer(struct adapter *adapter)
int err; int err;
memset(&c, 0, sizeof(c)); memset(&c, 0, sizeof(c));
c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) | c.op_to_portid = cpu_to_be32(FW_CMD_OP_V(FW_PTP_CMD) |
FW_CMD_REQUEST_F | FW_CMD_REQUEST_F |
FW_CMD_WRITE_F | FW_CMD_WRITE_F |
FW_PTP_CMD_PORTID_V(0)); FW_PTP_CMD_PORTID_V(0));
c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16)); c.retval_len16 = cpu_to_be32(FW_CMD_LEN16_V(sizeof(c) / 16));
c.u.scmd.sc = FW_PTP_SC_INIT_TIMER; c.u.scmd.sc = FW_PTP_SC_INIT_TIMER;
......
...@@ -78,7 +78,7 @@ static void free_msix_idx_in_bmap(struct adapter *adap, unsigned int msix_idx) ...@@ -78,7 +78,7 @@ static void free_msix_idx_in_bmap(struct adapter *adap, unsigned int msix_idx)
unsigned long flags; unsigned long flags;
spin_lock_irqsave(&bmap->lock, flags); spin_lock_irqsave(&bmap->lock, flags);
__clear_bit(msix_idx, bmap->msix_bmap); __clear_bit(msix_idx, bmap->msix_bmap);
spin_unlock_irqrestore(&bmap->lock, flags); spin_unlock_irqrestore(&bmap->lock, flags);
} }
......
...@@ -3794,7 +3794,7 @@ int t4_load_phy_fw(struct adapter *adap, ...@@ -3794,7 +3794,7 @@ int t4_load_phy_fw(struct adapter *adap,
/* If we have version number support, then check to see if the adapter /* If we have version number support, then check to see if the adapter
* already has up-to-date PHY firmware loaded. * already has up-to-date PHY firmware loaded.
*/ */
if (phy_fw_version) { if (phy_fw_version) {
new_phy_fw_vers = phy_fw_version(phy_fw_data, phy_fw_size); new_phy_fw_vers = phy_fw_version(phy_fw_data, phy_fw_size);
ret = t4_phy_fw_ver(adap, &cur_phy_fw_ver); ret = t4_phy_fw_ver(adap, &cur_phy_fw_ver);
if (ret < 0) if (ret < 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment