diff for duplicates of <5505A50C.70802@cogentembedded.com> diff --git a/a/1.txt b/N1/1.txt index 5bbccfb..5c18ea1 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -29,9 +29,9 @@ On 3/15/2015 5:28 PM, Yoshihiro Kaneko wrote: > + int copied = 0, offset; > + u16 status, bit; > + -> + if (port->type = PORT_SCIF || port->type = PORT_HSCIF) +> + if (port->type == PORT_SCIF || port->type == PORT_HSCIF) > + offset = SCLSR; -> + else if (port->type = PORT_SCIFA || port->type = PORT_SCIFB) +> + else if (port->type == PORT_SCIFA || port->type == PORT_SCIFB) > + offset = SCxSR; > + else > + return 0; @@ -42,10 +42,10 @@ On 3/15/2015 5:28 PM, Yoshihiro Kaneko wrote: > @@ -1005,7 +1016,10 @@ static irqreturn_t sci_mpxed_interrupt(int irq, void *ptr) > ssr_status = serial_port_in(port, SCxSR); > scr_status = serial_port_in(port, SCSCR); -> if (port->type = PORT_SCIF || port->type = PORT_HSCIF) +> if (port->type == PORT_SCIF || port->type == PORT_HSCIF) > - slr_status = serial_port_in(port, SCLSR); > + orer_status = serial_port_in(port, SCLSR); -> + else if (port->type = PORT_SCIFA || port->type = PORT_SCIFB) +> + else if (port->type == PORT_SCIFA || port->type == PORT_SCIFB) > + orer_status = ssr_status; This one too... diff --git a/a/content_digest b/N1/content_digest index 5eecff3..df3f29e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\01426429695-2993-1-git-send-email-ykaneko0929@gmail.com\0" "From\0Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>\0" "Subject\0Re: [PATCH/RFC] serial: sh-sci: Add overrun handling of SCIFA and SCIFB\0" - "Date\0Sun, 15 Mar 2015 15:28:12 +0000\0" + "Date\0Sun, 15 Mar 2015 18:28:12 +0300\0" "To\0Yoshihiro Kaneko <ykaneko0929@gmail.com>" " linux-serial@vger.kernel.org\0" "Cc\0Greg Kroah-Hartman <gregkh@linuxfoundation.org>" @@ -41,9 +41,9 @@ "> +\tint copied = 0, offset;\n" "> +\tu16 status, bit;\n" "> +\n" - "> +\tif (port->type = PORT_SCIF || port->type = PORT_HSCIF)\n" + "> +\tif (port->type == PORT_SCIF || port->type == PORT_HSCIF)\n" "> +\t\toffset = SCLSR;\n" - "> +\telse if (port->type = PORT_SCIFA || port->type = PORT_SCIFB)\n" + "> +\telse if (port->type == PORT_SCIFA || port->type == PORT_SCIFB)\n" "> +\t\toffset = SCxSR;\n" "> +\telse\n" "> +\t\treturn 0;\n" @@ -54,10 +54,10 @@ "> @@ -1005,7 +1016,10 @@ static irqreturn_t sci_mpxed_interrupt(int irq, void *ptr)\n" "> \tssr_status = serial_port_in(port, SCxSR);\n" "> \tscr_status = serial_port_in(port, SCSCR);\n" - "> \tif (port->type = PORT_SCIF || port->type = PORT_HSCIF)\n" + "> \tif (port->type == PORT_SCIF || port->type == PORT_HSCIF)\n" "> -\t\tslr_status = serial_port_in(port, SCLSR);\n" "> +\t\torer_status = serial_port_in(port, SCLSR);\n" - "> +\telse if (port->type = PORT_SCIFA || port->type = PORT_SCIFB)\n" + "> +\telse if (port->type == PORT_SCIFA || port->type == PORT_SCIFB)\n" "> +\t\torer_status = ssr_status;\n" "\n" " This one too...\n" @@ -66,4 +66,4 @@ "\n" WBR, Sergei -fadb2a905b68d8dcc003ad5f39c32df5a9524bdffd87571746b91326e23467bb +e32477fedf3f549b250da2337e4dad2176cddbe868139d24e653267be3e51e9f
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.