Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1281929
| 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] spi/bcm63xx: fix build warning on printk format specifier |
| Date | Wed, 02 Dec 2015 16:50:02 +0100 |
| Message-ID | <qBhPk-FC-29@gated-at.bofh.it> (permalink) |
| References | <qBgJz-8no-13@gated-at.bofh.it> |
| X-Original-To | Colin King <colin.king@canonical.com> |
| X-Extloop1 | 1 |
| X-Ironport-Av | E=Sophos;i="5.20,373,1444719600"; d="gz'50?scan'50,208,50";a="863112224" |
| MIME-Version | 1.0 |
| Content-Type | multipart/mixed; boundary="a8Wt8u1KmwUX3Y2C" |
| 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 | 542 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | kbuild-all@01.org, Mark Brown <broonie@kernel.org>, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org |
| X-Original-Date | Wed, 2 Dec 2015 23:46:00 +0800 |
| X-Original-Message-ID | <201512022350.VE1Z6qRY%fengguang.wu@intel.com> |
| X-Original-References | <1449066837-15773-1-git-send-email-colin.king@canonical.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1281929 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi Colin,
[auto build test WARNING on v4.4-rc3]
[cannot apply to spi/for-next next-20151127]
url: https://github.com/0day-ci/linux/commits/Colin-King/spi-bcm63xx-fix-build-warning-on-printk-format-specifier/20151202-223613
config: i386-randconfig-h0-12022318 (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
In file included from include/linux/platform_device.h:14:0,
from drivers/spi/spi-bcm63xx.c:22:
drivers/spi/spi-bcm63xx.c: In function 'bcm63xx_spi_probe':
>> drivers/spi/spi-bcm63xx.c:566:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
(void *)r->start, irq, bs->fifo_size);
^
include/linux/device.h:1174:58: note: in definition of macro 'dev_info'
#define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
^
vim +566 drivers/spi/spi-bcm63xx.c
550
551 /* Initialize hardware */
552 ret = clk_prepare_enable(bs->clk);
553 if (ret)
554 goto out_err;
555
556 bcm_spi_writeb(bs, SPI_INTR_CLEAR_ALL, SPI_INT_STATUS);
557
558 /* register and we are done */
559 ret = devm_spi_register_master(dev, master);
560 if (ret) {
561 dev_err(dev, "spi register failed\n");
562 goto out_clk_disable;
563 }
564
565 dev_info(dev, "at %pa (irq %d, FIFOs size %d)\n",
> 566 (void *)r->start, irq, bs->fifo_size);
567
568 return 0;
569
570 out_clk_disable:
571 clk_disable_unprepare(clk);
572 out_err:
573 spi_master_put(master);
574 return ret;
---
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 | Find similar | Unroll thread
[PATCH] spi/bcm63xx: fix build warning on printk format specifier Colin King <colin.king@canonical.com> - 2015-12-02 15:40 +0100 Re: [PATCH] spi/bcm63xx: fix build warning on printk format specifier kbuild test robot <lkp@intel.com> - 2015-12-02 16:50 +0100
csiph-web