summaryrefslogtreecommitdiffstats
path: root/drivers/staging/nvec/nvec.c
diff options
context:
space:
mode:
authorSimon Guinot <simon.guinot@sequanux.org>2015-12-09 08:14:06 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-07 20:00:04 -0800
commit66ad85d13f56b464ca91de269b067fcc9b5f3313 (patch)
treed24ae447b93ad577a7066503c8b88f917bd2a245 /drivers/staging/nvec/nvec.c
parent377ef3e9efc3d8171d5c037b3411c2bb7f8b96ad (diff)
downloadlinux-66ad85d13f56b464ca91de269b067fcc9b5f3313.tar.bz2
staging: nvec: fix block comments
This patch fixes a couple of checkpatch warnings about block comments. Signed-off-by: Simon Guinot <simon.guinot@sequanux.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/nvec/nvec.c')
-rw-r--r--drivers/staging/nvec/nvec.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/nvec/nvec.c b/drivers/staging/nvec/nvec.c
index 4ae44a5168f9..dba17660a4c5 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(&nvec->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(&nvec->rx->node, &nvec->rx_data);
spin_unlock(&nvec->rx_lock);