On 14-10-08 02:39 AM, Ong Boon Leong wrote:
> There is an build issue in following merge-point:
> "Merge tag 'v3.10.48' into standard/base"
>   60a9d9fc565e4503dbb8705803e83d906afc4ad2
> 
> For 8250_dw.c: dw8250_handle_irq() requires the following line
> to be restored in order to build successfully.

Correct, it actually happens because stable brought in:

-------------------------
commit 6d5e79331417886196cb3a733bdb6645ba85bc42
Author: Tim Kryger <[email protected]>
Date:   Tue Oct 1 10:18:08 2013 -0700

    serial: 8250_dw: Improve unwritable LCR workaround
    
    commit c49436b657d0a56a6ad90d14a7c3041add7cf64d upstream.

[...]

    [wangnan: backport to 3.10.43:
      - adjust context
      - remove unneeded local var]
    Signed-off-by: Wang Nan <[email protected]>
    Signed-off-by: Greg Kroah-Hartman <[email protected]>
------------------------

...which deletes the p->private_data declaration since it became
unused at that point, however in Yocto, we also have this:

-----------------------
commit 0e02b050c3cafbcbf9952125089a27e02d6ecea9
Author: David Daney <[email protected]>
Date:   Wed Jun 19 20:37:27 2013 +0000

    tty/8250_dw: Add support for OCTEON UARTS.

[...]

    Signed-off-by: Ralf Baechle <[email protected]>
    (cherry picked from commit d5f1af7ece96cf52e0b110c72210ac15c2f65438)
    Signed-off-by: Darren Hart <[email protected]>
-----------------------

...which _adds_ another user of the p->private_data.

I'll update the commit log with the above information and
pass it along to Bruce to be merged.

Thanks,
Paul.
--


> 
> Signed-off-by: Ong Boon Leong <[email protected]>
> ---
>  drivers/tty/serial/8250/8250_dw.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/tty/serial/8250/8250_dw.c 
> b/drivers/tty/serial/8250/8250_dw.c
> index 36fe9d9..5caf10e 100644
> --- a/drivers/tty/serial/8250/8250_dw.c
> +++ b/drivers/tty/serial/8250/8250_dw.c
> @@ -217,6 +217,7 @@ static unsigned int dw8250_serial_in32(struct uart_port 
> *p, int offset)
>  
>  static int dw8250_handle_irq(struct uart_port *p)
>  {
> +     struct dw8250_data *d = p->private_data;
>       unsigned int iir = p->serial_in(p, UART_IIR);
>  
>       if (serial8250_handle_irq(p, iir)) {
> 
-- 
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to