Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1279275

Re: [PATCH v2] ath6kl: Use vmalloc for loading firmware using api1 method and use kvfree

Path csiph.com!news.mixmin.net!feeds.phibee-telecom.net!news.panservice.it!bofh.it!news.nic.it!robomod
From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2] ath6kl: Use vmalloc for loading firmware using api1 method and use kvfree
Date Sun, 29 Nov 2015 06:30:01 +0100
Message-ID <qA2IF-262-1@gated-at.bofh.it> (permalink)
References <qA2z0-1ZG-9@gated-at.bofh.it>
X-Original-To Brent Taylor <motobud@gmail.com>
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.20,359,1444719600"; d="gz'50?scan'50,208,50";a="4084898"
MIME-Version 1.0
Content-Type multipart/mixed; boundary="/04w6evG8XlLl3ft"
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
X-Sa-Exim-Connect-IP <locally generated>
X-Sa-Exim-Mail-From fengguang.wu@intel.com
X-Sa-Exim-Scanned No (on bee); SAEximRunCond expanded to false
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 503
Organization linux.* mail to news gateway
X-Original-Cc kbuild-all@01.org, kvalo@qca.qualcomm.com, linux-wireless@vger.kernel.org, netdev@vger.kenrel.org, linux-kernel@vger.kernel.org, ath6kl@lists.infradead.org, Brent Taylor <motobud@gmail.com>
X-Original-Date Sun, 29 Nov 2015 13:27:44 +0800
X-Original-Message-ID <201511291301.8Pb6u5lz%fengguang.wu@intel.com>
X-Original-References <1448774038-26984-1-git-send-email-motobud@gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1279275

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Brent,

[auto build test ERROR on: net-next/master]
[also build test ERROR on: v4.4-rc2 next-20151127]

url:    https://github.com/0day-ci/linux/commits/Brent-Taylor/ath6kl-Use-vmalloc-for-loading-firmware-using-api1-method-and-use-kvfree/20151129-132013
config: x86_64-randconfig-x012-201548 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/net/wireless/ath/ath6kl/init.c: In function 'ath6kl_get_fw':
>> drivers/net/wireless/ath/ath6kl/init.c:679:9: error: too few arguments to function 'kmalloc'
      *fw = kmalloc(fw_entry->size);
            ^
   In file included from include/linux/textsearch.h:8:0,
                    from include/linux/skbuff.h:30,
                    from include/linux/if_ether.h:23,
                    from include/linux/etherdevice.h:25,
                    from drivers/net/wireless/ath/ath6kl/core.h:21,
                    from drivers/net/wireless/ath/ath6kl/init.c:28:
   include/linux/slab.h:428:30: note: declared here
    static __always_inline void *kmalloc(size_t size, gfp_t flags)
                                 ^

vim +/kmalloc +679 drivers/net/wireless/ath/ath6kl/init.c

   673			return ret;
   674	
   675		*fw_len = fw_entry->size;
   676		if (&ar->fw == fw)
   677			*fw = vmalloc(fw_entry->size);
   678		else
 > 679			*fw = kmalloc(fw_entry->size);
   680	
   681		if (*fw == NULL)
   682			ret = -ENOMEM;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2] ath6kl: Use vmalloc for loading firmware using api1 method and use kvfree Brent Taylor <motobud@gmail.com> - 2015-11-29 06:20 +0100
  Re: [PATCH v2] ath6kl: Use vmalloc for loading firmware using api1  method and use kvfree kbuild test robot <lkp@intel.com> - 2015-11-29 06:30 +0100
  [PATCH v3] ath6kl: Use vmalloc for loading firmware using api1 method and use kvfree Brent Taylor <motobud@gmail.com> - 2015-11-29 07:00 +0100
    Re: [PATCH v3] ath6kl: Use vmalloc for loading firmware using api1 method and use kvfree Kalle Valo <kvalo@qca.qualcomm.com> - 2015-11-30 09:50 +0100
  Re: [PATCH v2] ath6kl: Use vmalloc for loading firmware using api1 method and use kvfree Kalle Valo <kvalo@qca.qualcomm.com> - 2015-11-30 09:50 +0100
    Re: [PATCH v2] ath6kl: Use vmalloc for loading firmware using api1 method and use kvfree Kalle Valo <kvalo@qca.qualcomm.com> - 2015-11-30 10:10 +0100

csiph-web