Commit 9ae122c6 authored by Satanand Burla's avatar Satanand Burla Committed by David S. Miller

liquidio: Fix checkpatch errors with references crossing single line

Signed-off-by: default avatarSatanand Burla <satananda.burla@cavium.com>
Signed-off-by: default avatarDerek Chickles <derek.chickles@cavium.com>
Signed-off-by: default avatarFelix Manlunas <felix.manlunas@cavium.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2d68f0a4
...@@ -984,11 +984,11 @@ lio_get_ethtool_stats(struct net_device *netdev, ...@@ -984,11 +984,11 @@ lio_get_ethtool_stats(struct net_device *netdev,
data[i++] = data[i++] =
CVM_CAST64(oct_dev->instr_queue[j]->stats.instr_posted); CVM_CAST64(oct_dev->instr_queue[j]->stats.instr_posted);
/*# of instructions processed */ /*# of instructions processed */
data[i++] = CVM_CAST64(oct_dev->instr_queue[j]-> data[i++] = CVM_CAST64(
stats.instr_processed); oct_dev->instr_queue[j]->stats.instr_processed);
/*# of instructions could not be processed */ /*# of instructions could not be processed */
data[i++] = CVM_CAST64(oct_dev->instr_queue[j]-> data[i++] = CVM_CAST64(
stats.instr_dropped); oct_dev->instr_queue[j]->stats.instr_dropped);
/*bytes sent through the queue */ /*bytes sent through the queue */
data[i++] = data[i++] =
CVM_CAST64(oct_dev->instr_queue[j]->stats.bytes_sent); CVM_CAST64(oct_dev->instr_queue[j]->stats.bytes_sent);
......
...@@ -425,8 +425,7 @@ octeon_droq_refill_pullup_descs(struct octeon_droq *droq, ...@@ -425,8 +425,7 @@ octeon_droq_refill_pullup_descs(struct octeon_droq *droq,
droq->max_count); droq->max_count);
desc_refilled++; desc_refilled++;
droq->refill_count--; droq->refill_count--;
} while (droq->recv_buf_list[droq->refill_idx]. } while (droq->recv_buf_list[droq->refill_idx].buffer);
buffer);
} }
refill_index = incr_index(refill_index, 1, droq->max_count); refill_index = incr_index(refill_index, 1, droq->max_count);
} /* while */ } /* while */
...@@ -490,8 +489,8 @@ octeon_droq_refill(struct octeon_device *octeon_dev, struct octeon_droq *droq) ...@@ -490,8 +489,8 @@ octeon_droq_refill(struct octeon_device *octeon_dev, struct octeon_droq *droq)
droq->recv_buf_list[droq->refill_idx].data = data; droq->recv_buf_list[droq->refill_idx].data = data;
desc_ring[droq->refill_idx].buffer_ptr = desc_ring[droq->refill_idx].buffer_ptr =
lio_map_ring(droq->recv_buf_list[droq-> lio_map_ring(droq->recv_buf_list[
refill_idx].buffer); droq->refill_idx].buffer);
/* Reset any previous values in the length field. */ /* Reset any previous values in the length field. */
droq->info_list[droq->refill_idx].length = 0; droq->info_list[droq->refill_idx].length = 0;
...@@ -690,8 +689,8 @@ octeon_droq_fast_process_packets(struct octeon_device *oct, ...@@ -690,8 +689,8 @@ octeon_droq_fast_process_packets(struct octeon_device *oct,
nicbuf, nicbuf,
cpy_len, cpy_len,
idx); idx);
buf = droq->recv_buf_list[idx]. buf = droq->recv_buf_list[
buffer; idx].buffer;
recv_buffer_fast_free(buf); recv_buffer_fast_free(buf);
droq->recv_buf_list[idx].buffer droq->recv_buf_list[idx].buffer
= NULL; = NULL;
......
...@@ -252,8 +252,7 @@ int lio_wait_for_instr_fetch(struct octeon_device *oct) ...@@ -252,8 +252,7 @@ int lio_wait_for_instr_fetch(struct octeon_device *oct)
if (!(oct->io_qmask.iq & BIT_ULL(i))) if (!(oct->io_qmask.iq & BIT_ULL(i)))
continue; continue;
pending = pending =
atomic_read(&oct-> atomic_read(&oct->instr_queue[i]->instr_pending);
instr_queue[i]->instr_pending);
if (pending) if (pending)
__check_db_timeout(oct, i); __check_db_timeout(oct, i);
instr_cnt += pending; instr_cnt += pending;
......
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