diff for duplicates of <20160513094407.GA6165@certreview.com> diff --git a/a/1.txt b/N1/1.txt index 626ff54..c7bf770 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -261,7 +261,7 @@ index 46c050c..2347bdc 100644 - /* - * If baud rate is zero, flush queues, and set mval to drop DTR. - */ -- if ((ch->ch_c_cflag & (CBAUD)) = 0) { +- if ((ch->ch_c_cflag & (CBAUD)) == 0) { - ch->ch_r_head = 0; - ch->ch_r_tail = 0; - ch->ch_e_head = 0; @@ -269,7 +269,7 @@ index 46c050c..2347bdc 100644 - ch->ch_w_head = 0; - ch->ch_w_tail = 0; + /* No data to write to the UART */ -+ if (ch->ch_w_tail = ch->ch_w_head) ++ if (ch->ch_w_tail == ch->ch_w_head) + goto exit_unlock; - cls_flush_uart_write(ch); @@ -572,7 +572,7 @@ index 46c050c..2347bdc 100644 + /* + * If baud rate is zero, flush queues, and set mval to drop DTR. + */ -+ if ((ch->ch_c_cflag & (CBAUD)) = 0) { ++ if ((ch->ch_c_cflag & (CBAUD)) == 0) { + ch->ch_r_head = 0; + ch->ch_r_tail = 0; + ch->ch_e_head = 0; @@ -807,7 +807,7 @@ index 46c050c..2347bdc 100644 /* @@ -926,199 +1069,6 @@ static int cls_drain(struct tty_struct *tty, uint seconds) - ((un->un_flags & UN_EMPTY) = 0)); + ((un->un_flags & UN_EMPTY) == 0)); } -/* Channel lock MUST be held before calling this function! */ @@ -858,7 +858,7 @@ index 46c050c..2347bdc 100644 - spin_lock_irqsave(&ch->ch_lock, flags); - - /* No data to write to the UART */ -- if (ch->ch_w_tail = ch->ch_w_head) +- if (ch->ch_w_tail == ch->ch_w_head) - goto exit_unlock; - - /* If port is "stopped", don't send any data to the UART */ diff --git a/a/content_digest b/N1/content_digest index bff6604..821be41 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Daeseok Youn <daeseok.youn@gmail.com>\0" "Subject\0[PATCH] staging: dgnc: re-arrange functions for removing forward\0" - "Date\0Fri, 13 May 2016 09:44:07 +0000\0" + "Date\0Fri, 13 May 2016 18:44:07 +0900\0" "To\0lidza.louina@gmail.com\0" "Cc\0markh@compro.net" gregkh@linuxfoundation.org @@ -273,7 +273,7 @@ "-\t/*\n" "-\t * If baud rate is zero, flush queues, and set mval to drop DTR.\n" "-\t */\n" - "-\tif ((ch->ch_c_cflag & (CBAUD)) = 0) {\n" + "-\tif ((ch->ch_c_cflag & (CBAUD)) == 0) {\n" "-\t\tch->ch_r_head = 0;\n" "-\t\tch->ch_r_tail = 0;\n" "-\t\tch->ch_e_head = 0;\n" @@ -281,7 +281,7 @@ "-\t\tch->ch_w_head = 0;\n" "-\t\tch->ch_w_tail = 0;\n" "+\t/* No data to write to the UART */\n" - "+\tif (ch->ch_w_tail = ch->ch_w_head)\n" + "+\tif (ch->ch_w_tail == ch->ch_w_head)\n" "+\t\tgoto exit_unlock;\n" " \n" "-\t\tcls_flush_uart_write(ch);\n" @@ -584,7 +584,7 @@ "+\t/*\n" "+\t * If baud rate is zero, flush queues, and set mval to drop DTR.\n" "+\t */\n" - "+\tif ((ch->ch_c_cflag & (CBAUD)) = 0) {\n" + "+\tif ((ch->ch_c_cflag & (CBAUD)) == 0) {\n" "+\t\tch->ch_r_head = 0;\n" "+\t\tch->ch_r_tail = 0;\n" "+\t\tch->ch_e_head = 0;\n" @@ -819,7 +819,7 @@ " \n" " /*\n" "@@ -926,199 +1069,6 @@ static int cls_drain(struct tty_struct *tty, uint seconds)\n" - " \t\t\t\t\t ((un->un_flags & UN_EMPTY) = 0));\n" + " \t\t\t\t\t ((un->un_flags & UN_EMPTY) == 0));\n" " }\n" " \n" "-/* Channel lock MUST be held before calling this function! */\n" @@ -870,7 +870,7 @@ "-\tspin_lock_irqsave(&ch->ch_lock, flags);\n" "-\n" "-\t/* No data to write to the UART */\n" - "-\tif (ch->ch_w_tail = ch->ch_w_head)\n" + "-\tif (ch->ch_w_tail == ch->ch_w_head)\n" "-\t\tgoto exit_unlock;\n" "-\n" "-\t/* If port is \"stopped\", don't send any data to the UART */\n" @@ -1046,4 +1046,4 @@ "-- \n" 2.8.2 -21634ea8265e6978bcf20c29a420da859292c3c8c26e4041d5294d0922e5970e +3604b06b797b70123361cfd79f652ea63487abb52a03d66da96c7609c3e217ec
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.