30 Dec, 2017

1 commit

  • commit 203c110b39a89b48156c7450504e454fedb7f7f6 upstream.

    Static analysis tools complain that we intended to have curly braces
    around this indent block. In this case this assumption is wrong, so fix
    the indenting.

    Fixes: 2f3c7b8137ef ("parisc: Add core code for self-extracting kernel")
    Reported-by: Dan Carpenter
    Signed-off-by: Helge Deller
    Signed-off-by: Greg Kroah-Hartman

    Helge Deller
     

23 Sep, 2017

1 commit

  • gcc-7 optimizes the byte-wise accesses of get_unaligned_le32() into
    word-wise accesses if the 32-bit integer output_len is declared as
    external. This panics then the bootloader since we don't have the
    unaligned access fault trap handler installed during boot time.

    Avoid this optimization by declaring output_len as byte-aligned and thus
    unbreak the bootloader code.

    Additionally, compile the boot code optimized for size.

    Signed-off-by: Helge Deller

    Helge Deller
     

22 Aug, 2017

1 commit