Re: [PATCH v3 4/5] drm/framebuffer: Include linux/sched.h in header file

2018-11-29 Thread Daniel Vetter
On Thu, Nov 29, 2018 at 4:14 PM Noralf Trønnes wrote: > > > Den 29.11.2018 10.35, skrev Daniel Vetter: > > On Wed, Nov 28, 2018 at 10:27:12PM +0100, Noralf Trønnes wrote: > >> A cleanup of the includes in drm_fb_cma_helper resulted in: > >> > >>CC [M] drivers/gpu/drm/drm_fb_cma_helper.o > >>

Re: [PATCH v3 4/5] drm/framebuffer: Include linux/sched.h in header file

2018-11-29 Thread Noralf Trønnes
Den 29.11.2018 10.35, skrev Daniel Vetter: On Wed, Nov 28, 2018 at 10:27:12PM +0100, Noralf Trønnes wrote: A cleanup of the includes in drm_fb_cma_helper resulted in: CC [M] drivers/gpu/drm/drm_fb_cma_helper.o In file included from drivers/gpu/drm/drm_fb_cma_helper.c:21:0: include/drm/drm_

Re: [PATCH v3 4/5] drm/framebuffer: Include linux/sched.h in header file

2018-11-29 Thread Daniel Vetter
On Wed, Nov 28, 2018 at 10:27:12PM +0100, Noralf Trønnes wrote: > A cleanup of the includes in drm_fb_cma_helper resulted in: > > CC [M] drivers/gpu/drm/drm_fb_cma_helper.o > In file included from drivers/gpu/drm/drm_fb_cma_helper.c:21:0: > include/drm/drm_framebuffer.h:128:12: error: ‘TASK_COM

[PATCH v3 4/5] drm/framebuffer: Include linux/sched.h in header file

2018-11-28 Thread Noralf Trønnes
A cleanup of the includes in drm_fb_cma_helper resulted in: CC [M] drivers/gpu/drm/drm_fb_cma_helper.o In file included from drivers/gpu/drm/drm_fb_cma_helper.c:21:0: include/drm/drm_framebuffer.h:128:12: error: ‘TASK_COMM_LEN’ undeclared here (not in a function) char comm[TASK_COMM_LEN]; F