From: kernel test robot <lkp@intel.com>
To: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
Cc: kbuild-all@lists.01.org, dri-devel@lists.freedesktop.org
Subject: [drm-misc:drm-misc-next 1/4] drivers/gpu/drm/hyperv/hyperv_drm_modeset.c:58:17: error: implicit declaration of function 'drm_add_modes_noedid'
Date: Wed, 22 Jun 2022 22:53:53 +0800 [thread overview]
Message-ID: <202206222209.bTdAT1Bp-lkp@intel.com> (raw)
tree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head: 62a4ddcb79e073465f21c5cf84d80a2f22820c39
commit: 255490f9150da7c6dabe468f3a877b92fd0f02c1 [1/4] drm: Drop drm_edid.h from drm_crtc.h
config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20220622/202206222209.bTdAT1Bp-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
git remote add drm-misc git://anongit.freedesktop.org/drm/drm-misc
git fetch --no-tags drm-misc drm-misc-next
git checkout 255490f9150da7c6dabe468f3a877b92fd0f02c1
# save the config file
mkdir build_dir && cp config build_dir/.config
make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/hyperv/hyperv_drm_modeset.c: In function 'hyperv_connector_get_modes':
>> drivers/gpu/drm/hyperv/hyperv_drm_modeset.c:58:17: error: implicit declaration of function 'drm_add_modes_noedid' [-Werror=implicit-function-declaration]
58 | count = drm_add_modes_noedid(connector,
| ^~~~~~~~~~~~~~~~~~~~
>> drivers/gpu/drm/hyperv/hyperv_drm_modeset.c:61:9: error: implicit declaration of function 'drm_set_preferred_mode'; did you mean 'drm_mm_reserve_node'? [-Werror=implicit-function-declaration]
61 | drm_set_preferred_mode(connector, hv->preferred_width,
| ^~~~~~~~~~~~~~~~~~~~~~
| drm_mm_reserve_node
cc1: some warnings being treated as errors
vim +/drm_add_modes_noedid +58 drivers/gpu/drm/hyperv/hyperv_drm_modeset.c
76c56a5affeba1 Deepak Rawat 2021-05-27 52
76c56a5affeba1 Deepak Rawat 2021-05-27 53 static int hyperv_connector_get_modes(struct drm_connector *connector)
76c56a5affeba1 Deepak Rawat 2021-05-27 54 {
76c56a5affeba1 Deepak Rawat 2021-05-27 55 struct hyperv_drm_device *hv = to_hv(connector->dev);
76c56a5affeba1 Deepak Rawat 2021-05-27 56 int count;
76c56a5affeba1 Deepak Rawat 2021-05-27 57
76c56a5affeba1 Deepak Rawat 2021-05-27 @58 count = drm_add_modes_noedid(connector,
76c56a5affeba1 Deepak Rawat 2021-05-27 59 connector->dev->mode_config.max_width,
76c56a5affeba1 Deepak Rawat 2021-05-27 60 connector->dev->mode_config.max_height);
76c56a5affeba1 Deepak Rawat 2021-05-27 @61 drm_set_preferred_mode(connector, hv->preferred_width,
76c56a5affeba1 Deepak Rawat 2021-05-27 62 hv->preferred_height);
76c56a5affeba1 Deepak Rawat 2021-05-27 63
76c56a5affeba1 Deepak Rawat 2021-05-27 64 return count;
76c56a5affeba1 Deepak Rawat 2021-05-27 65 }
76c56a5affeba1 Deepak Rawat 2021-05-27 66
:::::: The code at line 58 was first introduced by commit
:::::: 76c56a5affeba1e163b66b9d8cc192e6154466f0 drm/hyperv: Add DRM driver for hyperv synthetic video device
:::::: TO: Deepak Rawat <drawat.floss@gmail.com>
:::::: CC: Deepak Rawat <drawat.floss@gmail.com>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-06-22 14:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202206222209.bTdAT1Bp-lkp@intel.com \
--to=lkp@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=kbuild-all@lists.01.org \
--cc=ville.syrjala@linux.intel.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 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.