Message ID | 20180125102614.7924-1-rohit.visavalia@softnautics.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
Series | qed: code indent should use tabs where possible | expand |
> From: Rohit Visavalia [mailto:rohit.visavalia@softnautics.com] > Sent: Thursday, January 25, 2018 12:26 PM > To: Elior, Ariel <Ariel.Elior@cavium.com>; Dept-Eng Everest Linux L2 <Dept- > EngEverestLinuxL2@cavium.com> > Cc: netdev@vger.kernel.org; linux-kernel@vger.kernel.org; Rohit Visavalia > <rohit.visavalia@softnautics.com> > Subject: [PATCH] qed: code indent should use tabs where possible > > Issue found by checkpatch. > > Signed-off-by: Rohit Visavalia <rohit.visavalia@softnautics.com> > --- > drivers/net/ethernet/qlogic/qed/qed_rdma.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/net/ethernet/qlogic/qed/qed_rdma.c > b/drivers/net/ethernet/qlogic/qed/qed_rdma.c > index b7abb8205d3a..ae399c48d4a3 100644 > --- a/drivers/net/ethernet/qlogic/qed/qed_rdma.c > +++ b/drivers/net/ethernet/qlogic/qed/qed_rdma.c > @@ -360,13 +360,13 @@ static void qed_rdma_resc_free(struct qed_hwfn > *p_hwfn) > > static void qed_rdma_free_tid(void *rdma_cxt, u32 itid) { > - struct qed_hwfn *p_hwfn = (struct qed_hwfn *)rdma_cxt; > + struct qed_hwfn *p_hwfn = (struct qed_hwfn *)rdma_cxt; > > - DP_VERBOSE(p_hwfn, QED_MSG_RDMA, "itid = %08x\n", itid); > + DP_VERBOSE(p_hwfn, QED_MSG_RDMA, "itid = %08x\n", itid); > > - spin_lock_bh(&p_hwfn->p_rdma_info->lock); > - qed_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->tid_map, > itid); > - spin_unlock_bh(&p_hwfn->p_rdma_info->lock); > + spin_lock_bh(&p_hwfn->p_rdma_info->lock); > + qed_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->tid_map, > itid); > + spin_unlock_bh(&p_hwfn->p_rdma_info->lock); > } > > static void qed_rdma_free_reserved_lkey(struct qed_hwfn *p_hwfn) > -- > 2.16.1 Thanks and apologies, Acked-by: Michal Kalderon <michal.kalderon@cavium.com>
From: Rohit Visavalia <rohit.visavalia@softnautics.com> Date: Thu, 25 Jan 2018 15:56:14 +0530 > Issue found by checkpatch. > > Signed-off-by: Rohit Visavalia <rohit.visavalia@softnautics.com> Applied to net-next.
diff --git a/drivers/net/ethernet/qlogic/qed/qed_rdma.c b/drivers/net/ethernet/qlogic/qed/qed_rdma.c index b7abb8205d3a..ae399c48d4a3 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_rdma.c +++ b/drivers/net/ethernet/qlogic/qed/qed_rdma.c @@ -360,13 +360,13 @@ static void qed_rdma_resc_free(struct qed_hwfn *p_hwfn) static void qed_rdma_free_tid(void *rdma_cxt, u32 itid) { - struct qed_hwfn *p_hwfn = (struct qed_hwfn *)rdma_cxt; + struct qed_hwfn *p_hwfn = (struct qed_hwfn *)rdma_cxt; - DP_VERBOSE(p_hwfn, QED_MSG_RDMA, "itid = %08x\n", itid); + DP_VERBOSE(p_hwfn, QED_MSG_RDMA, "itid = %08x\n", itid); - spin_lock_bh(&p_hwfn->p_rdma_info->lock); - qed_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->tid_map, itid); - spin_unlock_bh(&p_hwfn->p_rdma_info->lock); + spin_lock_bh(&p_hwfn->p_rdma_info->lock); + qed_bmap_release_id(p_hwfn, &p_hwfn->p_rdma_info->tid_map, itid); + spin_unlock_bh(&p_hwfn->p_rdma_info->lock); } static void qed_rdma_free_reserved_lkey(struct qed_hwfn *p_hwfn)
Issue found by checkpatch. Signed-off-by: Rohit Visavalia <rohit.visavalia@softnautics.com> --- drivers/net/ethernet/qlogic/qed/qed_rdma.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)