ATH10K Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Erik Stromdahl <erik.stromdahl@gmail.com>
Cc: Kalle Valo <kvalo@adurom.com>,
	kbuild-all@01.org, ath10k@lists.infradead.org
Subject: [ath6kl:pending 42/54] drivers/net/wireless/ath/ath10k/sdio.h:44:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int'
Date: Mon, 23 Jan 2017 21:28:26 +0800	[thread overview]
Message-ID: <201701232124.73ibrOSF%fengguang.wu@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git pending
head:   430d36c841c58d7550c3f11684a80237efd4a02d
commit: a74c3fcc4ff299b7f7c0273ed2f5d891ea7b6ab3 [42/54] ath10k: sdio support
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout a74c3fcc4ff299b7f7c0273ed2f5d891ea7b6ab3
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All warnings (new ones prefixed by >>):

   In file included from drivers/net/wireless/ath/ath10k/sdio.c:35:0:
   drivers/net/wireless/ath/ath10k/sdio.c: In function 'ath10k_sdio_mbox_rx_alloc':
>> drivers/net/wireless/ath/ath10k/sdio.h:44:47: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int' [-Wformat=]
     (ATH10K_SDIO_MAX_BUFFER_SIZE - sizeof(struct ath10k_htc_hdr))
                                                  ^
>> drivers/net/wireless/ath/ath10k/sdio.c:452:9: note: in expansion of macro 'ATH10K_HTC_MBOX_MAX_PAYLOAD_LENGTH'
            ATH10K_HTC_MBOX_MAX_PAYLOAD_LENGTH);
            ^

vim +44 drivers/net/wireless/ath/ath10k/sdio.h

    28	#define ATH10K_SDIO_MAX_BUFFER_SIZE             4096 /*Unsure of this constant*/
    29	
    30	/* Mailbox address in SDIO address space */
    31	#define ATH10K_HIF_MBOX_BASE_ADDR               0x1000
    32	#define ATH10K_HIF_MBOX_WIDTH                   0x800
    33	
    34	#define ATH10K_HIF_MBOX_TOT_WIDTH \
    35		(ATH10K_HIF_MBOX_NUM_MAX * ATH10K_HIF_MBOX_WIDTH)
    36	
    37	#define ATH10K_HIF_MBOX0_EXT_BASE_ADDR          0x5000
    38	#define ATH10K_HIF_MBOX0_EXT_WIDTH              (36 * 1024)
    39	#define ATH10K_HIF_MBOX0_EXT_WIDTH_ROME_2_0     (56 * 1024)
    40	#define ATH10K_HIF_MBOX1_EXT_WIDTH              (36 * 1024)
    41	#define ATH10K_HIF_MBOX_DUMMY_SPACE_SIZE        (2 * 1024)
    42	
    43	#define ATH10K_HTC_MBOX_MAX_PAYLOAD_LENGTH \
  > 44		(ATH10K_SDIO_MAX_BUFFER_SIZE - sizeof(struct ath10k_htc_hdr))
    45	
    46	#define ATH10K_HIF_MBOX_NUM_MAX                 4
    47	#define ATH10K_SDIO_BUS_REQUEST_MAX_NUM         64
    48	
    49	#define ATH10K_SDIO_HIF_COMMUNICATION_TIMEOUT_HZ (100 * HZ)
    50	
    51	/* HTC runs over mailbox 0 */
    52	#define ATH10K_HTC_MAILBOX                      0

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

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

[-- Attachment #3: Type: text/plain, Size: 146 bytes --]

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

                 reply	other threads:[~2017-01-23 13:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=201701232124.73ibrOSF%fengguang.wu@intel.com \
    --to=fengguang.wu@intel.com \
    --cc=ath10k@lists.infradead.org \
    --cc=erik.stromdahl@gmail.com \
    --cc=kbuild-all@01.org \
    --cc=kvalo@adurom.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