All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/tests: Include helpers header
@ 2022-11-16  9:17 Maxime Ripard
  2022-11-16  9:17 ` [PATCH 2/3] drm/tests: helpers: Add module infos Maxime Ripard
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Maxime Ripard @ 2022-11-16  9:17 UTC (permalink / raw)
  To: Daniel Vetter, David Airlie, Maarten Lankhorst, Thomas Zimmermann,
	Maxime Ripard, Florian Fainelli
  Cc: bcm-kernel-feedback-list, linux-rpi-kernel, dri-devel,
	kernel test robot

The kunit helpers code weren't including its header, leading to a
warning that no previous prototype had been defined for public
functions.

Include the matching header to fix the warning.

Fixes: 44a3928324e9 ("drm/tests: Add Kunit Helpers")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
---
 drivers/gpu/drm/tests/drm_kunit_helpers.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/tests/drm_kunit_helpers.c b/drivers/gpu/drm/tests/drm_kunit_helpers.c
index d3f0d681b685..dbd8ec24d4be 100644
--- a/drivers/gpu/drm/tests/drm_kunit_helpers.c
+++ b/drivers/gpu/drm/tests/drm_kunit_helpers.c
@@ -5,6 +5,8 @@
 
 #include <linux/device.h>
 
+#include "drm_kunit_helpers.h"
+
 struct kunit_dev {
 	struct drm_device base;
 };
-- 
2.38.1


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

end of thread, other threads:[~2022-11-16 15:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-16  9:17 [PATCH 1/3] drm/tests: Include helpers header Maxime Ripard
2022-11-16  9:17 ` [PATCH 2/3] drm/tests: helpers: Add module infos Maxime Ripard
2022-11-16 11:18   ` Maíra Canal
2022-11-16 11:32     ` Jani Nikula
2022-11-16 15:12       ` Maxime Ripard
2022-11-16 15:23         ` Jani Nikula
2022-11-16 15:15   ` (subset) " Maxime Ripard
2022-11-16  9:17 ` [PATCH 3/3] firmware: raspberrypi: Fix type assignment Maxime Ripard
2022-11-16 11:14 ` [PATCH 1/3] drm/tests: Include helpers header Maíra Canal
2022-11-16 15:15 ` (subset) " Maxime Ripard

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.