tree:
https://github.com/frank-w/BPI-R2-4.14 5.15-bpi-r2-pro
head: 14a93e4b341569bdb9f0456c3934e62402a82174
commit: 14a93e4b341569bdb9f0456c3934e62402a82174 [90/90] more porting
config: hexagon-randconfig-r041-20211014 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
6c76d0101193aa4eb891a6954ff047eda2f9cf71)
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=clang make.cross W=1 ARCH=hexagon
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 function 'drm_get_connector_type_name' [-Wmissing-prototypes]
const char *drm_get_connector_type_name(unsigned int type)
^
drivers/gpu/drm/drm_connector.c:126:7: note: declare 'static' if the function
is not intended to be used outside of this translation unit
const char *drm_get_connector_type_name(unsigned int type)
^
static
1 warning generated.
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