27 Jul, 2010

1 commit

  • WARNING: drivers/video/built-in.o(.data+0x1e0): Section mismatch in reference fr
    om the variable pmagbafb_driver to the function .init.text:pmagbafb_probe()
    The variable pmagbafb_driver references
    the function __init pmagbafb_probe()
    If the reference is valid then annotate the
    variable with __init* or __refdata (see linux/init.h) or name the variable:
    *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console,

    Fixing this one triggers 2 more:

    WARNING: drivers/video/built-in.o(.devinit.text+0xc0): Section mismatch in reference from the function pmagbafb_probe() to the variable .init.data:pmagbafb_fix
    The function __devinit pmagbafb_probe() references
    a variable __initdata pmagbafb_fix.
    If pmagbafb_fix is only used by pmagbafb_probe then
    annotate pmagbafb_fix with a matching annotation.

    WARNING: drivers/video/built-in.o(.devinit.text+0x108): Section mismatch in reference from the function pmagbafb_probe() to the variable .init.data:pmagbafb_defined
    The function __devinit pmagbafb_probe() references
    a variable __initdata pmagbafb_defined.
    If pmagbafb_defined is only used by pmagbafb_probe then
    annotate pmagbafb_defined with a matching annotation.

    Signed-off-by: Ralf Baechle

    Ralf Baechle
     

16 Dec, 2009

1 commit

  • Add check if palette register number is in correct range for few drivers
    which miss it. The regno value comes indirectly from user space.

    Two drivers has converted check from BUG_ON() macro to just return an
    error (non-zero value).

    Signed-off-by: Krzysztof Helt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Krzysztof Helt
     

25 Mar, 2009

1 commit


17 Oct, 2007

1 commit

  • Add error messages to the probe call.

    While they may rarely trigger, they may be useful when something weird is
    going on. Also this is good style.

    [akpm@linux-foundation.org: remove unneeded initialisation]
    Signed-off-by: Maciej W. Rozycki
    Cc: Mariusz Kozlowski
    Cc: Ralf Baechle
    Cc: "Antonino A. Daplas"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Maciej W. Rozycki
     

10 Feb, 2007

1 commit


08 Feb, 2006

1 commit


07 Nov, 2005

1 commit

  • According to Jon Smirl, filling in the field fb_cursor with soft_cursor for
    drivers that do not support hardware cursors is redundant. The soft_cursor
    function is usable by all drivers because it is just a wrapper around
    fb_imageblit. And because soft_cursor is an fbcon-specific hook, the file is
    moved to the console directory.

    Thus, drivers that do not support hardware cursors can leave the fb_cursor
    field blank. For drivers that do, they can fill up this field with their own
    version.

    The end result is a smaller code size. And if the framebuffer console is not
    loaded, module/kernel size is also reduced because the soft_cursor module will
    also not be loaded.

    Signed-off-by: Antonino Daplas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Antonino A. Daplas
     

05 Sep, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds