Looking at this right now, will post patches asap
On Sat, 2020-07-18 at 11:25 +0800, kernel test robot wrote:
tree:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
master
head: aab7ee9f8ff0110bfcd594b33dc33748dc1baf46
commit: 12885ecbfe62df4358d452080d3b8feef54ec8cb [8529/9127]
drm/nouveau/kms/nvd9-: Add CRC support
config: arm-tegra_defconfig (attached as .config)
compiler: arm-linux-gnueabi-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 12885ecbfe62df4358d452080d3b8feef54ec8cb
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross
ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/nouveau/nouveau_display.c:47:
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_head_crc_late_register':
> > drivers/gpu/drm/nouveau/dispnv50/crc.h:106:47: error: parameter name
> > omitted
106 | static inline int nv50_head_crc_late_register(struct nv50_head *)
{}
| ^~~~~~~~~~~~~~~~~~
> > drivers/gpu/drm/nouveau/dispnv50/crc.h:106:54: warning: no return
> > statement in function returning non-void [-Wreturn-type]
106 | static inline int nv50_head_crc_late_register(struct nv50_head *)
{}
| ^~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_handle_vblank':
> > drivers/gpu/drm/nouveau/dispnv50/crc.h:108:57: warning: 'return' with
a
> > value, in function returning void [-Wreturn-type]
108 | nv50_crc_handle_vblank(struct nv50_head *head) { return 0; }
| ^
drivers/gpu/drm/nouveau/dispnv50/crc.h:108:1: note: declared here
108 | nv50_crc_handle_vblank(struct nv50_head *head) { return 0; }
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_check':
drivers/gpu/drm/nouveau/dispnv50/crc.h:111:23: error: parameter name
omitted
111 | nv50_crc_atomic_check(struct nv50_head *, struct nv50_head_atom
*,
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h:111:43: error: parameter name
omitted
111 | nv50_crc_atomic_check(struct nv50_head *, struct nv50_head_atom
*,
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h:112:9: error: parameter name
omitted
112 | struct nv50_head_atom *) {}
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h:112:16: warning: no return
statement in function returning non-void [-Wreturn-type]
112 | struct nv50_head_atom *) {}
| ^~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_stop_reporting':
drivers/gpu/drm/nouveau/dispnv50/crc.h:114:32: error: parameter name
omitted
114 | nv50_crc_atomic_stop_reporting(struct drm_atomic_state *) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_prepare_notifier_contexts':
drivers/gpu/drm/nouveau/dispnv50/crc.h:116:43: error: parameter name
omitted
116 | nv50_crc_atomic_prepare_notifier_contexts(struct drm_atomic_state
*) {}
| ^~~~~~~~~~~~~~~~~~~~~~~
~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_start_reporting':
drivers/gpu/drm/nouveau/dispnv50/crc.h:118:33: error: parameter name
omitted
118 | nv50_crc_atomic_start_reporting(struct drm_atomic_state *) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_set':
drivers/gpu/drm/nouveau/dispnv50/crc.h:120:21: error: parameter name
omitted
120 | nv50_crc_atomic_set(struct nv50_head *, struct nv50_head_atom *)
{}
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h:120:41: error: parameter name
omitted
120 | nv50_crc_atomic_set(struct nv50_head *, struct nv50_head_atom *)
{}
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_clr':
drivers/gpu/drm/nouveau/dispnv50/crc.h:122:21: error: parameter name
omitted
122 | nv50_crc_atomic_clr(struct nv50_head *) {}
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/nouveau_display.c: In function
'nouveau_framebuffer_new':
drivers/gpu/drm/nouveau/nouveau_display.c:286:15: warning: variable
'width' set but not used [-Wunused-but-set-variable]
286 | unsigned int width, height, i;
| ^~~~~
--
In file included from drivers/gpu/drm/nouveau/dispnv50/atom.h:5,
from drivers/gpu/drm/nouveau/dispnv50/disp.c:25:
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_head_crc_late_register':
> > drivers/gpu/drm/nouveau/dispnv50/crc.h:106:47: error: parameter name
> > omitted
106 | static inline int nv50_head_crc_late_register(struct nv50_head *)
{}
| ^~~~~~~~~~~~~~~~~~
> > drivers/gpu/drm/nouveau/dispnv50/crc.h:106:54: warning: no return
> > statement in function returning non-void [-Wreturn-type]
106 | static inline int nv50_head_crc_late_register(struct nv50_head *)
{}
| ^~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_handle_vblank':
> > drivers/gpu/drm/nouveau/dispnv50/crc.h:108:57: warning: 'return' with
a
> > value, in function returning void [-Wreturn-type]
108 | nv50_crc_handle_vblank(struct nv50_head *head) { return 0; }
| ^
drivers/gpu/drm/nouveau/dispnv50/crc.h:108:1: note: declared here
108 | nv50_crc_handle_vblank(struct nv50_head *head) { return 0; }
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_check':
drivers/gpu/drm/nouveau/dispnv50/crc.h:111:23: error: parameter name
omitted
111 | nv50_crc_atomic_check(struct nv50_head *, struct nv50_head_atom
*,
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h:111:43: error: parameter name
omitted
111 | nv50_crc_atomic_check(struct nv50_head *, struct nv50_head_atom
*,
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h:112:9: error: parameter name
omitted
112 | struct nv50_head_atom *) {}
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h:112:16: warning: no return
statement in function returning non-void [-Wreturn-type]
112 | struct nv50_head_atom *) {}
| ^~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_stop_reporting':
drivers/gpu/drm/nouveau/dispnv50/crc.h:114:32: error: parameter name
omitted
114 | nv50_crc_atomic_stop_reporting(struct drm_atomic_state *) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_prepare_notifier_contexts':
drivers/gpu/drm/nouveau/dispnv50/crc.h:116:43: error: parameter name
omitted
116 | nv50_crc_atomic_prepare_notifier_contexts(struct drm_atomic_state
*) {}
| ^~~~~~~~~~~~~~~~~~~~~~~
~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_start_reporting':
drivers/gpu/drm/nouveau/dispnv50/crc.h:118:33: error: parameter name
omitted
118 | nv50_crc_atomic_start_reporting(struct drm_atomic_state *) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_set':
drivers/gpu/drm/nouveau/dispnv50/crc.h:120:21: error: parameter name
omitted
120 | nv50_crc_atomic_set(struct nv50_head *, struct nv50_head_atom *)
{}
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h:120:41: error: parameter name
omitted
120 | nv50_crc_atomic_set(struct nv50_head *, struct nv50_head_atom *)
{}
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_clr':
drivers/gpu/drm/nouveau/dispnv50/crc.h:122:21: error: parameter name
omitted
122 | nv50_crc_atomic_clr(struct nv50_head *) {}
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/disp.c: In function 'nv50_mstm_cleanup':
drivers/gpu/drm/nouveau/dispnv50/disp.c:1232:6: warning: variable 'ret'
set but not used [-Wunused-but-set-variable]
1232 | int ret;
| ^~~
drivers/gpu/drm/nouveau/dispnv50/disp.c: In function 'nv50_mstm_prepare':
drivers/gpu/drm/nouveau/dispnv50/disp.c:1256:6: warning: variable 'ret'
set but not used [-Wunused-but-set-variable]
1256 | int ret;
| ^~~
drivers/gpu/drm/nouveau/dispnv50/disp.c: At top level:
drivers/gpu/drm/nouveau/dispnv50/disp.c:2465:1: warning: no previous
prototype for 'nv50_display_create' [-Wmissing-prototypes]
2465 | nv50_display_create(struct drm_device *dev)
| ^~~~~~~~~~~~~~~~~~~
--
In file included from drivers/gpu/drm/nouveau/dispnv50/atom.h:5,
from drivers/gpu/drm/nouveau/dispnv50/core.h:4,
from drivers/gpu/drm/nouveau/dispnv50/core.c:22:
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_head_crc_late_register':
> > drivers/gpu/drm/nouveau/dispnv50/crc.h:106:47: error: parameter name
> > omitted
106 | static inline int nv50_head_crc_late_register(struct nv50_head *)
{}
| ^~~~~~~~~~~~~~~~~~
> > drivers/gpu/drm/nouveau/dispnv50/crc.h:106:54: warning: no return
> > statement in function returning non-void [-Wreturn-type]
106 | static inline int nv50_head_crc_late_register(struct nv50_head *)
{}
| ^~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_handle_vblank':
> > drivers/gpu/drm/nouveau/dispnv50/crc.h:108:57: warning: 'return' with
a
> > value, in function returning void [-Wreturn-type]
108 | nv50_crc_handle_vblank(struct nv50_head *head) { return 0; }
| ^
drivers/gpu/drm/nouveau/dispnv50/crc.h:108:1: note: declared here
108 | nv50_crc_handle_vblank(struct nv50_head *head) { return 0; }
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_check':
drivers/gpu/drm/nouveau/dispnv50/crc.h:111:23: error: parameter name
omitted
111 | nv50_crc_atomic_check(struct nv50_head *, struct nv50_head_atom
*,
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h:111:43: error: parameter name
omitted
111 | nv50_crc_atomic_check(struct nv50_head *, struct nv50_head_atom
*,
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h:112:9: error: parameter name
omitted
112 | struct nv50_head_atom *) {}
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h:112:16: warning: no return
statement in function returning non-void [-Wreturn-type]
112 | struct nv50_head_atom *) {}
| ^~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_stop_reporting':
drivers/gpu/drm/nouveau/dispnv50/crc.h:114:32: error: parameter name
omitted
114 | nv50_crc_atomic_stop_reporting(struct drm_atomic_state *) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_prepare_notifier_contexts':
drivers/gpu/drm/nouveau/dispnv50/crc.h:116:43: error: parameter name
omitted
116 | nv50_crc_atomic_prepare_notifier_contexts(struct drm_atomic_state
*) {}
| ^~~~~~~~~~~~~~~~~~~~~~~
~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_start_reporting':
drivers/gpu/drm/nouveau/dispnv50/crc.h:118:33: error: parameter name
omitted
118 | nv50_crc_atomic_start_reporting(struct drm_atomic_state *) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_set':
drivers/gpu/drm/nouveau/dispnv50/crc.h:120:21: error: parameter name
omitted
120 | nv50_crc_atomic_set(struct nv50_head *, struct nv50_head_atom *)
{}
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h:120:41: error: parameter name
omitted
120 | nv50_crc_atomic_set(struct nv50_head *, struct nv50_head_atom *)
{}
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_clr':
drivers/gpu/drm/nouveau/dispnv50/crc.h:122:21: error: parameter name
omitted
122 | nv50_crc_atomic_clr(struct nv50_head *) {}
| ^~~~~~~~~~~~~~~~~~
--
In file included from drivers/gpu/drm/nouveau/dispnv50/atom.h:5,
from drivers/gpu/drm/nouveau/dispnv50/head.h:7,
from drivers/gpu/drm/nouveau/dispnv50/headc57d.c:22:
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_head_crc_late_register':
> > drivers/gpu/drm/nouveau/dispnv50/crc.h:106:47: error: parameter name
> > omitted
106 | static inline int nv50_head_crc_late_register(struct nv50_head *)
{}
| ^~~~~~~~~~~~~~~~~~
> > drivers/gpu/drm/nouveau/dispnv50/crc.h:106:54: warning: no return
> > statement in function returning non-void [-Wreturn-type]
106 | static inline int nv50_head_crc_late_register(struct nv50_head *)
{}
| ^~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_handle_vblank':
> > drivers/gpu/drm/nouveau/dispnv50/crc.h:108:57: warning: 'return' with
a
> > value, in function returning void [-Wreturn-type]
108 | nv50_crc_handle_vblank(struct nv50_head *head) { return 0; }
| ^
drivers/gpu/drm/nouveau/dispnv50/crc.h:108:1: note: declared here
108 | nv50_crc_handle_vblank(struct nv50_head *head) { return 0; }
| ^~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_check':
drivers/gpu/drm/nouveau/dispnv50/crc.h:111:23: error: parameter name
omitted
111 | nv50_crc_atomic_check(struct nv50_head *, struct nv50_head_atom
*,
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h:111:43: error: parameter name
omitted
111 | nv50_crc_atomic_check(struct nv50_head *, struct nv50_head_atom
*,
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h:112:9: error: parameter name
omitted
112 | struct nv50_head_atom *) {}
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h:112:16: warning: no return
statement in function returning non-void [-Wreturn-type]
112 | struct nv50_head_atom *) {}
| ^~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_stop_reporting':
drivers/gpu/drm/nouveau/dispnv50/crc.h:114:32: error: parameter name
omitted
114 | nv50_crc_atomic_stop_reporting(struct drm_atomic_state *) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_prepare_notifier_contexts':
drivers/gpu/drm/nouveau/dispnv50/crc.h:116:43: error: parameter name
omitted
116 | nv50_crc_atomic_prepare_notifier_contexts(struct drm_atomic_state
*) {}
| ^~~~~~~~~~~~~~~~~~~~~~~
~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_start_reporting':
drivers/gpu/drm/nouveau/dispnv50/crc.h:118:33: error: parameter name
omitted
118 | nv50_crc_atomic_start_reporting(struct drm_atomic_state *) {}
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_set':
drivers/gpu/drm/nouveau/dispnv50/crc.h:120:21: error: parameter name
omitted
120 | nv50_crc_atomic_set(struct nv50_head *, struct nv50_head_atom *)
{}
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h:120:41: error: parameter name
omitted
120 | nv50_crc_atomic_set(struct nv50_head *, struct nv50_head_atom *)
{}
| ^~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/crc.h: In function
'nv50_crc_atomic_clr':
drivers/gpu/drm/nouveau/dispnv50/crc.h:122:21: error: parameter name
omitted
122 | nv50_crc_atomic_clr(struct nv50_head *) {}
| ^~~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/headc57d.c: At top level:
drivers/gpu/drm/nouveau/dispnv50/headc57d.c:77:1: warning: no previous
prototype for 'headc57d_olut_clr' [-Wmissing-prototypes]
77 | headc57d_olut_clr(struct nv50_head *head)
| ^~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/headc57d.c:89:1: warning: no previous
prototype for 'headc57d_olut_set' [-Wmissing-prototypes]
89 | headc57d_olut_set(struct nv50_head *head, struct nv50_head_atom
*asyh)
| ^~~~~~~~~~~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/headc57d.c:159:1: warning: no previous
prototype for 'headc57d_olut' [-Wmissing-prototypes]
159 | headc57d_olut(struct nv50_head *head, struct nv50_head_atom
*asyh, int size)
| ^~~~~~~~~~~~~
vim +106 drivers/gpu/drm/nouveau/dispnv50/crc.h
104
105 static inline void nv50_crc_init(struct drm_device *dev) {}
> 106 static inline int nv50_head_crc_late_register(struct nv50_head
*) {}
107 static inline void
> 108 nv50_crc_handle_vblank(struct nv50_head *head) { return 0; }
109
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org