diff for duplicates of <55006F4A.70805@gmail.com> diff --git a/a/1.txt b/N1/1.txt index f19f7f5..1e5e70e 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -68,11 +68,11 @@ On 2015.03.11 16:04, Quentin Lambert wrote: > 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 bc6c052..4cef2db 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020150311140433.GA17051@sloth\0" "From\0Giedrius Statkevi\304\215ius <giedrius.statkevicius@gmail.com>\0" "Subject\0Re: [PATCH 2/3] Staging: dgnc: Use goto for error handling\0" - "Date\0Wed, 11 Mar 2015 16:37:30 +0000\0" + "Date\0Wed, 11 Mar 2015 18:37:30 +0200\0" "To\0Quentin Lambert <lambert.quentin@gmail.com>" Lidza Louina <lidza.louina@gmail.com> Mark Hounschell <markh@compro.net> @@ -82,11 +82,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,4 +165,4 @@ "Thanks,\n" Giedrius -156c059d813044f45e8d9a4e95e00af512e72d3b7c3df0d5036b951fe5b5501a +1828b7c223ddf1778326e8a3fce1a54c9179a3a7679a5fb5eb91d2f0506032b2
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.