Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 995c8b4a authored by Greg Donald's avatar Greg Donald Committed by Greg Kroah-Hartman
Browse files

drivers: staging: lustre: Fix 'do not use C99 // comments' errors



Fix checkpatch.pl 'do not use C99 // comments' errors

Signed-off-by: default avatarGreg Donald <gdonald@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 22403d9e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1594,8 +1594,8 @@ void ksocknal_write_callback (ksock_conn_t *conn)

	conn->ksnc_tx_ready = 1;

	if (!conn->ksnc_tx_scheduled && // not being progressed
	    !list_empty(&conn->ksnc_tx_queue)){//packets to send
	if (!conn->ksnc_tx_scheduled && /* not being progressed */
	    !list_empty(&conn->ksnc_tx_queue)) { /* packets to send */
		list_add_tail (&conn->ksnc_tx_list,
				   &sched->kss_tx_conns);
		conn->ksnc_tx_scheduled = 1;
+1 −1
Original line number Diff line number Diff line
@@ -290,4 +290,4 @@ static inline int lustre_cfg_sanity_check(void *buf, int len)

/** @} cfg */

#endif // _LUSTRE_CFG_H
#endif /* _LUSTRE_CFG_H */
+1 −1
Original line number Diff line number Diff line
@@ -545,4 +545,4 @@ int mgc_fsname2resid(char *fsname, struct ldlm_res_id *res_id, int type);

/** @} disk */

#endif // _LUSTRE_DISK_H
#endif /* _LUSTRE_DISK_H */
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ void libcfs_run_debug_log_upcall(char *file)
	argv[0] = lnet_debug_log_upcall;

	LASSERTF(file != NULL, "called on a null filename\n");
	argv[1] = file; //only need to pass the path of the file
	argv[1] = file; /* only need to pass the path of the file */

	argv[2] = NULL;

+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@
#include <linux/pagemap.h>
#include <linux/mm.h>
#include <asm/uaccess.h>
#include <linux/buffer_head.h>   // for wait_on_buffer
#include <linux/buffer_head.h>   /* for wait_on_buffer */
#include <linux/pagevec.h>
#include <linux/prefetch.h>

Loading