From: kernel test robot <lkp@intel.com>
To: Zhengqiao Xia <xiazhengqiao@huaqin.corp-partner.google.com>,
sam@ravnborg.org, thierry.reding@gmail.com, airlied@linux.ie,
daniel@ffwll.ch, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org
Cc: kbuild-all@lists.01.org,
Zhengqiao Xia <xiazhengqiao@huaqin.corp-partner.google.com>,
xuxinxiong@huaqin.corp-partner.google.com,
luluboy_jian@asus.corp-partner.google.com
Subject: Re: [PATCH] drm/panel: Add inx Himax8279d MIPI-DSI LCD panel
Date: Tue, 9 Feb 2021 09:59:01 +0800 [thread overview]
Message-ID: <202102090908.e9JzzTDa-lkp@intel.com> (raw)
In-Reply-To: <20210208162453.7319-1-xiazhengqiao@huaqin.corp-partner.google.com>
[-- Attachment #1: Type: text/plain, Size: 6391 bytes --]
Hi Zhengqiao,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on linus/master]
[also build test WARNING on v5.11-rc6 next-20210125]
[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]
url: https://github.com/0day-ci/linux/commits/Zhengqiao-Xia/drm-panel-Add-inx-Himax8279d-MIPI-DSI-LCD-panel/20210209-071837
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 61556703b610a104de324e4f061dc6cf7b218b46
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.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/0day-ci/linux/commit/40cb37f54329ed37a56856e1122f8f5ba9c7a7d8
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Zhengqiao-Xia/drm-panel-Add-inx-Himax8279d-MIPI-DSI-LCD-panel/20210209-071837
git checkout 40cb37f54329ed37a56856e1122f8f5ba9c7a7d8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/gpu/drm/panel/panel-innolux-himax8279d.c:373:3: error: 'const struct drm_display_mode' has no member named 'vrefresh'
373 | .vrefresh = 60,
| ^~~~~~~~
drivers/gpu/drm/panel/panel-innolux-himax8279d.c: In function 'inx_panel_get_modes':
drivers/gpu/drm/panel/panel-innolux-himax8279d.c:396:43: error: 'struct drm_panel' has no member named 'connector'; did you mean 'connector_type'?
396 | struct drm_connector *connector = panel->connector;
| ^~~~~~~~~
| connector_type
In file included from include/linux/device.h:15,
from include/linux/node.h:18,
from include/linux/cpu.h:17,
from include/linux/of_device.h:5,
from drivers/gpu/drm/panel/panel-innolux-himax8279d.c:11:
drivers/gpu/drm/panel/panel-innolux-himax8279d.c:401:31: error: 'const struct drm_display_mode' has no member named 'vrefresh'
401 | m->hdisplay, m->vdisplay, m->vrefresh);
| ^~
include/linux/dev_printk.h:112:32: note: in definition of macro 'dev_err'
112 | _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~
drivers/gpu/drm/panel/panel-innolux-himax8279d.c: At top level:
drivers/gpu/drm/panel/panel-innolux-himax8279d.c:418:3: error: 'const struct drm_panel_funcs' has no member named 'unprepare_power'
418 | .unprepare_power = inx_panel_unprepare_power,
| ^~~~~~~~~~~~~~~
drivers/gpu/drm/panel/panel-innolux-himax8279d.c:418:21: error: initialization of 'int (*)(struct drm_panel *, struct drm_connector *)' from incompatible pointer type 'int (*)(struct drm_panel *)' [-Werror=incompatible-pointer-types]
418 | .unprepare_power = inx_panel_unprepare_power,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/panel/panel-innolux-himax8279d.c:418:21: note: (near initialization for 'inx_panel_funcs.get_modes')
drivers/gpu/drm/panel/panel-innolux-himax8279d.c:420:3: error: 'const struct drm_panel_funcs' has no member named 'prepare_power'
420 | .prepare_power = inx_panel_prepare_power,
| ^~~~~~~~~~~~~
>> drivers/gpu/drm/panel/panel-innolux-himax8279d.c:421:12: warning: initialized field overwritten [-Woverride-init]
421 | .enable = inx_panel_enable,
| ^~~~~~~~~~~~~~~~
drivers/gpu/drm/panel/panel-innolux-himax8279d.c:421:12: note: (near initialization for 'inx_panel_funcs.enable')
drivers/gpu/drm/panel/panel-innolux-himax8279d.c:422:15: error: initialization of 'int (*)(struct drm_panel *, struct drm_connector *)' from incompatible pointer type 'int (*)(struct drm_panel *)' [-Werror=incompatible-pointer-types]
422 | .get_modes = inx_panel_get_modes,
| ^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/panel/panel-innolux-himax8279d.c:422:15: note: (near initialization for 'inx_panel_funcs.get_modes')
drivers/gpu/drm/panel/panel-innolux-himax8279d.c:422:15: warning: initialized field overwritten [-Woverride-init]
drivers/gpu/drm/panel/panel-innolux-himax8279d.c:422:15: note: (near initialization for 'inx_panel_funcs.get_modes')
drivers/gpu/drm/panel/panel-innolux-himax8279d.c: In function 'inx_panel_add':
drivers/gpu/drm/panel/panel-innolux-himax8279d.c:451:2: error: too few arguments to function 'drm_panel_init'
451 | drm_panel_init(&inx->base);
| ^~~~~~~~~~~~~~
In file included from drivers/gpu/drm/panel/panel-innolux-himax8279d.c:16:
include/drm/drm_panel.h:176:6: note: declared here
176 | void drm_panel_init(struct drm_panel *panel, struct device *dev,
| ^~~~~~~~~~~~~~
drivers/gpu/drm/panel/panel-innolux-himax8279d.c:453:19: error: 'struct drm_panel' has no member named 'orientation'
453 | &inx->base.orientation);
| ^
drivers/gpu/drm/panel/panel-innolux-himax8279d.c:464:9: error: void value not ignored as it ought to be
464 | return drm_panel_add(&inx->base);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/panel/panel-innolux-himax8279d.c:465:1: error: control reaches end of non-void function [-Werror=return-type]
465 | }
| ^
cc1: some warnings being treated as errors
vim +421 drivers/gpu/drm/panel/panel-innolux-himax8279d.c
415
416 static const struct drm_panel_funcs inx_panel_funcs = {
417 .unprepare = inx_panel_unprepare,
418 .unprepare_power = inx_panel_unprepare_power,
419 .prepare = inx_panel_prepare,
420 .prepare_power = inx_panel_prepare_power,
> 421 .enable = inx_panel_enable,
422 .get_modes = inx_panel_get_modes,
423 };
424
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 58818 bytes --]
next prev parent reply other threads:[~2021-02-09 2:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-08 16:24 [PATCH] drm/panel: Add inx Himax8279d MIPI-DSI LCD panel Zhengqiao Xia
2021-02-09 1:59 ` kernel test robot [this message]
2021-02-09 3:21 ` kernel test robot
2021-02-14 13:16 ` Zhengqiao Xia
2021-02-22 15:40 ` [PATCH 2/2] drm/panel: Add inx Himax8279d MIPI-DSI LCD panel driver Zhengqiao Xia
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=202102090908.e9JzzTDa-lkp@intel.com \
--to=lkp@intel.com \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luluboy_jian@asus.corp-partner.google.com \
--cc=sam@ravnborg.org \
--cc=thierry.reding@gmail.com \
--cc=xiazhengqiao@huaqin.corp-partner.google.com \
--cc=xuxinxiong@huaqin.corp-partner.google.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 NNTP newsgroup(s).