mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/amdkfd: add missing void argument to function kgd2kfd_init
@ 2019-10-05 17:58 Colin King
  2019-10-05 18:10 ` Randy Dunlap
  2019-10-07 16:08 ` Alex Deucher
  0 siblings, 2 replies; 6+ messages in thread
From: Colin King @ 2019-10-05 17:58 UTC (permalink / raw)
  To: Felix Kuehling, Alex Deucher, Christian König, David Zhou,
	David Airlie, Daniel Vetter, amd-gfx, dri-devel
  Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

Function kgd2kfd_init is missing a void argument, add it
to clean up the non-ANSI function declaration.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/gpu/drm/amd/amdkfd/kfd_module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_module.c b/drivers/gpu/drm/amd/amdkfd/kfd_module.c
index 986ff52d5750..f4b7f7e6c40e 100644
--- a/drivers/gpu/drm/amd/amdkfd/kfd_module.c
+++ b/drivers/gpu/drm/amd/amdkfd/kfd_module.c
@@ -82,7 +82,7 @@ static void kfd_exit(void)
 	kfd_chardev_exit();
 }
 
-int kgd2kfd_init()
+int kgd2kfd_init(void)
 {
 	return kfd_init();
 }
-- 
2.20.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-07 18:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-05 17:58 [PATCH] drm/amdkfd: add missing void argument to function kgd2kfd_init Colin King
2019-10-05 18:10 ` Randy Dunlap
2019-10-05 18:23   ` Colin Ian King
2019-10-05 18:30     ` Randy Dunlap
2019-10-07 16:08 ` Alex Deucher
2019-10-07 18:39   ` Kuehling, Felix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®