01 Feb, 2013

2 commits

  • In case a function argument is known/fixed size array in C, the argument is
    still decoyed as pointer instead ( T f(U n[k]) ~= T fn(U *n) ) and therefore
    calling sizeof on the function argument will result in the size of the pointer,
    not the size of the array.

    The VFAT code contains such a bug, this patch fixes it.

    Reported-by: Aaron Williams
    Signed-off-by: Marek Vasut
    Cc: Tom Rini
    Cc: Aaron Williams
    Tested-by: Michal Simek
    Reviewed-by: Joe Hershberger

    Marek Vasut
     
  • No one expects to end up in a delayed environment if
    CONFIG_DELAY_ENVIRONMENT isn't defined.

    Signed-off-by: Lucas Stach
    Acked-by: Simon Glass
    Acked-by: Allen Martin

    Lucas Stach
     

16 Jan, 2013

1 commit


15 Jan, 2013

8 commits


14 Jan, 2013

4 commits

  • Albert ARIBAUD
     
  • Previously, the call to draw_logo() was happening irrespective
    of whether we have selected logo or LCD console.
    With this patch we call draw_logo() only when CONFIG_CMD_BMP is selected.

    This would even fix the following compilation warning:
    exynos_fb.c: In function 'draw_logo':
    exynos_fb.c:74:8: warning: variable 'addr' set but not used
    [-Wunused-but-set-variable]
    exynos_fb.c:73:9: warning: variable 'y' set but not used
    [-Wunused-but-set-variable]
    exynos_fb.c:73:6: warning: variable 'x' set but not used
    [-Wunused-but-set-variable]

    Signed-off-by: Ajay Kumar
    Signed-off-by: Minkyu Kang

    Ajay Kumar
     
  • Remove unused variable disp_info to fix the following compilation warning:
    exynos_dp.c: In function 'exynos_init_dp':
    exynos_dp.c:860:23: warning: variable 'disp_info' set but not used
    [-Wunused-but-set-variable]

    Signed-off-by: Ajay Kumar
    Signed-off-by: Minkyu Kang

    Ajay Kumar
     
  • This patch resolves the following build errors for I2C driver in
    VCMA9:

    In file included from s3c24x0_i2c.c:40:0:
    s3c24x0_i2c.h:38:17: error: field 'id' has incomplete type
    s3c24x0_i2c.c:70:39: error: 'CONFIG_MAX_I2C_NUM' undeclared here (not
    in a function) s3c24x0_i2c.c:70:31: warning: 'i2c_bus' defined but
    not used [-Wunused-variable] s3c24x0_i2c.c:72:12: warning:
    'i2c_busses' defined but not used [-Wunused-variable]

    Signed-off-by: Rajeshwari Shinde
    Signed-off-by: Minkyu Kang

    Rajeshwari Shinde
     

13 Jan, 2013

9 commits


12 Jan, 2013

4 commits


11 Jan, 2013

12 commits