* [asoc:topic/rockchip 4/4] sound/soc/rockchip/rockchip_spdif.c:283:6: warning: cast from pointer to integer of different size
@ 2015-10-09 12:01 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2015-10-09 12:01 UTC (permalink / raw
To: Sjoerd Simons; +Cc: alsa-devel, Mark Brown, kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1792 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/rockchip
head: f874b80e1571118fcf4554878633556f06f998e6
commit: f874b80e1571118fcf4554878633556f06f998e6 [4/4] ASoC: rockchip: Add rockchip SPDIF transceiver driver
config: x86_64-allmodconfig (attached as .config)
reproduce:
git checkout f874b80e1571118fcf4554878633556f06f998e6
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
sound/soc/rockchip/rockchip_spdif.c: In function 'rk_spdif_probe':
>> sound/soc/rockchip/rockchip_spdif.c:283:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
if ((int) match->data == RK_SPDIF_RK3288) {
^
vim +283 sound/soc/rockchip/rockchip_spdif.c
267 .writeable_reg = rk_spdif_wr_reg,
268 .readable_reg = rk_spdif_rd_reg,
269 .volatile_reg = rk_spdif_volatile_reg,
270 .cache_type = REGCACHE_FLAT,
271 };
272
273 static int rk_spdif_probe(struct platform_device *pdev)
274 {
275 struct device_node *np = pdev->dev.of_node;
276 struct rk_spdif_dev *spdif;
277 const struct of_device_id *match;
278 struct resource *res;
279 void __iomem *regs;
280 int ret;
281
282 match = of_match_node(rk_spdif_match, np);
> 283 if ((int) match->data == RK_SPDIF_RK3288) {
284 struct regmap *grf;
285
286 grf = syscon_regmap_lookup_by_phandle(np, "rockchip,grf");
287 if (IS_ERR(grf)) {
288 dev_err(&pdev->dev,
289 "rockchip_spdif missing 'rockchip,grf' \n");
290 return PTR_ERR(grf);
291 }
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 49945 bytes --]
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-10-09 12:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-09 12:01 [asoc:topic/rockchip 4/4] sound/soc/rockchip/rockchip_spdif.c:283:6: warning: cast from pointer to integer of different size kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.