From: kernel test robot <lkp@intel.com>
To: Rob Herring <robh@kernel.org>,
Russell King <linux@armlinux.org.uk>,
Helge Deller <deller@gmx.de>
Cc: oe-kbuild-all@lists.linux.dev, devicetree@vger.kernel.org,
linux-fbdev@vger.kernel.org, linux-omap@vger.kernel.org,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] fbdev: Use of_property_present() for testing DT property presence
Date: Sat, 11 Mar 2023 21:42:48 +0800 [thread overview]
Message-ID: <202303112153.uPbFjEUI-lkp@intel.com> (raw)
In-Reply-To: <20230310144729.1545943-1-robh@kernel.org>
Hi Rob,
I love your patch! Yet something to improve:
[auto build test ERROR on drm-misc/drm-misc-next]
[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/Rob-Herring/fbdev-Use-of_property_present-for-testing-DT-property-presence/20230310-225754
base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link: https://lore.kernel.org/r/20230310144729.1545943-1-robh%40kernel.org
patch subject: [PATCH] fbdev: Use of_property_present() for testing DT property presence
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20230311/202303112153.uPbFjEUI-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/c013f4111f36b0b4327e7fbf46c0dd93399e9209
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Rob-Herring/fbdev-Use-of_property_present-for-testing-DT-property-presence/20230310-225754
git checkout c013f4111f36b0b4327e7fbf46c0dd93399e9209
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303112153.uPbFjEUI-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/video/fbdev/amba-clcd.c: In function 'clcdfb_of_get_board':
>> drivers/video/fbdev/amba-clcd.c:857:13: error: implicit declaration of function 'of_property_present'; did you mean 'fwnode_property_present'? [-Werror=implicit-function-declaration]
857 | if (of_property_present(node, "memory-region")) {
| ^~~~~~~~~~~~~~~~~~~
| fwnode_property_present
cc1: some warnings being treated as errors
vim +857 drivers/video/fbdev/amba-clcd.c
843
844 static struct clcd_board *clcdfb_of_get_board(struct amba_device *dev)
845 {
846 struct clcd_board *board = devm_kzalloc(&dev->dev, sizeof(*board),
847 GFP_KERNEL);
848 struct device_node *node = dev->dev.of_node;
849
850 if (!board)
851 return NULL;
852
853 board->name = of_node_full_name(node);
854 board->caps = CLCD_CAP_ALL;
855 board->check = clcdfb_check;
856 board->decode = clcdfb_decode;
> 857 if (of_property_present(node, "memory-region")) {
858 board->setup = clcdfb_of_vram_setup;
859 board->mmap = clcdfb_of_vram_mmap;
860 board->remove = clcdfb_of_vram_remove;
861 } else {
862 board->setup = clcdfb_of_dma_setup;
863 board->mmap = clcdfb_of_dma_mmap;
864 board->remove = clcdfb_of_dma_remove;
865 }
866
867 return board;
868 }
869 #else
870 static struct clcd_board *clcdfb_of_get_board(struct amba_device *dev)
871 {
872 return NULL;
873 }
874 #endif
875
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Rob Herring <robh@kernel.org>,
Russell King <linux@armlinux.org.uk>,
Helge Deller <deller@gmx.de>
Cc: devicetree@vger.kernel.org, linux-fbdev@vger.kernel.org,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
oe-kbuild-all@lists.linux.dev, linux-omap@vger.kernel.org
Subject: Re: [PATCH] fbdev: Use of_property_present() for testing DT property presence
Date: Sat, 11 Mar 2023 21:42:48 +0800 [thread overview]
Message-ID: <202303112153.uPbFjEUI-lkp@intel.com> (raw)
In-Reply-To: <20230310144729.1545943-1-robh@kernel.org>
Hi Rob,
I love your patch! Yet something to improve:
[auto build test ERROR on drm-misc/drm-misc-next]
[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/Rob-Herring/fbdev-Use-of_property_present-for-testing-DT-property-presence/20230310-225754
base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
patch link: https://lore.kernel.org/r/20230310144729.1545943-1-robh%40kernel.org
patch subject: [PATCH] fbdev: Use of_property_present() for testing DT property presence
config: arm-allyesconfig (https://download.01.org/0day-ci/archive/20230311/202303112153.uPbFjEUI-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/c013f4111f36b0b4327e7fbf46c0dd93399e9209
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Rob-Herring/fbdev-Use-of_property_present-for-testing-DT-property-presence/20230310-225754
git checkout c013f4111f36b0b4327e7fbf46c0dd93399e9209
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202303112153.uPbFjEUI-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/video/fbdev/amba-clcd.c: In function 'clcdfb_of_get_board':
>> drivers/video/fbdev/amba-clcd.c:857:13: error: implicit declaration of function 'of_property_present'; did you mean 'fwnode_property_present'? [-Werror=implicit-function-declaration]
857 | if (of_property_present(node, "memory-region")) {
| ^~~~~~~~~~~~~~~~~~~
| fwnode_property_present
cc1: some warnings being treated as errors
vim +857 drivers/video/fbdev/amba-clcd.c
843
844 static struct clcd_board *clcdfb_of_get_board(struct amba_device *dev)
845 {
846 struct clcd_board *board = devm_kzalloc(&dev->dev, sizeof(*board),
847 GFP_KERNEL);
848 struct device_node *node = dev->dev.of_node;
849
850 if (!board)
851 return NULL;
852
853 board->name = of_node_full_name(node);
854 board->caps = CLCD_CAP_ALL;
855 board->check = clcdfb_check;
856 board->decode = clcdfb_decode;
> 857 if (of_property_present(node, "memory-region")) {
858 board->setup = clcdfb_of_vram_setup;
859 board->mmap = clcdfb_of_vram_mmap;
860 board->remove = clcdfb_of_vram_remove;
861 } else {
862 board->setup = clcdfb_of_dma_setup;
863 board->mmap = clcdfb_of_dma_mmap;
864 board->remove = clcdfb_of_dma_remove;
865 }
866
867 return board;
868 }
869 #else
870 static struct clcd_board *clcdfb_of_get_board(struct amba_device *dev)
871 {
872 return NULL;
873 }
874 #endif
875
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
next prev parent reply other threads:[~2023-03-11 13:42 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-10 14:47 [PATCH] fbdev: Use of_property_present() for testing DT property presence Rob Herring
2023-03-10 14:47 ` Rob Herring
2023-03-11 4:40 ` kernel test robot
2023-03-11 4:40 ` kernel test robot
2023-03-11 15:15 ` Rob Herring
2023-03-11 15:15 ` Rob Herring
2023-03-16 13:49 ` Helge Deller
2023-03-11 13:42 ` kernel test robot [this message]
2023-03-11 13:42 ` kernel test robot
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=202303112153.uPbFjEUI-lkp@intel.com \
--to=lkp@intel.com \
--cc=deller@gmx.de \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=robh@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.