From: kbuild test robot <lkp@intel.com>
To: Mans Rullgard <mans@mansr.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: [PATCH 3/3] net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller
Date: Thu, 22 Oct 2015 22:55:49 +0800 [thread overview]
Message-ID: <201510222200.d2ZqhSBU%fengguang.wu@intel.com> (raw)
In-Reply-To: <1445522558-5808-3-git-send-email-mans@mansr.com>
[-- Attachment #1: Type: text/plain, Size: 2499 bytes --]
Hi Mans,
[auto build test WARNING on net/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base]
url: https://github.com/0day-ci/linux/commits/Mans-Rullgard/devicetree-add-vendor-prefix-for-Aurora-VLSI/20151022-220753
config: x86_64-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All warnings (new ones prefixed by >>):
drivers/net/ethernet/aurora/nb8800.c: In function 'nb8800_xmit':
>> drivers/net/ethernet/aurora/nb8800.c:381:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
cpsz = (8 - (u32)skb->data) & 7;
^
In file included from include/linux/dma-mapping.h:5:0,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from include/linux/etherdevice.h:25,
from drivers/net/ethernet/aurora/nb8800.c:24:
drivers/net/ethernet/aurora/nb8800.c: In function 'nb8800_probe':
>> drivers/net/ethernet/aurora/nb8800.c:1006:23: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'resource_size_t {aka long long unsigned int}' [-Wformat=]
dev_info(&pdev->dev, "AU-NB8800 Ethernet at 0x%x\n", res->start);
^
include/linux/device.h:1166:51: note: in definition of macro 'dev_info'
#define dev_info(dev, fmt, arg...) _dev_info(dev, fmt, ##arg)
^
vim +381 drivers/net/ethernet/aurora/nb8800.c
365
366 static int nb8800_xmit(struct sk_buff *skb, struct net_device *dev)
367 {
368 struct nb8800_priv *priv = netdev_priv(dev);
369 struct tx_skb_data *skb_data;
370 struct tx_buf *tx_buf;
371 dma_addr_t dma_addr;
372 unsigned int dma_len;
373 int cpsz, next;
374 int frags;
375
376 if (atomic_read(&priv->tx_free) <= NB8800_DESC_LOW) {
377 netif_stop_queue(dev);
378 return NETDEV_TX_BUSY;
379 }
380
> 381 cpsz = (8 - (u32)skb->data) & 7;
382
383 frags = cpsz ? 2 : 1;
384 atomic_sub(frags, &priv->tx_free);
385
386 dma_len = skb->len - cpsz;
387 dma_addr = dma_map_single(&dev->dev, skb->data + cpsz,
388 dma_len, DMA_TO_DEVICE);
389
---
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: 50071 bytes --]
next prev parent reply other threads:[~2015-10-22 14:57 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-22 14:02 [PATCH 1/3] devicetree: add vendor prefix for Aurora VLSI Mans Rullgard
2015-10-22 14:02 ` [PATCH 2/3] devicetree: add binding for Aurora VLSI NB8800 Ethernet controller Mans Rullgard
2015-10-22 14:34 ` Rob Herring
2015-10-23 12:10 ` Marc Gonzalez
2015-10-23 13:28 ` Rob Herring
2015-10-23 13:41 ` Måns Rullgård
2015-10-23 13:57 ` Marc Gonzalez
2015-10-23 14:06 ` Måns Rullgård
2015-10-26 9:34 ` Marc Gonzalez
2015-10-26 12:05 ` Måns Rullgård
2015-10-26 13:28 ` Marc Gonzalez
2015-10-26 13:54 ` Måns Rullgård
2015-10-26 14:05 ` Marc Gonzalez
2015-10-26 14:11 ` Måns Rullgård
2015-10-22 14:02 ` [PATCH 3/3] net: ethernet: add driver " Mans Rullgard
2015-10-22 14:41 ` David Miller
2015-10-22 17:18 ` Måns Rullgård
2015-10-22 14:55 ` kbuild test robot [this message]
2015-10-22 22:08 ` kbuild test robot
2015-10-23 0:31 ` Florian Fainelli
2015-10-23 15:20 ` Måns Rullgård
2015-10-23 17:36 ` Florian Fainelli
2015-10-24 15:45 ` Måns Rullgård
2015-10-22 14:35 ` [PATCH 1/3] devicetree: add vendor prefix for Aurora VLSI Rob Herring
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=201510222200.d2ZqhSBU%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mans@mansr.com \
--cc=netdev@vger.kernel.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®