aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rdma/hfi1/file_ops.c
diff options
context:
space:
mode:
authorJubin John <jubin.john@intel.com>2016-02-14 20:21:43 -0800
committerDoug Ledford <dledford@redhat.com>2016-03-10 20:45:41 -0500
commit4d114fdd90ab4152a1477593edd9375be71d282d (patch)
tree7bde0182672d4bb8f27e099d0f704a4b734c87e6 /drivers/staging/rdma/hfi1/file_ops.c
parentstaging/rdma/hfi1: Add comment for spinlock_t definition (diff)
downloadlinux-dev-4d114fdd90ab4152a1477593edd9375be71d282d.tar.xz
linux-dev-4d114fdd90ab4152a1477593edd9375be71d282d.zip
staging/rdma/hfi1: Fix block comments
Fix block comments with proper formatting to fix checkpatch warnings: WARNING: Block comments use * on subsequent lines WARNING: Block comments use a trailing */ on a separate line Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Reviewed-by: Ira Weiny <ira.weiny@intel.com> Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Jubin John <jubin.john@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/staging/rdma/hfi1/file_ops.c')
-rw-r--r--drivers/staging/rdma/hfi1/file_ops.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/staging/rdma/hfi1/file_ops.c b/drivers/staging/rdma/hfi1/file_ops.c
index 5077ee069154..c4b9dd49dfa7 100644
--- a/drivers/staging/rdma/hfi1/file_ops.c
+++ b/drivers/staging/rdma/hfi1/file_ops.c
@@ -388,8 +388,10 @@ static ssize_t hfi1_file_write(struct file *fp, const char __user *data,
break;
}
if (dd->flags & HFI1_FORCED_FREEZE) {
- /* Don't allow context reset if we are into
- * forced freeze */
+ /*
+ * Don't allow context reset if we are into
+ * forced freeze
+ */
ret = -ENODEV;
break;
}