diff for duplicates of <1504036657.25945.153.camel@linux.intel.com> diff --git a/a/1.txt b/N1/1.txt index f7db38a..b5c521c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -18,7 +18,7 @@ On Tue, 2017-08-29 at 17:58 +0100, Colin King wrote: > > - spin_lock_irqsave(&p->port.lock, flags); > if (em485 && -> em485->active_timer = &em485->start_tx_timer) { +> em485->active_timer == &em485->start_tx_timer) { > + struct uart_8250_port *p = em485->port; > + > + spin_lock_irqsave(&p->port.lock, flags); diff --git a/a/content_digest b/N1/content_digest index 7afcaa2..d782a22 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020170829165815.23429-1-colin.king@canonical.com\0" "From\0Andy Shevchenko <andriy.shevchenko@linux.intel.com>\0" "Subject\0Re: [PATCH][serial-next] serial: 8250: don't dereference em485 until it has been null checked\0" - "Date\0Tue, 29 Aug 2017 19:57:37 +0000\0" + "Date\0Tue, 29 Aug 2017 22:57:37 +0300\0" "To\0Colin King <colin.king@canonical.com>" Greg Kroah-Hartman <gregkh@linuxfoundation.org> Jiri Slaby <jslaby@suse.com> @@ -36,7 +36,7 @@ "> \302\240\n" "> -\tspin_lock_irqsave(&p->port.lock, flags);\n" "> \302\240\tif (em485 &&\n" - "> \302\240\t\302\240\302\240\302\240\302\240em485->active_timer = &em485->start_tx_timer) {\n" + "> \302\240\t\302\240\302\240\302\240\302\240em485->active_timer == &em485->start_tx_timer) {\n" "> +\t\tstruct uart_8250_port *p = em485->port;\n" "> +\n" "> +\t\tspin_lock_irqsave(&p->port.lock, flags);\n" @@ -57,4 +57,4 @@ "Andy Shevchenko <andriy.shevchenko@linux.intel.com>\n" Intel Finland Oy -ae4e4ed86fd5acd7e060221f055e03fd98a6d704e3a4d55dfb61ed12dc7b132c +889551edfbaba924460b9e958c7ad29aff492138cdf60cb97f34e63cd907caca
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.