Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: dgap: Fix trailing whitespace in dgap_trace.c

This patch fixed trailing whitespace found by
checkpatch.pl within dgap_trace.c

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Masanari Iida and committed by
Greg Kroah-Hartman
364014fd b3a53885

+8 -8
+8 -8
drivers/staging/dgap/dgap_trace.c
··· 17 17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 18 18 * 19 19 * 20 - * NOTE TO LINUX KERNEL HACKERS: DO NOT REFORMAT THIS CODE! 20 + * NOTE TO LINUX KERNEL HACKERS: DO NOT REFORMAT THIS CODE! 21 21 * 22 22 * This is shared code between Digi's CVS archive and the 23 23 * Linux Kernel sources. 24 24 * Changing the source just for reformatting needlessly breaks 25 25 * our CVS diff history. 26 26 * 27 - * Send any bug fixes/changes to: Eng.Linux at digi dot com. 28 - * Thank you. 27 + * Send any bug fixes/changes to: Eng.Linux at digi dot com. 28 + * Thank you. 29 29 * 30 30 */ 31 31 ··· 107 107 dgap_trcbufi = 0; 108 108 initd++; 109 109 110 - printk("dgap: tracing enabled - " TRC_DTRC 110 + printk("dgap: tracing enabled - " TRC_DTRC 111 111 " 0x%lx 0x%x\n", 112 - (unsigned long)dgap_trcbuf, 112 + (unsigned long)dgap_trcbuf, 113 113 dgap_trcbuf_size); 114 114 } 115 115 116 116 # if defined(TRC_ON_OVERFLOW_WRAP_AROUND) 117 117 /* 118 118 * This is the less CPU-intensive way to do things. We simply 119 - * wrap around before we fall off the end of the buffer. A 119 + * wrap around before we fall off the end of the buffer. A 120 120 * tilde (~) demarcates the current end of the trace. 121 121 * 122 122 * This method should be used if you are concerned about race ··· 131 131 dgap_trcbufi = 0; 132 132 } 133 133 134 - strcpy(&dgap_trcbuf[dgap_trcbufi], buf); 134 + strcpy(&dgap_trcbuf[dgap_trcbufi], buf); 135 135 dgap_trcbufi += lenbuf; 136 136 dgap_trcbuf[dgap_trcbufi] = '~'; 137 137 138 138 # elif defined(TRC_ON_OVERFLOW_SHIFT_BUFFER) 139 139 /* 140 140 * This is the more CPU-intensive way to do things. If we 141 - * venture into the last 1/8 of the buffer, we shift the 141 + * venture into the last 1/8 of the buffer, we shift the 142 142 * last 7/8 of the buffer forward, wiping out the first 1/8. 143 143 * Advantage: No wrap-around, only truncation from the 144 144 * beginning.