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/14a93e4b341569bdb9f0456c393...
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(a)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 at line 126 was first introduced by commit
:::::: b35f90f2d4a63cf2bc427f5c4e33eb86d963e716 drm/connector: Add helper to get a
connector type name
:::::: TO: Laurent Pinchart <laurent.pinchart(a)ideasonboard.com>
:::::: CC: Tomi Valkeinen <tomi.valkeinen(a)ti.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org