Commit 4d0bdcb1 authored by Arushi Singhal's avatar Arushi Singhal Committed by Greg Kroah-Hartman

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: default avatarArushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 272e9e0f
...@@ -63,8 +63,8 @@ void speakup_remove_virtual_keyboard(void) ...@@ -63,8 +63,8 @@ void speakup_remove_virtual_keyboard(void)
} }
/* /*
* Send a simulated down-arrow to the application. * Send a simulated down-arrow to the application.
*/ */
void speakup_fake_down_arrow(void) void speakup_fake_down_arrow(void)
{ {
unsigned long flags; unsigned long flags;
...@@ -87,9 +87,9 @@ void speakup_fake_down_arrow(void) ...@@ -87,9 +87,9 @@ void speakup_fake_down_arrow(void)
} }
/* /*
* Are we handling a simulated keypress on the current CPU? * Are we handling a simulated keypress on the current CPU?
* Returns a boolean. * Returns a boolean.
*/ */
bool speakup_fake_key_pressed(void) bool speakup_fake_key_pressed(void)
{ {
return this_cpu_read(reporting_keystroke); return this_cpu_read(reporting_keystroke);
......
...@@ -401,7 +401,7 @@ char *spk_msg_get(enum msg_index_t index) ...@@ -401,7 +401,7 @@ char *spk_msg_get(enum msg_index_t index)
* Finds the start of the next format specifier in the argument string. * Finds the start of the next format specifier in the argument string.
* Return value: pointer to start of format * Return value: pointer to start of format
* specifier, or NULL if no specifier exists. * specifier, or NULL if no specifier exists.
*/ */
static char *next_specifier(char *input) static char *next_specifier(char *input)
{ {
int found = 0; int found = 0;
...@@ -450,7 +450,7 @@ static char *skip_width(char *input) ...@@ -450,7 +450,7 @@ static char *skip_width(char *input)
* Note that this code only accepts a handful of conversion specifiers: * Note that this code only accepts a handful of conversion specifiers:
* c d s x and ld. Not accidental; these are exactly the ones used in * c d s x and ld. Not accidental; these are exactly the ones used in
* the default group of formatted messages. * the default group of formatted messages.
*/ */
static char *skip_conversion(char *input) static char *skip_conversion(char *input)
{ {
if ((input[0] == 'l') && (input[1] == 'd')) if ((input[0] == 'l') && (input[1] == 'd'))
...@@ -463,7 +463,7 @@ static char *skip_conversion(char *input) ...@@ -463,7 +463,7 @@ static char *skip_conversion(char *input)
/* /*
* Function: find_specifier_end * Function: find_specifier_end
* Return a pointer to the end of the format specifier. * Return a pointer to the end of the format specifier.
*/ */
static char *find_specifier_end(char *input) static char *find_specifier_end(char *input)
{ {
input++; /* Advance over %. */ input++; /* Advance over %. */
...@@ -478,7 +478,7 @@ static char *find_specifier_end(char *input) ...@@ -478,7 +478,7 @@ static char *find_specifier_end(char *input)
* Compare the format specifiers pointed to by *input1 and *input2. * Compare the format specifiers pointed to by *input1 and *input2.
* Return 1 if they are the same, 0 otherwise. Advance *input1 and *input2 * Return 1 if they are the same, 0 otherwise. Advance *input1 and *input2
* so that they point to the character following the end of the specifier. * so that they point to the character following the end of the specifier.
*/ */
static int compare_specifiers(char **input1, char **input2) static int compare_specifiers(char **input1, char **input2)
{ {
int same = 0; int same = 0;
...@@ -500,7 +500,7 @@ static int compare_specifiers(char **input1, char **input2) ...@@ -500,7 +500,7 @@ static int compare_specifiers(char **input1, char **input2)
* Check that two format strings contain the same number of format specifiers, * Check that two format strings contain the same number of format specifiers,
* and that the order of specifiers is the same in both strings. * and that the order of specifiers is the same in both strings.
* Return 1 if the condition holds, 0 if it doesn't. * Return 1 if the condition holds, 0 if it doesn't.
*/ */
static int fmt_validate(char *template, char *user) static int fmt_validate(char *template, char *user)
{ {
int valid = 1; int valid = 1;
...@@ -537,7 +537,7 @@ static int fmt_validate(char *template, char *user) ...@@ -537,7 +537,7 @@ static int fmt_validate(char *template, char *user)
* Failure conditions: * Failure conditions:
* -EINVAL - Invalid format specifiers in formatted message or illegal index. * -EINVAL - Invalid format specifiers in formatted message or illegal index.
* -ENOMEM - Unable to allocate memory. * -ENOMEM - Unable to allocate memory.
*/ */
ssize_t spk_msg_set(enum msg_index_t index, char *text, size_t length) ssize_t spk_msg_set(enum msg_index_t index, char *text, size_t length)
{ {
int rc = 0; int rc = 0;
...@@ -573,7 +573,7 @@ ssize_t spk_msg_set(enum msg_index_t index, char *text, size_t length) ...@@ -573,7 +573,7 @@ ssize_t spk_msg_set(enum msg_index_t index, char *text, size_t length)
/* /*
* Find a message group, given its name. Return a pointer to the structure * Find a message group, given its name. Return a pointer to the structure
* if found, or NULL otherwise. * if found, or NULL otherwise.
*/ */
struct msg_group_t *spk_find_msg_group(const char *group_name) struct msg_group_t *spk_find_msg_group(const char *group_name)
{ {
struct msg_group_t *group = NULL; struct msg_group_t *group = NULL;
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/vt.h> #include <linux/vt.h>
......
/* /*
* originally written by: Kirk Reiser <kirk@braille.uwo.ca> * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
* this version considerably modified by David Borowski, david575@rogers.com * this version considerably modified by David Borowski, david575@rogers.com
* *
* Copyright (C) 1998-99 Kirk Reiser. * Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski. * Copyright (C) 2003 David Borowski.
......
/* /*
* originally written by: Kirk Reiser <kirk@braille.uwo.ca> * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
* this version considerably modified by David Borowski, david575@rogers.com * this version considerably modified by David Borowski, david575@rogers.com
* *
* Copyright (C) 1998-99 Kirk Reiser. * Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski. * Copyright (C) 2003 David Borowski.
......
/* /*
* originally written by: Kirk Reiser <kirk@braille.uwo.ca> * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
* this version considerably modified by David Borowski, david575@rogers.com * this version considerably modified by David Borowski, david575@rogers.com
* *
* Copyright (C) 1998-99 Kirk Reiser. * Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski. * Copyright (C) 2003 David Borowski.
......
...@@ -85,8 +85,8 @@ ...@@ -85,8 +85,8 @@
#define CTRL_io_priority 0x0c00 /* change i/o priority */ #define CTRL_io_priority 0x0c00 /* change i/o priority */
#define CTRL_free_mem 0x0d00 /* get free paragraphs on module */ #define CTRL_free_mem 0x0d00 /* get free paragraphs on module */
#define CTRL_get_lang 0x0e00 /* return bit mask of loaded #define CTRL_get_lang 0x0e00 /* return bit mask of loaded
* languages * languages
*/ */
#define CMD_test 0x2000 /* self-test request */ #define CMD_test 0x2000 /* self-test request */
#define TEST_mask 0x0F00 /* isolate test field */ #define TEST_mask 0x0F00 /* isolate test field */
#define TEST_null 0x0000 /* no test requested */ #define TEST_null 0x0000 /* no test requested */
......
/* /*
* originally written by: Kirk Reiser <kirk@braille.uwo.ca> * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
* this version considerably modified by David Borowski, david575@rogers.com * this version considerably modified by David Borowski, david575@rogers.com
* *
* Copyright (C) 1998-99 Kirk Reiser. * Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski. * Copyright (C) 2003 David Borowski.
......
...@@ -24,11 +24,11 @@ ...@@ -24,11 +24,11 @@
* usec later. * usec later.
*/ */
#define TTS_ALMOST_FULL 0x08 /* mask for AF bit: When set to 1, #define TTS_ALMOST_FULL 0x08 /* mask for AF bit: When set to 1,
* indicates that less than 300 bytes * indicates that less than 300 bytes
* are available in the TTS input * are available in the TTS input
* buffer. AF is always 0 in the PCM, * buffer. AF is always 0 in the PCM,
* TGN and CVSD modes. * TGN and CVSD modes.
*/ */
#define TTS_ALMOST_EMPTY 0x04 /* mask for AE bit: When set to 1, #define TTS_ALMOST_EMPTY 0x04 /* mask for AE bit: When set to 1,
* indicates that less than 300 bytes * indicates that less than 300 bytes
* are remaining in DoubleTalk's input * are remaining in DoubleTalk's input
......
/* /*
* originally written by: Kirk Reiser <kirk@braille.uwo.ca> * originally written by: Kirk Reiser <kirk@braille.uwo.ca>
* this version considerably modified by David Borowski, david575@rogers.com * this version considerably modified by David Borowski, david575@rogers.com
* *
* Copyright (C) 1998-99 Kirk Reiser. * Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski. * Copyright (C) 2003 David Borowski.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment