1. 02 Apr, 2016 1 commit
  2. 23 Mar, 2016 3 commits
    • Arnd Bergmann's avatar
      rtlwifi: fix gcc-6 indentation warning · 2acd8464
      Arnd Bergmann authored
      The rtl8821ae_dm_txpower_tracking_callback_thermalmeter function
      contains a call to RT_TRACE() that is indented in a misleading
      way, as pointed out by a gcc-6 warning:
      
      drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c: In function 'rtl8821ae_dm_txpower_tracking_callback_thermalmeter':
      drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:2491:4: error: statement is indented as if it were guarded by...
          RT_TRACE(rtlpriv, COMP_POWER_TRACKING, DBG_LOUD,
          ^~~~~~~~
      drivers/net/wireless/realtek/rtlwifi/rtl8821ae/dm.c:2488:3: note: ...this 'for' clause, but it is not
         for (p = RF90_PATH_A; p < MAX_PATH_NUM_8821A; p++)
         ^~~
      
      It is clear from the context that the call was not meant to be
      part of the loop and only the indentation is wrong, so this
      removes the extra tabs.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      2acd8464
    • Arnd Bergmann's avatar
      bcma: fix building without OF_IRQ · c58d900c
      Arnd Bergmann authored
      The bcma driver core can be built with or without DT support, but
      it fails to build when CONFIG_OF=y and CONFIG_OF_IRQ=n, which
      can happen on platforms that do not support IRQ domains.
      
      ERROR: "irq_create_of_mapping" [drivers/bcma/bcma.ko] undefined!
      ERROR: "of_irq_parse_raw" [drivers/bcma/bcma.ko] undefined!
      ERROR: "of_irq_parse_one" [drivers/bcma/bcma.ko] undefined!
      
      This adds another compile-time check for OF_IRQ, but also
      gets rid of now unneeded #ifdef checks: Using the simpler
      IS_ENABLED() check for OF_IRQ also covers the case of not
      having CONFIG_OF enabled. The check for CONFIG_OF_ADDRESS
      was added to allow building on architectures without
      OF_ADDRESS, but that has been addressed already in
      b1d06b60 ("of: Provide static inline function for
      of_translate_address if needed").
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      c58d900c
    • Jia-Ju Bai's avatar
      b43: Fix memory leaks in b43_bus_dev_ssb_init and b43_bus_dev_bcma_init · 372f7d6a
      Jia-Ju Bai authored
      The memory allocated by kzalloc in b43_bus_dev_ssb_init and
      b43_bus_dev_bcma_init is not freed.
      This patch fixes the bug by adding kfree in b43_ssb_remove,
      b43_bcma_remove and error handling code of b43_bcma_probe.
      
      Thanks Michael for his suggestion.
      Signed-off-by: default avatarJia-Ju Bai <baijiaju1990@163.com>
      Acked-by: default avatarMichael Büsch <m@bues.ch>
      Signed-off-by: default avatarSudip Mukherjee <sudip.mukherjee@codethink.co.uk>
      Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
      372f7d6a
  3. 22 Mar, 2016 27 commits
  4. 21 Mar, 2016 8 commits
  5. 20 Mar, 2016 1 commit