[PATCH 2/2] Staging: nvec: fix multiline comment style. This is a patch in nvec.c file that fixes a multiline comment found by checkpatch.pl tool

2016-03-09 Thread rneha725
Signed-off-by: Neha Rani 
---
 drivers/staging/nvec/nvec.c | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
index 4ae44a5..57ad27a 100644
--- a/drivers/staging/nvec/nvec.c
+++ b/drivers/staging/nvec/nvec.c
@@ -508,8 +508,10 @@ static void nvec_rx_completed(struct nvec_chip *nvec)
 
spin_lock(>rx_lock);
 
-   /* add the received data to the work list
-  and move the ring buffer pointer to the next entry */
+   /**
+* add the received data to the work list
+* and move the ring buffer pointer to the next entry
+*/
list_add_tail(>rx->node, >rx_data);
 
spin_unlock(>rx_lock);
-- 
2.5.0



[PATCH 2/2] Staging: nvec: fix multiline comment style. This is a patch in nvec.c file that fixes a multiline comment found by checkpatch.pl tool

2016-03-09 Thread rneha725
Signed-off-by: Neha Rani 
---
 drivers/staging/nvec/nvec.c | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
index 4ae44a5..57ad27a 100644
--- a/drivers/staging/nvec/nvec.c
+++ b/drivers/staging/nvec/nvec.c
@@ -508,8 +508,10 @@ static void nvec_rx_completed(struct nvec_chip *nvec)
 
spin_lock(>rx_lock);
 
-   /* add the received data to the work list
-  and move the ring buffer pointer to the next entry */
+   /**
+* add the received data to the work list
+* and move the ring buffer pointer to the next entry
+*/
list_add_tail(>rx->node, >rx_data);
 
spin_unlock(>rx_lock);
-- 
2.5.0