From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [frank-w-bpi-r2-4.14:5.15-bpi-r2-pro 90/90] drivers/gpu/drm/drm_connector.c:126:13: warning: no previous prototype for 'drm_get_connector_type_name'
Date: Fri, 15 Oct 2021 08:08:19 +0800 [thread overview]
Message-ID: <202110150807.n9TE57kS-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3015 bytes --]
tree: https://github.com/frank-w/BPI-R2-4.14 5.15-bpi-r2-pro
head: 14a93e4b341569bdb9f0456c3934e62402a82174
commit: 14a93e4b341569bdb9f0456c3934e62402a82174 [90/90] more porting
config: ia64-defconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 11.2.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/frank-w/BPI-R2-4.14/commit/14a93e4b341569bdb9f0456c3934e62402a82174
git remote add frank-w-bpi-r2-4.14 https://github.com/frank-w/BPI-R2-4.14
git fetch --no-tags frank-w-bpi-r2-4.14 5.15-bpi-r2-pro
git checkout 14a93e4b341569bdb9f0456c3934e62402a82174
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=ia64
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/drm_connector.c:126:13: warning: no previous prototype for 'drm_get_connector_type_name' [-Wmissing-prototypes]
126 | const char *drm_get_connector_type_name(unsigned int type)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/drm_get_connector_type_name +126 drivers/gpu/drm/drm_connector.c
52217195176115 Daniel Vetter 2016-08-12 119
b35f90f2d4a63c Laurent Pinchart 2020-02-26 120 /**
b35f90f2d4a63c Laurent Pinchart 2020-02-26 121 * drm_get_connector_type_name - return a string for connector type
b35f90f2d4a63c Laurent Pinchart 2020-02-26 122 * @type: The connector type (DRM_MODE_CONNECTOR_*)
b35f90f2d4a63c Laurent Pinchart 2020-02-26 123 *
b35f90f2d4a63c Laurent Pinchart 2020-02-26 124 * Returns: the name of the connector type, or NULL if the type is not valid.
b35f90f2d4a63c Laurent Pinchart 2020-02-26 125 */
b35f90f2d4a63c Laurent Pinchart 2020-02-26 @126 const char *drm_get_connector_type_name(unsigned int type)
b35f90f2d4a63c Laurent Pinchart 2020-02-26 127 {
b35f90f2d4a63c Laurent Pinchart 2020-02-26 128 if (type < ARRAY_SIZE(drm_connector_enum_list))
b35f90f2d4a63c Laurent Pinchart 2020-02-26 129 return drm_connector_enum_list[type].name;
b35f90f2d4a63c Laurent Pinchart 2020-02-26 130
b35f90f2d4a63c Laurent Pinchart 2020-02-26 131 return NULL;
b35f90f2d4a63c Laurent Pinchart 2020-02-26 132 }
b35f90f2d4a63c Laurent Pinchart 2020-02-26 133 EXPORT_SYMBOL(drm_get_connector_type_name);
b35f90f2d4a63c Laurent Pinchart 2020-02-26 134
:::::: The code@line 126 was first introduced by commit
:::::: b35f90f2d4a63cf2bc427f5c4e33eb86d963e716 drm/connector: Add helper to get a connector type name
:::::: TO: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
:::::: CC: Tomi Valkeinen <tomi.valkeinen@ti.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 19974 bytes --]
reply other threads:[~2021-10-15 0:08 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=202110150807.n9TE57kS-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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.