From: kbuild test robot <lkp@intel.com>
To: Gerlando Falauto <gerlando.falauto@keymile.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org, timur@tabi.org,
linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,
ogabbay@advaoptical.com, bigeasy@linutronix.de,
Gerlando Falauto <gerlando.falauto@keymile.com>,
Timur Tabi <timur@freescale.com>,
"David S. Miller" <davem@davemloft.net>,
Andy Fleming <afleming@freescale.com>,
Kumar Gala <galak@kernel.crashing.org>
Subject: Re: [PATCH 1/2] net/fsl_pq_mdio: check TBI address for consistency with mapped range
Date: Sat, 10 Oct 2015 01:39:13 +0800 [thread overview]
Message-ID: <201510100149.FPVBX63z%fengguang.wu@intel.com> (raw)
In-Reply-To: <1444403708-16576-1-git-send-email-gerlando.falauto@keymile.com>
[-- Attachment #1: Type: text/plain, Size: 1802 bytes --]
Hi Gerlando,
[auto build test WARNING on net/master -- if it's inappropriate base, please ignore]
config: powerpc-tqm8541_defconfig (attached as .config)
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
# save the attached .config to linux build tree
make.cross ARCH=powerpc
All warnings (new ones prefixed by >>):
drivers/net/ethernet/freescale/fsl_pq_mdio.c: In function 'fsl_pq_mdio_probe':
>> drivers/net/ethernet/freescale/fsl_pq_mdio.c:454:14: warning: comparison of distinct pointer types lacks a cast
if (tbipa > priv->map + resource_size(&res))
^
vim +454 drivers/net/ethernet/freescale/fsl_pq_mdio.c
438 if (!prop) {
439 dev_err(&pdev->dev,
440 "missing 'reg' property in node %s\n",
441 tbi->full_name);
442 err = -EBUSY;
443 goto error;
444 }
445
446 tbipa = data->get_tbipa(priv->map);
447
448 /*
449 * Add consistency check to make sure TBI is contained
450 * within the mapped range (not because we would get a
451 * segfault, rather to catch bugs in computing TBI
452 * address). Print error message but continue anyway.
453 */
> 454 if (tbipa > priv->map + resource_size(&res))
455 dev_err(&pdev->dev, "invalid register map (should be at least 0x%04x to contain TBI address)\n",
456 ((void *)tbipa - priv->map) + 4);
457
458 iowrite32be(be32_to_cpup(prop), tbipa);
459 }
460 }
461
462 if (data->ucc_configure)
---
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: 13495 bytes --]
next prev parent reply other threads:[~2015-10-09 17:40 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-12 12:47 [PATCH] MDIO: FSL_PQ_MDIO: Fix bug on incorrect offset of tbipa register Oded Gabbay
2013-06-12 13:04 ` Timur Tabi
2013-06-12 13:09 ` Oded Gabbay
2013-06-12 15:08 ` Sebastian Andrzej Siewior
2013-06-12 18:31 ` Scott Wood
2013-06-13 6:44 ` Oded Gabbay
2013-06-15 22:57 ` Timur Tabi
2015-10-09 15:15 ` [PATCH 1/2] net/fsl_pq_mdio: check TBI address for consistency with mapped range Gerlando Falauto
2015-10-09 15:15 ` [PATCH 2/2] net/fsl_pq_mdio: fix computed address for the TBI register Gerlando Falauto
2015-10-09 17:39 ` kbuild test robot [this message]
2015-10-11 12:41 ` [PATCH 1/2] net/fsl_pq_mdio: check TBI address for consistency with mapped range Timur Tabi
2015-10-12 7:18 ` [PATCH v2 " Gerlando Falauto
2015-10-12 7:18 ` [PATCH v2 2/2] net/fsl_pq_mdio: fix computed address for the TBI register Gerlando Falauto
2015-10-13 11:30 ` David Miller
2015-10-13 11:30 ` [PATCH v2 1/2] net/fsl_pq_mdio: check TBI address for consistency with mapped range David Miller
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=201510100149.FPVBX63z%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=afleming@freescale.com \
--cc=bigeasy@linutronix.de \
--cc=davem@davemloft.net \
--cc=galak@kernel.crashing.org \
--cc=gerlando.falauto@keymile.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=netdev@vger.kernel.org \
--cc=ogabbay@advaoptical.com \
--cc=timur@freescale.com \
--cc=timur@tabi.org \
/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
all inboxes | Powered by JetHome®