]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging/lustre/libcfs: Shortened too long lines
authorOleg Drokin <green@linuxhacker.ru>
Tue, 16 Feb 2016 05:47:05 +0000 (00:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Feb 2016 22:33:11 +0000 (14:33 -0800)
Lines that were too long for not good reason were shortened in this patch.
Found with checkpatch.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/linux/linux-debug.c
drivers/staging/lustre/lustre/libcfs/tracefile.c
drivers/staging/lustre/lustre/libcfs/workitem.c

index 3f3c2d9e53fe12f5f4fff20a51700a8e65f44303..638e4b33d3a94ee6ce7e508ded3f973daba19f27 100644 (file)
@@ -189,10 +189,12 @@ static struct notifier_block libcfs_panic_notifier = {
 
 void libcfs_register_panic_notifier(void)
 {
-       atomic_notifier_chain_register(&panic_notifier_list, &libcfs_panic_notifier);
+       atomic_notifier_chain_register(&panic_notifier_list,
+                                      &libcfs_panic_notifier);
 }
 
 void libcfs_unregister_panic_notifier(void)
 {
-       atomic_notifier_chain_unregister(&panic_notifier_list, &libcfs_panic_notifier);
+       atomic_notifier_chain_unregister(&panic_notifier_list,
+                                        &libcfs_panic_notifier);
 }
index 03c3f82fc2b3f705221b42dd9eead631f844575d..450f5fdb8301987d7f4bb17308e4cc1c12e5e09c 100644 (file)
@@ -399,9 +399,9 @@ console:
                        return 1;
                }
 
-               if (cfs_time_after(cfs_time_current(), cdls->cdls_next +
-                                                      libcfs_console_max_delay
-                                                      + cfs_time_seconds(10))) {
+               if (cfs_time_after(cfs_time_current(),
+                                  cdls->cdls_next + libcfs_console_max_delay +
+                                  cfs_time_seconds(10))) {
                        /* last timeout was a long time ago */
                        cdls->cdls_delay /= libcfs_console_backoff * 4;
                } else {
index 9d80cfb764385724873f011f158fa558994178e0..e234dfe44dc3248a3b0e9934e6893c94d3c30b12 100644 (file)
@@ -46,7 +46,8 @@
 #define CFS_WS_NAME_LEN         16
 
 struct cfs_wi_sched {
-       struct list_head                ws_list;        /* chain on global list */
+       /* chain on global list */
+       struct list_head                ws_list;
        /** serialised workitems */
        spinlock_t              ws_lock;
        /** where schedulers sleep */