All of lore.kernel.org
 help / color / mirror / Atom feed
* [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'
@ 2021-10-15  0:08 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-15  0:08 UTC (permalink / raw)
  To: kbuild-all

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-15  0:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-15  0:08 [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' kernel test robot

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.