1. 30 Aug, 2013 3 commits
    • Larry Finger's avatar
      staging: r8188eu: Fix compiler warnings in os_dep/ioctl_linux.c · 40fac5a1
      Larry Finger authored
      The 0-DAY kernel build testing backend reports the following compiler
      warnings not shown on my compiler version/options:
      
         drivers/staging/rtl8188eu/os_dep/ioctl_linux.c: In function 'rtw_mp_efuse_get':
      >> drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:5836:65: warning: iteration 16u invokes undefined behavior [-Waggressive-loop-optimizations]
              sprintf(extra, "%s%02X ", extra, pEfuseHal->fakeEfuseInitMap[i+j]);
                                                                          ^
         drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:5830:3: note: containing loop
            for (i = 0; i < EFUSE_MAP_SIZE; i += 16) {
            ^
      >> drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:6042:69: warning: iteration 16u invokes undefined behavior [-Waggressive-loop-optimizations]
              sprintf(extra, "%s %02X", extra, pEfuseHal->fakeEfuseModifiedMap[i+j]);
                                                                              ^
         drivers/staging/rtl8188eu/os_dep/ioctl_linux.c:6036:3: note: containing loop
            for (i = 0; i < EFUSE_MAP_SIZE; i += 16) {
            ^
      
      The problem is due to improper settings for some of the EFUSE_XXX defines such that
      EFUSE_MAP_SIZE was larger than the sizes of the marked arrays. Thanks to
      Fengguang Wu for helping me understand the root cause.
      Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
      Cc: Fengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      40fac5a1
    • Geert Uytterhoeven's avatar
      staging: dgap: Add missing #include <linux/slab.h> · 351699d7
      Geert Uytterhoeven authored
      drivers/staging/dgap/dgap_driver.c: In function ‘dgap_cleanup_module’:
      drivers/staging/dgap/dgap_driver.c:423: error: implicit declaration of function ‘kfree’
      drivers/staging/dgap/dgap_driver.c: In function ‘dgap_driver_kzmalloc’:
      drivers/staging/dgap/dgap_driver.c:940: error: implicit declaration of function ‘kmalloc’
      drivers/staging/dgap/dgap_driver.c:940: warning: initialization makes pointer from integer without a cast
      Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      351699d7
    • Lidza Louina's avatar
      staging: dgnc: adds TODO · c211148f
      Lidza Louina authored
      This patchs adds a TODO for the driver.
      Signed-off-by: default avatarLidza Louina <lidza.louina@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c211148f
  2. 29 Aug, 2013 3 commits
  3. 28 Aug, 2013 34 commits