[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201601121919.kzi8iM1L%fengguang.wu@intel.com>
Date: Tue, 12 Jan 2016 19:06:25 +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: ia64-allmodconfig (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=ia64
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 |
^
In file included from arch/ia64/include/asm/smp.h:20:0,
from include/linux/smp.h:59,
from include/linux/sched.h:34,
from arch/ia64/include/asm/delay.h:16,
from include/linux/delay.h:14,
from drivers/net/can/ifi_canfd/ifi_canfd.c:15:
drivers/net/can/ifi_canfd/ifi_canfd.c: In function 'ifi_canfd_start':
arch/ia64/include/asm/io.h:394:30: warning: large integer implicitly truncated to unsigned type [-Woverflow]
#define writel(v,a) __writel((v), (a))
^
>> drivers/net/can/ifi_canfd/ifi_canfd.c:640:2: note: in expansion of macro 'writel'
writel(~IFI_CANFD_INTERRUPT_SET_IRQ, priv->base + IFI_CANFD_INTERRUPT);
^
drivers/net/can/ifi_canfd/ifi_canfd.c: In function 'ifi_canfd_stop':
arch/ia64/include/asm/io.h:394:30: warning: large integer implicitly truncated to unsigned type [-Woverflow]
#define writel(v,a) __writel((v), (a))
^
drivers/net/can/ifi_canfd/ifi_canfd.c:675:2: note: in expansion of macro 'writel'
writel(~IFI_CANFD_INTERRUPT_SET_IRQ, priv->base + IFI_CANFD_INTERRUPT);
^
vim +/writel +640 drivers/net/can/ifi_canfd/ifi_canfd.c
624 writel(0, priv->base + IFI_CANFD_STCMD);
625
626 ifi_canfd_set_bittiming(ndev);
627 ifi_canfd_set_filters(ndev);
628
629 /* Reset FIFOs */
630 writel(IFI_CANFD_RXSTCMD_RESET, priv->base + IFI_CANFD_RXSTCMD);
631 writel(0, priv->base + IFI_CANFD_RXSTCMD);
632 writel(IFI_CANFD_TXSTCMD_RESET, priv->base + IFI_CANFD_TXSTCMD);
633 writel(0, priv->base + IFI_CANFD_TXSTCMD);
634
635 /* Repeat transmission until successful */
636 writel(0, priv->base + IFI_CANFD_REPEAT);
637 writel(0, priv->base + IFI_CANFD_SUSPEND);
638
639 /* Clear all pending interrupts */
> 640 writel(~IFI_CANFD_INTERRUPT_SET_IRQ, priv->base + IFI_CANFD_INTERRUPT);
641
642 stcmd = IFI_CANFD_STCMD_ENABLE | IFI_CANFD_STCMD_NORMAL_MODE;
643
644 if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY)
645 stcmd |= IFI_CANFD_STCMD_BUSMONITOR;
646
647 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK)
648 stcmd |= IFI_CANFD_STCMD_LOOPBACK;
---
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" (41724 bytes)
Powered by blists - more mailing lists