aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArushi Singhal <arushisinghal19971997@gmail.com>2017-02-12 05:45:58 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-02-12 07:46:57 -0500
commit4d0bdcb10c43056489b69186ee43669f2a73b8f9 (patch)
tree5aac1704d23aabfb499848c326bf5bef60cef1cd
parent272e9e0f870dec4a0c6e77f0707fb2678e555243 (diff)
staging: rtl8192e: Aligning the * on each line in block comments
This patch fixes the issue by aligning the * on each line in block comments. Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/speakup/fakekey.c10
-rw-r--r--drivers/staging/speakup/i18n.c14
-rw-r--r--drivers/staging/speakup/main.c2
-rw-r--r--drivers/staging/speakup/speakup_acntsa.c2
-rw-r--r--drivers/staging/speakup/speakup_apollo.c2
-rw-r--r--drivers/staging/speakup/speakup_decext.c2
-rw-r--r--drivers/staging/speakup/speakup_decpc.c4
-rw-r--r--drivers/staging/speakup/speakup_dtlk.c2
-rw-r--r--drivers/staging/speakup/speakup_dtlk.h10
-rw-r--r--drivers/staging/speakup/speakup_ltlk.c2
10 files changed, 25 insertions, 25 deletions
diff --git a/drivers/staging/speakup/fakekey.c b/drivers/staging/speakup/fakekey.c
index 8f058b42f68d..d76da0a1382c 100644
--- a/drivers/staging/speakup/fakekey.c
+++ b/drivers/staging/speakup/fakekey.c
@@ -63,8 +63,8 @@ void speakup_remove_virtual_keyboard(void)
63} 63}
64 64
65/* 65/*
66 * Send a simulated down-arrow to the application. 66 * Send a simulated down-arrow to the application.
67 */ 67 */
68void speakup_fake_down_arrow(void) 68void speakup_fake_down_arrow(void)
69{ 69{
70 unsigned long flags; 70 unsigned long flags;
@@ -87,9 +87,9 @@ void speakup_fake_down_arrow(void)
87} 87}
88 88
89/* 89/*
90 * Are we handling a simulated keypress on the current CPU? 90 * Are we handling a simulated keypress on the current CPU?
91 * Returns a boolean. 91 * Returns a boolean.
92 */ 92 */
93bool speakup_fake_key_pressed(void) 93bool speakup_fake_key_pressed(void)
94{ 94{
95 return this_cpu_read(reporting_keystroke); 95 return this_cpu_read(reporting_keystroke);
diff --git a/drivers/staging/speakup/i18n.c b/drivers/staging/speakup/i18n.c
index 8960079e4d60..2f9b3df7f78d 100644
--- a/drivers/staging/speakup/i18n.c
+++ b/drivers/staging/speakup/i18n.c
@@ -401,7 +401,7 @@ char *spk_msg_get(enum msg_index_t index)
401 * Finds the start of the next format specifier in the argument string. 401 * Finds the start of the next format specifier in the argument string.
402 * Return value: pointer to start of format 402 * Return value: pointer to start of format
403 * specifier, or NULL if no specifier exists. 403 * specifier, or NULL if no specifier exists.
404*/ 404 */
405static char *next_specifier(char *input) 405static char *next_specifier(char *input)
406{ 406{
407 int found = 0; 407 int found = 0;
@@ -450,7 +450,7 @@ static char *skip_width(char *input)
450 * Note that this code only accepts a handful of conversion specifiers: 450 * Note that this code only accepts a handful of conversion specifiers:
451 * c d s x and ld. Not accidental; these are exactly the ones used in 451 * c d s x and ld. Not accidental; these are exactly the ones used in
452 * the default group of formatted messages. 452 * the default group of formatted messages.
453*/ 453 */
454static char *skip_conversion(char *input) 454static char *skip_conversion(char *input)
455{ 455{
456 if ((input[0] == 'l') && (input[1] == 'd')) 456 if ((input[0] == 'l') && (input[1] == 'd'))
@@ -463,7 +463,7 @@ static char *skip_conversion(char *input)
463/* 463/*
464 * Function: find_specifier_end 464 * Function: find_specifier_end
465 * Return a pointer to the end of the format specifier. 465 * Return a pointer to the end of the format specifier.
466*/ 466 */
467static char *find_specifier_end(char *input) 467static char *find_specifier_end(char *input)
468{ 468{
469 input++; /* Advance over %. */ 469 input++; /* Advance over %. */
@@ -478,7 +478,7 @@ static char *find_specifier_end(char *input)
478 * Compare the format specifiers pointed to by *input1 and *input2. 478 * Compare the format specifiers pointed to by *input1 and *input2.
479 * Return 1 if they are the same, 0 otherwise. Advance *input1 and *input2 479 * Return 1 if they are the same, 0 otherwise. Advance *input1 and *input2
480 * so that they point to the character following the end of the specifier. 480 * so that they point to the character following the end of the specifier.
481*/ 481 */
482static int compare_specifiers(char **input1, char **input2) 482static int compare_specifiers(char **input1, char **input2)
483{ 483{
484 int same = 0; 484 int same = 0;
@@ -500,7 +500,7 @@ static int compare_specifiers(char **input1, char **input2)
500 * Check that two format strings contain the same number of format specifiers, 500 * Check that two format strings contain the same number of format specifiers,
501 * and that the order of specifiers is the same in both strings. 501 * and that the order of specifiers is the same in both strings.
502 * Return 1 if the condition holds, 0 if it doesn't. 502 * Return 1 if the condition holds, 0 if it doesn't.
503*/ 503 */
504static int fmt_validate(char *template, char *user) 504static int fmt_validate(char *template, char *user)
505{ 505{
506 int valid = 1; 506 int valid = 1;
@@ -537,7 +537,7 @@ static int fmt_validate(char *template, char *user)
537 * Failure conditions: 537 * Failure conditions:
538 * -EINVAL - Invalid format specifiers in formatted message or illegal index. 538 * -EINVAL - Invalid format specifiers in formatted message or illegal index.
539 * -ENOMEM - Unable to allocate memory. 539 * -ENOMEM - Unable to allocate memory.
540*/ 540 */
541ssize_t spk_msg_set(enum msg_index_t index, char *text, size_t length) 541ssize_t spk_msg_set(enum msg_index_t index, char *text, size_t length)
542{ 542{
543 int rc = 0; 543 int rc = 0;
@@ -573,7 +573,7 @@ ssize_t spk_msg_set(enum msg_index_t index, char *text, size_t length)
573/* 573/*
574 * Find a message group, given its name. Return a pointer to the structure 574 * Find a message group, given its name. Return a pointer to the structure
575 * if found, or NULL otherwise. 575 * if found, or NULL otherwise.
576*/ 576 */
577struct msg_group_t *spk_find_msg_group(const char *group_name) 577struct msg_group_t *spk_find_msg_group(const char *group_name)
578{ 578{
579 struct msg_group_t *group = NULL; 579 struct msg_group_t *group = NULL;
diff --git a/drivers/staging/speakup/main.c b/drivers/staging/speakup/main.c
index bccccf539d38..c2f70ef5b9b3 100644
--- a/drivers/staging/speakup/main.c
+++ b/drivers/staging/speakup/main.c
@@ -16,7 +16,7 @@
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details. 18 * GNU General Public License for more details.
19*/ 19 */
20 20
21#include <linux/kernel.h> 21#include <linux/kernel.h>
22#include <linux/vt.h> 22#include <linux/vt.h>
diff --git a/drivers/staging/speakup/speakup_acntsa.c b/drivers/staging/speakup/speakup_acntsa.c
index b4e49cdd2014..b2e352712766 100644
--- a/drivers/staging/speakup/speakup_acntsa.c
+++ b/drivers/staging/speakup/speakup_acntsa.c
@@ -1,6 +1,6 @@
1/* 1/*
2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca> 2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
3* this version considerably modified by David Borowski, david575@rogers.com 3 * this version considerably modified by David Borowski, david575@rogers.com
4 * 4 *
5 * Copyright (C) 1998-99 Kirk Reiser. 5 * Copyright (C) 1998-99 Kirk Reiser.
6 * Copyright (C) 2003 David Borowski. 6 * Copyright (C) 2003 David Borowski.
diff --git a/drivers/staging/speakup/speakup_apollo.c b/drivers/staging/speakup/speakup_apollo.c
index 63efa6180346..3f43f8105bc0 100644
--- a/drivers/staging/speakup/speakup_apollo.c
+++ b/drivers/staging/speakup/speakup_apollo.c
@@ -1,6 +1,6 @@
1/* 1/*
2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca> 2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
3* this version considerably modified by David Borowski, david575@rogers.com 3 * this version considerably modified by David Borowski, david575@rogers.com
4 * 4 *
5 * Copyright (C) 1998-99 Kirk Reiser. 5 * Copyright (C) 1998-99 Kirk Reiser.
6 * Copyright (C) 2003 David Borowski. 6 * Copyright (C) 2003 David Borowski.
diff --git a/drivers/staging/speakup/speakup_decext.c b/drivers/staging/speakup/speakup_decext.c
index 28796a27b304..6b74a97385da 100644
--- a/drivers/staging/speakup/speakup_decext.c
+++ b/drivers/staging/speakup/speakup_decext.c
@@ -1,6 +1,6 @@
1/* 1/*
2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca> 2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
3* this version considerably modified by David Borowski, david575@rogers.com 3 * this version considerably modified by David Borowski, david575@rogers.com
4 * 4 *
5 * Copyright (C) 1998-99 Kirk Reiser. 5 * Copyright (C) 1998-99 Kirk Reiser.
6 * Copyright (C) 2003 David Borowski. 6 * Copyright (C) 2003 David Borowski.
diff --git a/drivers/staging/speakup/speakup_decpc.c b/drivers/staging/speakup/speakup_decpc.c
index ac299a399e45..6bf38e49a96d 100644
--- a/drivers/staging/speakup/speakup_decpc.c
+++ b/drivers/staging/speakup/speakup_decpc.c
@@ -85,8 +85,8 @@
85#define CTRL_io_priority 0x0c00 /* change i/o priority */ 85#define CTRL_io_priority 0x0c00 /* change i/o priority */
86#define CTRL_free_mem 0x0d00 /* get free paragraphs on module */ 86#define CTRL_free_mem 0x0d00 /* get free paragraphs on module */
87#define CTRL_get_lang 0x0e00 /* return bit mask of loaded 87#define CTRL_get_lang 0x0e00 /* return bit mask of loaded
88 * languages 88 * languages
89 */ 89 */
90#define CMD_test 0x2000 /* self-test request */ 90#define CMD_test 0x2000 /* self-test request */
91#define TEST_mask 0x0F00 /* isolate test field */ 91#define TEST_mask 0x0F00 /* isolate test field */
92#define TEST_null 0x0000 /* no test requested */ 92#define TEST_null 0x0000 /* no test requested */
diff --git a/drivers/staging/speakup/speakup_dtlk.c b/drivers/staging/speakup/speakup_dtlk.c
index 7516e2eda348..e2bf20806d8d 100644
--- a/drivers/staging/speakup/speakup_dtlk.c
+++ b/drivers/staging/speakup/speakup_dtlk.c
@@ -1,6 +1,6 @@
1/* 1/*
2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca> 2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
3* this version considerably modified by David Borowski, david575@rogers.com 3 * this version considerably modified by David Borowski, david575@rogers.com
4 * 4 *
5 * Copyright (C) 1998-99 Kirk Reiser. 5 * Copyright (C) 1998-99 Kirk Reiser.
6 * Copyright (C) 2003 David Borowski. 6 * Copyright (C) 2003 David Borowski.
diff --git a/drivers/staging/speakup/speakup_dtlk.h b/drivers/staging/speakup/speakup_dtlk.h
index 46d885fcfb20..b3b3cfc3db07 100644
--- a/drivers/staging/speakup/speakup_dtlk.h
+++ b/drivers/staging/speakup/speakup_dtlk.h
@@ -24,11 +24,11 @@
24 * usec later. 24 * usec later.
25 */ 25 */
26#define TTS_ALMOST_FULL 0x08 /* mask for AF bit: When set to 1, 26#define TTS_ALMOST_FULL 0x08 /* mask for AF bit: When set to 1,
27 * indicates that less than 300 bytes 27 * indicates that less than 300 bytes
28 * are available in the TTS input 28 * are available in the TTS input
29 * buffer. AF is always 0 in the PCM, 29 * buffer. AF is always 0 in the PCM,
30 * TGN and CVSD modes. 30 * TGN and CVSD modes.
31 */ 31 */
32#define TTS_ALMOST_EMPTY 0x04 /* mask for AE bit: When set to 1, 32#define TTS_ALMOST_EMPTY 0x04 /* mask for AE bit: When set to 1,
33 * indicates that less than 300 bytes 33 * indicates that less than 300 bytes
34 * are remaining in DoubleTalk's input 34 * are remaining in DoubleTalk's input
diff --git a/drivers/staging/speakup/speakup_ltlk.c b/drivers/staging/speakup/speakup_ltlk.c
index b014aa1fcadd..9d22198a0339 100644
--- a/drivers/staging/speakup/speakup_ltlk.c
+++ b/drivers/staging/speakup/speakup_ltlk.c
@@ -1,6 +1,6 @@
1/* 1/*
2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca> 2 * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
3* this version considerably modified by David Borowski, david575@rogers.com 3 * this version considerably modified by David Borowski, david575@rogers.com
4 * 4 *
5 * Copyright (C) 1998-99 Kirk Reiser. 5 * Copyright (C) 1998-99 Kirk Reiser.
6 * Copyright (C) 2003 David Borowski. 6 * Copyright (C) 2003 David Borowski.