From: Kalle Valo Date: Tue, 30 Apr 2013 17:28:17 +0300 Subject: [ath9k-devel] [PATCH 01/27] ath10k: fix new warning in ath10k_push_board_ext_data() In-Reply-To: <20130430142240.24217.41973.stgit@localhost6.localdomain6> References: <20130430142240.24217.41973.stgit@localhost6.localdomain6> Message-ID: <20130430142817.24217.62899.stgit@localhost6.localdomain6> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org drivers/net/wireless/ath/ath10k/core.c: In function 'ath10k_push_board_ext_data': drivers/net/wireless/ath/ath10k/core.c:225:7: warning: format '%lu' expects argument of type 'long unsigned int', but argument 2 has type 'size_t' [-Wformat] Signed-off-by: Kalle Valo --- drivers/net/wireless/ath/ath10k/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index a5b9eb6..88890a4 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -221,7 +221,7 @@ static int ath10k_push_board_ext_data(struct ath10k *ar, return 0; if (fw->size != (board_data_size + board_ext_data_size)) { - ath10k_err("invalid board (ext) data sizes %lu != %d+%d\n", + ath10k_err("invalid board (ext) data sizes %zu != %d+%d\n", fw->size, board_data_size, board_ext_data_size); return -EINVAL; }