All of lore.kernel.org
 help / color / mirror / Atom feed
* [ti:ti-rt-linux-5.4.y 3577/7438] drivers/gpu/drm/bridge/cdns-mhdp-j721e.h:46:1: error: expected identifier or '(' before '{' token
@ 2020-06-06  6:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-06-06  6:09 UTC (permalink / raw)
  To: kbuild-all

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

Hi Yuti,

FYI, the error/warning still remains.

tree:   git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.4.y
head:   ce95a729709cbfc0a48afdbfdffb59c319aba053
commit: 027933539b12d9948f86bed77cb17767db19b343 [3577/7438] drm: bridge: cdns-mhdp: add j721e wrapper
config: nds32-randconfig-r006-20200606 (attached as .config)
compiler: nds32le-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=nds32 

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 >>, old 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: 23711 bytes --]

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

only message in thread, other threads:[~2020-06-06  6:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-06  6:09 [ti:ti-rt-linux-5.4.y 3577/7438] 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.