[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201601120324.lYD7L0Bs%fengguang.wu@intel.com>
Date: Tue, 12 Jan 2016 03:29:28 +0800
From: kbuild test robot <lkp@...el.com>
To: Marek Vasut <marex@...x.de>
Cc: kbuild-all@...org, netdev@...r.kernel.org,
Marc Kleine-Budde <mkl@...gutronix.de>,
Oliver Hartkopp <socketcan@...tkopp.net>,
Marek Vasut <marex@...x.de>,
Mark Rutland <mark.rutland@....com>,
Wolfgang Grandegger <wg@...ndegger.com>
Subject: Re: [PATCH 5/5] net: can: ifi: Add IFI CANFD IP support
Hi Marek,
[auto build test WARNING on net/master]
[also build test WARNING on v4.4 next-20160111]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Marek-Vasut/net-can-Sort-the-Kconfig-includes/20160112-025020
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/can/ifi_canfd/ifi_canfd.c: In function 'ifi_canfd_isr':
>> drivers/net/can/ifi_canfd/ifi_canfd.c:486:27: warning: large integer implicitly truncated to unsigned type [-Woverflow]
const u32 clr_irq_mask = ~(IFI_CANFD_INTERRUPT_SET_IRQ |
^
drivers/net/can/ifi_canfd/ifi_canfd.c: In function 'ifi_canfd_start':
drivers/net/can/ifi_canfd/ifi_canfd.c:640:9: warning: large integer implicitly truncated to unsigned type [-Woverflow]
writel(~IFI_CANFD_INTERRUPT_SET_IRQ, priv->base + IFI_CANFD_INTERRUPT);
^
drivers/net/can/ifi_canfd/ifi_canfd.c: In function 'ifi_canfd_stop':
drivers/net/can/ifi_canfd/ifi_canfd.c:675:9: warning: large integer implicitly truncated to unsigned type [-Woverflow]
writel(~IFI_CANFD_INTERRUPT_SET_IRQ, priv->base + IFI_CANFD_INTERRUPT);
^
vim +486 drivers/net/can/ifi_canfd/ifi_canfd.c
470 napi_complete(napi);
471 ifi_canfd_irq_enable(ndev, 1);
472 }
473
474 return work_done;
475 }
476
477 static irqreturn_t ifi_canfd_isr(int irq, void *dev_id)
478 {
479 struct net_device *ndev = (struct net_device *)dev_id;
480 struct ifi_canfd_priv *priv = netdev_priv(ndev);
481 struct net_device_stats *stats = &ndev->stats;
482 const u32 rx_irq_mask = IFI_CANFD_INTERRUPT_RXFIFO_NEMPTY |
483 IFI_CANFD_INTERRUPT_RXFIFO_NEMPTY_PER;
484 const u32 tx_irq_mask = IFI_CANFD_INTERRUPT_TXFIFO_EMPTY |
485 IFI_CANFD_INTERRUPT_TXFIFO_REMOVE;
> 486 const u32 clr_irq_mask = ~(IFI_CANFD_INTERRUPT_SET_IRQ |
487 IFI_CANFD_INTERRUPT_ERROR_WARNING);
488 u32 isr;
489
490 isr = readl(priv->base + IFI_CANFD_INTERRUPT);
491
492 /* No interrupt */
493 if (isr == 0)
494 return IRQ_NONE;
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (51054 bytes)
Powered by blists - more mailing lists