All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [omap-audio:peter/ti-linux-5.4.y/wip 3276/8356] drivers/gpu/drm/bridge/cdns-mhdp-j721e.h:46:1: error: expected identifier or '(' before '{' token
@ 2020-08-03  8:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-08-03  8:14 UTC (permalink / raw
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3581 bytes --]

Hi Yuti,

FYI, the error/warning still remains.

tree:   https://github.com/omap-audio/linux-audio peter/ti-linux-5.4.y/wip
head:   83d89dc9b91f0ae61eef3da04371a6f410caff96
commit: 027933539b12d9948f86bed77cb17767db19b343 [3276/8356] drm: bridge: cdns-mhdp: add j721e wrapper
config: openrisc-randconfig-r022-20200803 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.3.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
        git checkout 027933539b12d9948f86bed77cb17767db19b343
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from drivers/gpu/drm/bridge/cdns-mhdp-core.c:39:
>> drivers/gpu/drm/bridge/cdns-mhdp-j721e.h:46:1: error: expected identifier or '(' before '{' token
      46 | {
         | ^
   drivers/gpu/drm/bridge/cdns-mhdp-core.c: In function 'mhdp_irq_handler':
   drivers/gpu/drm/bridge/cdns-mhdp-core.c:857:51: warning: variable 'sw_ev3' set but not used [-Wunused-but-set-variable]
     857 |  u32 mbox_stat, apb_stat, sw_ev0, sw_ev1, sw_ev2, sw_ev3;
         |                                                   ^~~~~~
   drivers/gpu/drm/bridge/cdns-mhdp-core.c:857:43: warning: variable 'sw_ev2' set but not used [-Wunused-but-set-variable]
     857 |  u32 mbox_stat, apb_stat, sw_ev0, sw_ev1, sw_ev2, sw_ev3;
         |                                           ^~~~~~
   drivers/gpu/drm/bridge/cdns-mhdp-core.c:857:35: warning: variable 'sw_ev1' set but not used [-Wunused-but-set-variable]
     857 |  u32 mbox_stat, apb_stat, sw_ev0, sw_ev1, sw_ev2, sw_ev3;
         |                                   ^~~~~~
   drivers/gpu/drm/bridge/cdns-mhdp-core.c:857:17: warning: variable 'apb_stat' set but not used [-Wunused-but-set-variable]
     857 |  u32 mbox_stat, apb_stat, sw_ev0, sw_ev1, sw_ev2, sw_ev3;
         |                 ^~~~~~~~
   drivers/gpu/drm/bridge/cdns-mhdp-core.c:857:6: warning: variable 'mbox_stat' set but not used [-Wunused-but-set-variable]
     857 |  u32 mbox_stat, apb_stat, sw_ev0, sw_ev1, sw_ev2, sw_ev3;
         |      ^~~~~~~~~
   drivers/gpu/drm/bridge/cdns-mhdp-core.c: In function 'cdns_mhdp_sst_enable':
   drivers/gpu/drm/bridge/cdns-mhdp-core.c:1722:16: warning: variable 'pxlfmt' set but not used [-Wunused-but-set-variable]
    1722 |  u32 bpp, bpc, pxlfmt;
         |                ^~~~~~
   drivers/gpu/drm/bridge/cdns-mhdp-core.c:1722:11: warning: variable 'bpc' set but not used [-Wunused-but-set-variable]
    1722 |  u32 bpp, bpc, pxlfmt;
         |           ^~~
   In file included from drivers/gpu/drm/bridge/cdns-mhdp-core.c:39:
   drivers/gpu/drm/bridge/cdns-mhdp-core.c: At top level:
   drivers/gpu/drm/bridge/cdns-mhdp-j721e.h:45:6: warning: 'cdns_mhdp_j721e_sst_enable' declared 'static' but never defined [-Wunused-function]
      45 | void cdns_mhdp_j721e_sst_enable(struct cdns_mhdp_device *mhdp);
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~

vim +46 drivers/gpu/drm/bridge/cdns-mhdp-j721e.h

    43	
    44	static inline
    45	void cdns_mhdp_j721e_sst_enable(struct cdns_mhdp_device *mhdp);
  > 46	{
    47	}
    48	

---
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: 27870 bytes --]

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

only message in thread, other threads:[~2020-08-03  8:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-03  8:14 [omap-audio:peter/ti-linux-5.4.y/wip 3276/8356] drivers/gpu/drm/bridge/cdns-mhdp-j721e.h:46:1: error: expected identifier or '(' before '{' token 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.