1. 31 8月, 2013 3 次提交
    • L
      staging: r8188eu: Fix compiler warnings in os_dep/ioctl_linux.c · 40fac5a1
      Larry Finger 提交于
      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: NFengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: NLarry Finger <Larry.Finger@lwfinger.net>
      Cc: Fengguang Wu <fengguang.wu@intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      40fac5a1
    • G
      staging: dgap: Add missing #include <linux/slab.h> · 351699d7
      Geert Uytterhoeven 提交于
      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: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      351699d7
    • L
      staging: dgnc: adds TODO · c211148f
      Lidza Louina 提交于
      This patchs adds a TODO for the driver.
      Signed-off-by: NLidza Louina <lidza.louina@gmail.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c211148f
  2. 30 8月, 2013 3 次提交
  3. 29 8月, 2013 28 次提交
  4. 28 8月, 2013 6 次提交