Re: [PATCH] drm: Declare drm_send_event_helper static.

2021-05-10 Thread Maxime Ripard
Hi, On Sun, May 09, 2021 at 07:12:52PM +0530, Rajat Asthana wrote: > From: Rajat > > Declare drm_send_event_helper as static to fix sparse warning: > > > warning: symbol 'drm_send_event_helper' was not declared. > > Should it be static? > > Signed-off-by: Rajat Both the Author and Signed-off

[PATCH] drm: Declare drm_send_event_helper static.

2021-05-10 Thread Rajat Asthana
From: Rajat Declare drm_send_event_helper as static to fix sparse warning: > warning: symbol 'drm_send_event_helper' was not declared. > Should it be static? Signed-off-by: Rajat --- drivers/gpu/drm/drm_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm

[PATCH] drm: Declare drm_send_event_helper static

2021-05-04 Thread Guenter Roeck
0-day reports: drivers/gpu/drm/drm_file.c:789:6: error: no previous prototype for 'drm_send_event_helper' Since drm_send_event_helper() is only used locally, declare it static to fix the problem. Reported-by: kernel test robot Signed-off-by: Guenter Roeck --- drivers/gpu/drm/drm_file.