diff mbox

IB/hfi1: fix some indenting

Message ID 20160528050120.GB4107@mwanda (mailing list archive)
State Accepted
Headers show

Commit Message

Dan Carpenter May 28, 2016, 5:01 a.m. UTC
That extra tabs are misleading.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Bart Van Assche May 31, 2016, 6:06 p.m. UTC | #1
On 05/27/2016 10:01 PM, Dan Carpenter wrote:
> That extra tabs are misleading.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
>
> diff --git a/drivers/infiniband/hw/hfi1/init.c b/drivers/infiniband/hw/hfi1/init.c
> index 5cc492e..0d28a5a 100644
> --- a/drivers/infiniband/hw/hfi1/init.c
> +++ b/drivers/infiniband/hw/hfi1/init.c
> @@ -1337,7 +1337,7 @@ static void cleanup_device_data(struct hfi1_devdata *dd)
>  		dma_free_coherent(&dd->pcidev->dev, sizeof(u64),
>  				  (void *)dd->rcvhdrtail_dummy_kvaddr,
>  				  dd->rcvhdrtail_dummy_physaddr);
> -				  dd->rcvhdrtail_dummy_kvaddr = NULL;
> +		dd->rcvhdrtail_dummy_kvaddr = NULL;
>  	}
>
>  	for (ctxt = 0; tmp && ctxt < dd->num_rcv_contexts; ctxt++) {

Reviewed-by: Bart Van Assche <bart.vanassche@sandisk.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Dennis Dalessandro June 1, 2016, 1:40 p.m. UTC | #2
On Sat, May 28, 2016 at 08:01:20AM +0300, Dan Carpenter wrote:
>That extra tabs are misleading.
>
>Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
>
>diff --git a/drivers/infiniband/hw/hfi1/init.c b/drivers/infiniband/hw/hfi1/init.c
>index 5cc492e..0d28a5a 100644
>--- a/drivers/infiniband/hw/hfi1/init.c
>+++ b/drivers/infiniband/hw/hfi1/init.c
>@@ -1337,7 +1337,7 @@ static void cleanup_device_data(struct hfi1_devdata *dd)
> 		dma_free_coherent(&dd->pcidev->dev, sizeof(u64),
> 				  (void *)dd->rcvhdrtail_dummy_kvaddr,
> 				  dd->rcvhdrtail_dummy_physaddr);
>-				  dd->rcvhdrtail_dummy_kvaddr = NULL;
>+		dd->rcvhdrtail_dummy_kvaddr = NULL;
> 	}
> 
> 	for (ctxt = 0; tmp && ctxt < dd->num_rcv_contexts; ctxt++) {

Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Doug Ledford June 6, 2016, 11:15 p.m. UTC | #3
On 5/28/2016 1:01 AM, Dan Carpenter wrote:
> That extra tabs are misleading.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> 
> diff --git a/drivers/infiniband/hw/hfi1/init.c b/drivers/infiniband/hw/hfi1/init.c
> index 5cc492e..0d28a5a 100644
> --- a/drivers/infiniband/hw/hfi1/init.c
> +++ b/drivers/infiniband/hw/hfi1/init.c
> @@ -1337,7 +1337,7 @@ static void cleanup_device_data(struct hfi1_devdata *dd)
>  		dma_free_coherent(&dd->pcidev->dev, sizeof(u64),
>  				  (void *)dd->rcvhdrtail_dummy_kvaddr,
>  				  dd->rcvhdrtail_dummy_physaddr);
> -				  dd->rcvhdrtail_dummy_kvaddr = NULL;
> +		dd->rcvhdrtail_dummy_kvaddr = NULL;
>  	}
>  
>  	for (ctxt = 0; tmp && ctxt < dd->num_rcv_contexts; ctxt++) {
> 

Thanks, applied.
diff mbox

Patch

diff --git a/drivers/infiniband/hw/hfi1/init.c b/drivers/infiniband/hw/hfi1/init.c
index 5cc492e..0d28a5a 100644
--- a/drivers/infiniband/hw/hfi1/init.c
+++ b/drivers/infiniband/hw/hfi1/init.c
@@ -1337,7 +1337,7 @@  static void cleanup_device_data(struct hfi1_devdata *dd)
 		dma_free_coherent(&dd->pcidev->dev, sizeof(u64),
 				  (void *)dd->rcvhdrtail_dummy_kvaddr,
 				  dd->rcvhdrtail_dummy_physaddr);
-				  dd->rcvhdrtail_dummy_kvaddr = NULL;
+		dd->rcvhdrtail_dummy_kvaddr = NULL;
 	}
 
 	for (ctxt = 0; tmp && ctxt < dd->num_rcv_contexts; ctxt++) {