From: kernel test robot <lkp@intel.com>
To: Konstantin Pugin <rilian.la.te@ya.ru>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
"Konstantin Pugin" <ria.freelander@gmail.com>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Jiri Slaby" <jirislaby@kernel.org>,
"Max Filippov" <jcmvbkbc@gmail.com>,
"Jonathan Corbet" <corbet@lwn.net>,
"Jacky Huang" <ychuang3@nuvoton.com>,
"Anup Patel" <apatel@ventanamicro.com>,
"Herve Codina" <herve.codina@bootlin.com>,
"Manikanta Guntupalli" <manikanta.guntupalli@amd.com>,
"Conor Dooley" <conor.dooley@microchip.com>,
"Hugo Villeneuve" <hvilleneuve@dimonoff.com>,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
"Lech Perczak" <lech.perczak@camlingroup.com>,
"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>,
"Thomas Gleixner" <tglx@linutronix.de>,
linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org
Subject: Re: [PATCH v4 3/3] serial: sc16is7xx: add support for EXAR XR20M1172 UART
Date: Sat, 20 Apr 2024 15:28:11 +0800 [thread overview]
Message-ID: <202404201559.2eM6MALu-lkp@intel.com> (raw)
In-Reply-To: <20240419124506.1531035-4-rilian.la.te@ya.ru>
Hi Konstantin,
kernel test robot noticed the following build errors:
[auto build test ERROR on c6795fbffc4547b40933ec368200bd4926a41b44]
url: https://github.com/intel-lab-lkp/linux/commits/Konstantin-Pugin/serial-sc16is7xx-announce-support-of-SER_RS485_RTS_ON_SEND/20240420-004819
base: c6795fbffc4547b40933ec368200bd4926a41b44
patch link: https://lore.kernel.org/r/20240419124506.1531035-4-rilian.la.te%40ya.ru
patch subject: [PATCH v4 3/3] serial: sc16is7xx: add support for EXAR XR20M1172 UART
config: hexagon-randconfig-001-20240420 (https://download.01.org/0day-ci/archive/20240420/202404201559.2eM6MALu-lkp@intel.com/config)
compiler: clang version 19.0.0git (https://github.com/llvm/llvm-project 7089c359a3845323f6f30c44a47dd901f2edfe63)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240420/202404201559.2eM6MALu-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404201559.2eM6MALu-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/tty/serial/sc16is7xx_spi.c:7:
In file included from include/linux/regmap.h:20:
In file included from include/linux/iopoll.h:14:
In file included from include/linux/io.h:13:
In file included from arch/hexagon/include/asm/io.h:328:
include/asm-generic/io.h:547:31: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
547 | val = __raw_readb(PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:560:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
560 | val = __le16_to_cpu((__le16 __force)__raw_readw(PCI_IOBASE + addr));
| ~~~~~~~~~~ ^
include/uapi/linux/byteorder/little_endian.h:37:51: note: expanded from macro '__le16_to_cpu'
37 | #define __le16_to_cpu(x) ((__force __u16)(__le16)(x))
| ^
In file included from drivers/tty/serial/sc16is7xx_spi.c:7:
In file included from include/linux/regmap.h:20:
In file included from include/linux/iopoll.h:14:
In file included from include/linux/io.h:13:
In file included from arch/hexagon/include/asm/io.h:328:
include/asm-generic/io.h:573:61: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
573 | val = __le32_to_cpu((__le32 __force)__raw_readl(PCI_IOBASE + addr));
| ~~~~~~~~~~ ^
include/uapi/linux/byteorder/little_endian.h:35:51: note: expanded from macro '__le32_to_cpu'
35 | #define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
| ^
In file included from drivers/tty/serial/sc16is7xx_spi.c:7:
In file included from include/linux/regmap.h:20:
In file included from include/linux/iopoll.h:14:
In file included from include/linux/io.h:13:
In file included from arch/hexagon/include/asm/io.h:328:
include/asm-generic/io.h:584:33: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
584 | __raw_writeb(value, PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:594:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
594 | __raw_writew((u16 __force)cpu_to_le16(value), PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
include/asm-generic/io.h:604:59: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
604 | __raw_writel((u32 __force)cpu_to_le32(value), PCI_IOBASE + addr);
| ~~~~~~~~~~ ^
In file included from drivers/tty/serial/sc16is7xx_spi.c:8:
In file included from include/linux/spi/spi.h:17:
In file included from include/linux/scatterlist.h:8:
In file included from include/linux/mm.h:2208:
include/linux/vmstat.h:522:36: warning: arithmetic between different enumeration types ('enum node_stat_item' and 'enum lru_list') [-Wenum-enum-conversion]
522 | return node_stat_name(NR_LRU_BASE + lru) + 3; // skip "nr_"
| ~~~~~~~~~~~ ^ ~~~
>> drivers/tty/serial/sc16is7xx_spi.c:72:34: error: use of undeclared identifier 'xr20m1172_devtype'
72 | { "xr20m1172", (kernel_ulong_t)&xr20m1172_devtype, },
| ^
7 warnings and 1 error generated.
vim +/xr20m1172_devtype +72 drivers/tty/serial/sc16is7xx_spi.c
63
64 static const struct spi_device_id sc16is7xx_spi_id_table[] = {
65 { "sc16is74x", (kernel_ulong_t)&sc16is74x_devtype, },
66 { "sc16is740", (kernel_ulong_t)&sc16is74x_devtype, },
67 { "sc16is741", (kernel_ulong_t)&sc16is74x_devtype, },
68 { "sc16is750", (kernel_ulong_t)&sc16is750_devtype, },
69 { "sc16is752", (kernel_ulong_t)&sc16is752_devtype, },
70 { "sc16is760", (kernel_ulong_t)&sc16is760_devtype, },
71 { "sc16is762", (kernel_ulong_t)&sc16is762_devtype, },
> 72 { "xr20m1172", (kernel_ulong_t)&xr20m1172_devtype, },
73 { }
74 };
75 MODULE_DEVICE_TABLE(spi, sc16is7xx_spi_id_table);
76
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-04-20 7:28 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-19 12:45 [PATCH v4 0/3] add support for EXAR XR20M1172 UART Konstantin Pugin
2024-04-19 12:45 ` [PATCH v4 1/3] serial: sc16is7xx: announce support of SER_RS485_RTS_ON_SEND Konstantin Pugin
2024-04-19 13:29 ` Hugo Villeneuve
2024-04-19 13:46 ` Konstantin P.
2024-04-19 12:45 ` [PATCH v4 2/3] dt-bindings: sc16is7xx: Add compatible line for XR20M1172 UART Konstantin Pugin
2024-04-19 13:32 ` Krzysztof Kozlowski
2024-04-19 13:49 ` Konstantin P.
2024-04-19 14:01 ` Krzysztof Kozlowski
2024-04-19 14:07 ` Conor Dooley
2024-04-19 14:17 ` Konstantin P.
2024-04-19 14:24 ` Krzysztof Kozlowski
2024-04-19 14:34 ` Konstantin P.
2024-04-19 14:52 ` Andy Shevchenko
2024-04-19 14:56 ` Conor Dooley
2024-04-19 14:49 ` Andy Shevchenko
2024-04-19 12:45 ` [PATCH v4 3/3] serial: sc16is7xx: add support for EXAR " Konstantin Pugin
2024-04-20 6:04 ` kernel test robot
2024-04-20 7:28 ` kernel test robot [this message]
2024-04-19 13:42 ` [PATCH v4 0/3] " Hugo Villeneuve
2024-04-19 13:47 ` Konstantin P.
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=202404201559.2eM6MALu-lkp@intel.com \
--to=lkp@intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=apatel@ventanamicro.com \
--cc=conor.dooley@microchip.com \
--cc=corbet@lwn.net \
--cc=gregkh@linuxfoundation.org \
--cc=herve.codina@bootlin.com \
--cc=hvilleneuve@dimonoff.com \
--cc=ilpo.jarvinen@linux.intel.com \
--cc=jcmvbkbc@gmail.com \
--cc=jirislaby@kernel.org \
--cc=lech.perczak@camlingroup.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=manikanta.guntupalli@amd.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ria.freelander@gmail.com \
--cc=rilian.la.te@ya.ru \
--cc=tglx@linutronix.de \
--cc=ychuang3@nuvoton.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).