drivers: staging: dgap: fix the checkpatch.pl issue "Warning: line over 80 characters"
PATCH 1/1 drivers: staging: dgap: fix the checkpatch.pl issue "Warning: line over 80 characters"
Done as Eudyptula task 10.
Signed-off-by Piotr Witoslawski <[email protected]>
--- drivers/staging/dgap/dgap.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-)
drivers/staging/dgap/dgap.c +10 -6
@@ -88,7 +88,8 @@ static int dgap_block_til_ready(struct tty_struct *tty, struct file *file, struct channel_t *ch);static int dgap_tty_ioctl (struct tty_struct *tty,unsigned int cmd,unsigned long arg); -static int dgap_tty_digigeta (struct channel_t *ch,struct digi_t __user *retinfo); +static int dgap_tty_digigeta (struct channel_t *ch, +struct digi_t __user *retinfo);static int dgap_tty_digiseta (struct channel_t *ch,struct board_t *bd,struct un_t *un,struct digi_t __user *new_info);static int dgap_tty_digigetedelay (struct tty_struct *tty,int __user *retinfo);
@@ -104,8 +105,9 @@ static void dgap_tty_flush_chars(struct tty_struct *tty);static void dgap_tty_flush_buffer (struct tty_struct *tty);static void dgap_tty_hangup (struct tty_struct *tty);static int dgap_wait_for_drain (struct tty_struct *tty); -static int dgap_set_modem_info (struct channel_t *ch,struct board_t *bd,struct un_t *un, -unsigned int command,unsigned int __user *value); +static int dgap_set_modem_info (struct channel_t *ch,struct board_t *bd, +struct un_t *un,unsigned int command, +unsigned int __user *value);static int dgap_get_modem_info (struct channel_t *ch,unsigned int __user *value); static int dgap_tty_digisetcustombaud(struct channel_t *ch, struct board_t *bd,
@@ -3076,8 +3078,9 @@ static int dgap_get_modem_info(struct channel_t *ch, unsigned int __user *value)* * Set modem signals, called by ld. */ -static int dgap_set_modem_info (struct channel_t *ch,struct board_t *bd,struct un_t *un, -unsigned int command,unsigned int __user *value) +static int dgap_set_modem_info (struct channel_t *ch,struct board_t *bd, +struct un_t *un,unsigned int command, +unsigned int __user *value) {int ret;unsigned int arg;
@@ -3153,7 +3156,8 @@ static int dgap_set_modem_info(struct channel_t *ch, struct board_t *bd, struct* * */ -static int dgap_tty_digigeta (struct channel_t *ch,struct digi_t __user *retinfo) +static int dgap_tty_digigeta (struct channel_t *ch, +struct digi_t __user *retinfo) {struct digi_t tmp;ulong lock_flags;
Signature · 1 line
1.8.5.5
Quoted 1 line · Piotr Witoslawski
Done as Eudyptula task 10.
use proper commit message mentioning what changes you have done. and you have not sent the patch to all the people who were supposed to be sent.
thanks
sudip
Quoted 61 lines
Signed-off-by Piotr Witoslawski <[email protected]>--- drivers/staging/dgap/dgap.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-)drivers/staging/dgap/dgap.c +10
-6@@ -88,7 +88,8 @@ static int dgap_block_til_ready(struct tty_struct *tty, struct file *file, struct channel_t *ch);static int dgap_tty_ioctl (struct tty_struct *tty,unsigned int cmd,unsigned long arg); -static int dgap_tty_digigeta (struct channel_t *ch,struct digi_t __user *retinfo); +static int dgap_tty_digigeta (struct channel_t *ch, +struct digi_t __user *retinfo);static int dgap_tty_digiseta (struct channel_t *ch,struct board_t *bd,struct un_t *un,struct digi_t __user *new_info);static int dgap_tty_digigetedelay (struct tty_struct *tty,int __user *retinfo);@@ -104,8 +105,9 @@ static void dgap_tty_flush_chars(struct tty_struct *tty);static void dgap_tty_flush_buffer (struct tty_struct *tty);static void dgap_tty_hangup (struct tty_struct *tty);static int dgap_wait_for_drain (struct tty_struct *tty); -static int dgap_set_modem_info (struct channel_t *ch,struct board_t *bd,struct un_t *un, -unsigned int command,unsigned int __user *value); +static int dgap_set_modem_info (struct channel_t *ch,struct board_t *bd, +struct un_t *un,unsigned int command, +unsigned int __user *value);static int dgap_get_modem_info (struct channel_t *ch,unsigned int __user *value); static int dgap_tty_digisetcustombaud(struct channel_t *ch, struct board_t *bd,@@ -3076,8 +3078,9 @@ static int dgap_get_modem_info(struct channel_t *ch, unsigned int __user *value)* * Set modem signals, called by ld. */ -static int dgap_set_modem_info (struct channel_t *ch,struct board_t *bd,struct un_t *un, -unsigned int command,unsigned int __user *value) +static int dgap_set_modem_info (struct channel_t *ch,struct board_t *bd, +struct un_t *un,unsigned int command, +unsigned int __user *value) {int ret;unsigned int arg;@@ -3153,7 +3156,8 @@ static int dgap_set_modem_info(struct channel_t *ch, struct board_t *bd, struct* * */ -static int dgap_tty_digigeta (struct channel_t *ch,struct digi_t __user *retinfo) +static int dgap_tty_digigeta (struct channel_t *ch, +struct digi_t __user *retinfo) {struct digi_t tmp;ulong lock_flags;Signature · 7 lines
1.8.5.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/