From: kernel test robot <lkp@intel.com>
To: zhenghaowei@loongson.cn, gregkh@linuxfoundation.org,
jirislaby@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, chenhuacai@kernel.org, kernel@xen0n.name,
p.zabel@pengutronix.de
Cc: oe-kbuild-all@lists.linux.dev, linux-serial@vger.kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
loongarch@lists.linux.dev
Subject: Re: [PATCH v2 2/3] tty: serial: 8250: Add loongson uart driver support
Date: Mon, 5 Aug 2024 00:42:51 +0800 [thread overview]
Message-ID: <202408050031.dYYkSqDM-lkp@intel.com> (raw)
In-Reply-To: <20240804063834.70022-2-zhenghaowei@loongson.cn>
Hi,
kernel test robot noticed the following build errors:
[auto build test ERROR on tty/tty-testing]
[also build test ERROR on tty/tty-next tty/tty-linus robh/for-next usb/usb-testing usb/usb-next usb/usb-linus linus/master v6.11-rc1 next-20240802]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/zhenghaowei-loongson-cn/tty-serial-8250-Add-loongson-uart-driver-support/20240804-145047
base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing
patch link: https://lore.kernel.org/r/20240804063834.70022-2-zhenghaowei%40loongson.cn
patch subject: [PATCH v2 2/3] tty: serial: 8250: Add loongson uart driver support
config: mips-lemote2f_defconfig (https://download.01.org/0day-ci/archive/20240805/202408050031.dYYkSqDM-lkp@intel.com/config)
compiler: mips64el-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240805/202408050031.dYYkSqDM-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/202408050031.dYYkSqDM-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
>> drivers/tty/serial/8250/8250_loongson.c:200:35: error: implicit declaration of function 'of_match_ptr' [-Werror=implicit-function-declaration]
200 | .of_match_table = of_match_ptr(of_platform_serial_table),
| ^~~~~~~~~~~~
>> drivers/tty/serial/8250/8250_loongson.c:200:35: warning: initialization of 'const struct of_device_id *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
drivers/tty/serial/8250/8250_loongson.c:200:35: note: (near initialization for 'loongson_uart_driver.driver.of_match_table')
>> drivers/tty/serial/8250/8250_loongson.c:200:35: error: initializer element is not constant
drivers/tty/serial/8250/8250_loongson.c:200:35: note: (near initialization for 'loongson_uart_driver.driver.of_match_table')
cc1: some warnings being treated as errors
vim +/of_match_ptr +200 drivers/tty/serial/8250/8250_loongson.c
193
194 static struct platform_driver loongson_uart_driver = {
195 .probe = loongson_uart_probe,
196 .remove = loongson_uart_remove,
197 .driver = {
198 .name = "ls7a-uart",
199 .pm = &loongson_uart_pm_ops,
> 200 .of_match_table = of_match_ptr(of_platform_serial_table),
201 },
202 };
203
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-08-04 16:43 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-04 6:38 [PATCH v2 1/3] dt-bindings: serial: Add Loongson UART controller zhenghaowei
2024-08-04 6:38 ` [PATCH v2 2/3] tty: serial: 8250: Add loongson uart driver support zhenghaowei
2024-08-04 7:13 ` Christophe JAILLET
2024-08-04 15:11 ` kernel test robot
2024-08-04 15:33 ` Krzysztof Kozlowski
2024-08-07 8:24 ` 郑豪威
2024-08-09 5:57 ` Krzysztof Kozlowski
2024-08-04 16:42 ` kernel test robot [this message]
2024-08-04 6:38 ` [PATCH v2 3/3] LoongArch: dts: Update UART driver to Loongson-2K0500, Loongson-2K1000 and Loongson-2K2000 zhenghaowei
2024-08-04 8:40 ` Krzysztof Kozlowski
2024-08-07 8:23 ` 郑豪威
2024-08-04 7:23 ` [PATCH v2 1/3] dt-bindings: serial: Add Loongson UART controller Rob Herring (Arm)
2024-08-04 8:41 ` Krzysztof Kozlowski
2024-08-07 8:23 ` 郑豪威
2024-08-04 8:43 ` Krzysztof Kozlowski
2024-08-07 8:23 ` 郑豪威
2024-08-07 8:39 ` Xi Ruoyao
2024-08-07 9:01 ` 郑豪威
2024-08-09 5:53 ` Krzysztof Kozlowski
2024-08-09 9:55 ` 郑豪威
2024-08-09 10:05 ` Krzysztof Kozlowski
2024-08-12 8:09 ` 郑豪威
2024-08-12 8:25 ` Krzysztof Kozlowski
2024-08-25 3:34 ` 郑豪威
2024-08-25 6:55 ` Krzysztof Kozlowski
2024-08-25 8:24 ` 郑豪威
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=202408050031.dYYkSqDM-lkp@intel.com \
--to=lkp@intel.com \
--cc=chenhuacai@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=kernel@xen0n.name \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=zhenghaowei@loongson.cn \
/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 NNTP newsgroup(s).