linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Christian Lamparter <chunkeey@gmail.com>,
	linux-wireless@vger.kernel.org, ath10k@lists.infradead.org
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	"Kalle Valo" <kvalo@codeaurora.org>,
	"Robert Marko" <robimarko@gmail.com>,
	"Thibaut Varène" <hacks@slashdirt.org>
Subject: Re: [PATCH v1] ath10k: fetch (pre-)calibration data via nvmem subsystem
Date: Sat, 16 Oct 2021 12:47:07 +0800	[thread overview]
Message-ID: <202110161240.7jG7tyKC-lkp@intel.com> (raw)
In-Reply-To: <20211015201027.1209402-1-chunkeey@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3076 bytes --]

Hi Christian,

I love your patch! Perhaps something to improve:

[auto build test WARNING on kvalo-ath/ath-next]
[also build test WARNING on kvalo-wireless-drivers-next/master kvalo-wireless-drivers/master v5.15-rc5 next-20211015]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]

url:    https://github.com/0day-ci/linux/commits/Christian-Lamparter/ath10k-fetch-pre-calibration-data-via-nvmem-subsystem/20211016-041140
base:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git ath-next
config: i386-randconfig-c001-20211015 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 6069a6a5049497a32a50a49661c2f4169078bdba)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/9a08dd8f5ae4d035f503db3a64ed4c6869b038e3
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Christian-Lamparter/ath10k-fetch-pre-calibration-data-via-nvmem-subsystem/20211016-041140
        git checkout 9a08dd8f5ae4d035f503db3a64ed4c6869b038e3
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/net/wireless/ath/ath10k/core.c:1879:19: warning: format specifies type 'long' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat]
                               cell_name, len, ar->hw_params.cal_data_len);
                                          ^~~
   1 warning generated.


vim +1879 drivers/net/wireless/ath/ath10k/core.c

  1858	
  1859	static int ath10k_download_cal_nvmem(struct ath10k *ar, const char *cell_name)
  1860	{
  1861		struct nvmem_cell *cell;
  1862		void *buf;
  1863		size_t len;
  1864		int ret;
  1865	
  1866		cell = devm_nvmem_cell_get(ar->dev, cell_name);
  1867		if (IS_ERR(cell)) {
  1868			ret = PTR_ERR(cell);
  1869			return ret;
  1870		}
  1871	
  1872		buf = nvmem_cell_read(cell, &len);
  1873		if (IS_ERR(buf))
  1874			return PTR_ERR(buf);
  1875	
  1876		if (ar->hw_params.cal_data_len != len) {
  1877			kfree(buf);
  1878			ath10k_warn(ar, "invalid calibration data length in nvmem-cell '%s': %ld != %d\n",
> 1879				    cell_name, len, ar->hw_params.cal_data_len);
  1880			return -EMSGSIZE;
  1881		}
  1882	
  1883		ret = ath10k_download_board_data(ar, buf, len);
  1884		kfree(buf);
  1885		if (ret)
  1886			ath10k_warn(ar, "failed to download calibration data from nvmem-cell '%s': %d\n",
  1887				    cell_name, ret);
  1888	
  1889		return ret;
  1890	}
  1891	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 42120 bytes --]

      reply	other threads:[~2021-10-16  4:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-15 20:10 [PATCH v1] ath10k: fetch (pre-)calibration data via nvmem subsystem Christian Lamparter
2021-10-16  4:47 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202110161240.7jG7tyKC-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ath10k@lists.infradead.org \
    --cc=chunkeey@gmail.com \
    --cc=hacks@slashdirt.org \
    --cc=kbuild-all@lists.01.org \
    --cc=kvalo@codeaurora.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=llvm@lists.linux.dev \
    --cc=robimarko@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).