diff for duplicates of <20150311140433.GA17051@sloth> diff --git a/a/1.txt b/N1/1.txt index 3273b6d..2a88c98 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -67,11 +67,11 @@ index bedc522..02f19f1 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) { - spin_unlock_irqrestore(&ch->ch_lock, flags); - return; - } -+ 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 */ @@ -153,11 +153,11 @@ index 1268aa9..4deae2d 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) { - spin_unlock_irqrestore(&ch->ch_lock, flags); - return; - } -+ 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 4ff023a..8e324fc 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Quentin Lambert <lambert.quentin@gmail.com>\0" "Subject\0[PATCH 2/3] Staging: dgnc: Use goto for error handling\0" - "Date\0Wed, 11 Mar 2015 14:04:33 +0000\0" + "Date\0Wed, 11 Mar 2015 15:04:33 +0100\0" "To\0Lidza Louina <lidza.louina@gmail.com>" Mark Hounschell <markh@compro.net> " Greg Kroah-Hartman <gregkh@linuxfoundation.org>\0" @@ -79,11 +79,11 @@ " \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\tspin_unlock_irqrestore(&ch->ch_lock, flags);\n" "-\t\treturn;\n" "-\t}\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" @@ -165,11 +165,11 @@ " \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\tspin_unlock_irqrestore(&ch->ch_lock, flags);\n" "-\t\treturn;\n" "-\t}\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" @@ -228,4 +228,4 @@ "-- \n" 1.9.1 -4948bdd78481b34056f521c035b8bd27a5c0de37d507ab80c56a23f53f77032d +04128ab046810c2b6312fd1ed470ffa456421f10e4af1cd1089edd6d7b002cd1
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.