All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: lee.jones@linaro.org
Cc: linux-kernel@vger.kernel.org,
	"Alex Deucher" <alexander.deucher@amd.com>,
	"Christian König" <christian.koenig@amd.com>,
	"David Airlie" <airlied@linux.ie>,
	"Daniel Vetter" <daniel@ffwll.ch>,
	amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Subject: [PATCH 07/19] drm/radeon/radeon_kms: Include header containing our own prototypes
Date: Fri,  6 Nov 2020 21:49:37 +0000	[thread overview]
Message-ID: <20201106214949.2042120-8-lee.jones@linaro.org> (raw)
In-Reply-To: <20201106214949.2042120-1-lee.jones@linaro.org>

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/radeon/radeon_kms.c:61:6: warning: no previous prototype for ‘radeon_driver_unload_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:104:5: warning: no previous prototype for ‘radeon_driver_load_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:618:6: warning: no previous prototype for ‘radeon_driver_lastclose_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:633:5: warning: no previous prototype for ‘radeon_driver_open_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:704:6: warning: no previous prototype for ‘radeon_driver_postclose_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:755:5: warning: no previous prototype for ‘radeon_get_vblank_counter_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:825:5: warning: no previous prototype for ‘radeon_enable_vblank_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:852:6: warning: no previous prototype for ‘radeon_disable_vblank_kms’ [-Wmissing-prototypes]

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 drivers/gpu/drm/radeon/radeon_kms.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c
index 99ee60f8b604d..0d8fbabffcead 100644
--- a/drivers/gpu/drm/radeon/radeon_kms.c
+++ b/drivers/gpu/drm/radeon/radeon_kms.c
@@ -40,6 +40,7 @@
 
 #include "radeon.h"
 #include "radeon_asic.h"
+#include "radeon_drv.h"
 
 #if defined(CONFIG_VGA_SWITCHEROO)
 bool radeon_has_atpx(void);
-- 
2.25.1


WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee.jones@linaro.org>
To: lee.jones@linaro.org
Cc: "David Airlie" <airlied@linux.ie>,
	linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org,
	dri-devel@lists.freedesktop.org,
	"Alex Deucher" <alexander.deucher@amd.com>,
	"Christian König" <christian.koenig@amd.com>
Subject: [PATCH 07/19] drm/radeon/radeon_kms: Include header containing our own prototypes
Date: Fri,  6 Nov 2020 21:49:37 +0000	[thread overview]
Message-ID: <20201106214949.2042120-8-lee.jones@linaro.org> (raw)
In-Reply-To: <20201106214949.2042120-1-lee.jones@linaro.org>

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/radeon/radeon_kms.c:61:6: warning: no previous prototype for ‘radeon_driver_unload_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:104:5: warning: no previous prototype for ‘radeon_driver_load_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:618:6: warning: no previous prototype for ‘radeon_driver_lastclose_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:633:5: warning: no previous prototype for ‘radeon_driver_open_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:704:6: warning: no previous prototype for ‘radeon_driver_postclose_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:755:5: warning: no previous prototype for ‘radeon_get_vblank_counter_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:825:5: warning: no previous prototype for ‘radeon_enable_vblank_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:852:6: warning: no previous prototype for ‘radeon_disable_vblank_kms’ [-Wmissing-prototypes]

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 drivers/gpu/drm/radeon/radeon_kms.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c
index 99ee60f8b604d..0d8fbabffcead 100644
--- a/drivers/gpu/drm/radeon/radeon_kms.c
+++ b/drivers/gpu/drm/radeon/radeon_kms.c
@@ -40,6 +40,7 @@
 
 #include "radeon.h"
 #include "radeon_asic.h"
+#include "radeon_drv.h"
 
 #if defined(CONFIG_VGA_SWITCHEROO)
 bool radeon_has_atpx(void);
-- 
2.25.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee.jones@linaro.org>
To: lee.jones@linaro.org
Cc: "David Airlie" <airlied@linux.ie>,
	linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org,
	dri-devel@lists.freedesktop.org,
	"Daniel Vetter" <daniel@ffwll.ch>,
	"Alex Deucher" <alexander.deucher@amd.com>,
	"Christian König" <christian.koenig@amd.com>
Subject: [PATCH 07/19] drm/radeon/radeon_kms: Include header containing our own prototypes
Date: Fri,  6 Nov 2020 21:49:37 +0000	[thread overview]
Message-ID: <20201106214949.2042120-8-lee.jones@linaro.org> (raw)
In-Reply-To: <20201106214949.2042120-1-lee.jones@linaro.org>

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/radeon/radeon_kms.c:61:6: warning: no previous prototype for ‘radeon_driver_unload_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:104:5: warning: no previous prototype for ‘radeon_driver_load_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:618:6: warning: no previous prototype for ‘radeon_driver_lastclose_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:633:5: warning: no previous prototype for ‘radeon_driver_open_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:704:6: warning: no previous prototype for ‘radeon_driver_postclose_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:755:5: warning: no previous prototype for ‘radeon_get_vblank_counter_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:825:5: warning: no previous prototype for ‘radeon_enable_vblank_kms’ [-Wmissing-prototypes]
 drivers/gpu/drm/radeon/radeon_kms.c:852:6: warning: no previous prototype for ‘radeon_disable_vblank_kms’ [-Wmissing-prototypes]

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 drivers/gpu/drm/radeon/radeon_kms.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/radeon/radeon_kms.c b/drivers/gpu/drm/radeon/radeon_kms.c
index 99ee60f8b604d..0d8fbabffcead 100644
--- a/drivers/gpu/drm/radeon/radeon_kms.c
+++ b/drivers/gpu/drm/radeon/radeon_kms.c
@@ -40,6 +40,7 @@
 
 #include "radeon.h"
 #include "radeon_asic.h"
+#include "radeon_drv.h"
 
 #if defined(CONFIG_VGA_SWITCHEROO)
 bool radeon_has_atpx(void);
-- 
2.25.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

  parent reply	other threads:[~2020-11-06 21:51 UTC|newest]

Thread overview: 158+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-06 21:49 [PATCH 00/19] [Set 2] Rid W=1 warnings from GPU Lee Jones
2020-11-06 21:49 ` Lee Jones
2020-11-06 21:49 ` Lee Jones
2020-11-06 21:49 ` [PATCH 01/19] drm/ttm/ttm_range_manager: Demote non-conformant kernel-doc header Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-07 12:12   ` Christian König
2020-11-07 12:12     ` Christian König
2020-11-06 21:49 ` [PATCH 02/19] drm/r128/ati_pcigart: Source file headers are not good candidates for kernel-doc Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-06 22:22   ` Sam Ravnborg
2020-11-06 22:22     ` Sam Ravnborg
2020-11-06 21:49 ` [PATCH 03/19] drm/selftests/test-drm_dp_mst_helper: Move 'sideband_msg_req_encode_decode' onto the heap Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-06 21:49 ` [PATCH 04/19] drm/mga/mga_dma: Demote kernel-doc abusers to standard comment blocks Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-06 22:23   ` Sam Ravnborg
2020-11-06 22:23     ` Sam Ravnborg
2020-11-06 21:49 ` [PATCH 05/19] drm/mga/mga_state: Remove unused variable 'buf_priv' Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-06 22:23   ` Sam Ravnborg
2020-11-06 22:23     ` Sam Ravnborg
2020-11-06 21:49 ` [PATCH 06/19] drm/radeon/atom: Move prototype into shared location Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-10 21:54   ` Alex Deucher
2020-11-10 21:54     ` Alex Deucher
2020-11-10 21:54     ` Alex Deucher
2020-11-06 21:49 ` Lee Jones [this message]
2020-11-06 21:49   ` [PATCH 07/19] drm/radeon/radeon_kms: Include header containing our own prototypes Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-10 21:55   ` Alex Deucher
2020-11-10 21:55     ` Alex Deucher
2020-11-10 21:55     ` Alex Deucher
2020-11-06 21:49 ` [PATCH 08/19] drm/omapdrm/omap_gem: Fix misnamed and missing parameter descriptions Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-10 12:01   ` Tomi Valkeinen
2020-11-10 12:01     ` Tomi Valkeinen
2020-11-06 21:49 ` [PATCH 09/19] drm/omapdrm/omap_dmm_tiler: Demote abusive use of kernel-doc format Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-06 21:49 ` [PATCH 10/19] drm/radeon/radeon: Move prototype into shared header Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-07 14:26   ` Sam Ravnborg
2020-11-07 14:26     ` Sam Ravnborg
2020-11-07 14:26     ` Sam Ravnborg
2020-11-07 15:14     ` Lee Jones
2020-11-07 15:14       ` Lee Jones
2020-11-07 15:14       ` Lee Jones
2020-11-09 11:06     ` Lee Jones
2020-11-09 11:06       ` Lee Jones
2020-11-09 11:06       ` Lee Jones
2020-11-09 15:25       ` Sam Ravnborg
2020-11-09 15:25         ` Sam Ravnborg
2020-11-09 15:25         ` Sam Ravnborg
2020-11-09 16:10         ` Lee Jones
2020-11-09 16:10           ` Lee Jones
2020-11-09 16:10           ` Lee Jones
2020-11-06 21:49 ` [PATCH 11/19] drm/radeon/radeon_drv: Source file headers are not good candidates for kernel-doc Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-10 21:56   ` Alex Deucher
2020-11-10 21:56     ` Alex Deucher
2020-11-10 21:56     ` Alex Deucher
2020-11-06 21:49 ` [PATCH 12/19] drm/amd/display/dc/basics/fixpt31_32: Move variables to where they're used Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-09 19:58   ` Alex Deucher
2020-11-09 19:58     ` Alex Deucher
2020-11-09 19:58     ` Alex Deucher
2020-11-06 21:49 ` [PATCH 13/19] drm/radeon/radeon_drv: Move prototypes to a shared headerfile Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-10 21:58   ` Alex Deucher
2020-11-10 21:58     ` Alex Deucher
2020-11-10 21:58     ` Alex Deucher
2020-11-06 21:49 ` [PATCH 14/19] drm/amd/amdgpu/amdgpu_device: Provide documentation for 'reg_addr' params Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-09 19:54   ` Alex Deucher
2020-11-09 19:54     ` Alex Deucher
2020-11-09 19:54     ` Alex Deucher
2020-11-06 21:49 ` [PATCH 15/19] drm/radeon: Move prototypes to shared header Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-10 21:59   ` Alex Deucher
2020-11-10 21:59     ` Alex Deucher
2020-11-10 21:59     ` Alex Deucher
2020-11-06 21:49 ` [PATCH 16/19] drm/amd/amdgpu/amdgpu_kms: Remove 'struct drm_amdgpu_info_device dev_info' from the stack Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-09 20:05   ` Alex Deucher
2020-11-09 20:05     ` Alex Deucher
2020-11-09 20:05     ` Alex Deucher
2020-11-06 21:49 ` [PATCH 17/19] drm/radeon/radeon_kms: Fix misnaming of 'radeon_info_ioctl's dev param Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-07 14:29   ` Sam Ravnborg
2020-11-07 14:29     ` Sam Ravnborg
2020-11-07 14:29     ` Sam Ravnborg
2020-11-07 15:13     ` Lee Jones
2020-11-07 15:13       ` Lee Jones
2020-11-07 15:13       ` Lee Jones
2020-11-09 19:50   ` Alex Deucher
2020-11-09 19:50     ` Alex Deucher
2020-11-09 19:50     ` Alex Deucher
2020-11-09 19:55     ` Sam Ravnborg
2020-11-09 19:55       ` Sam Ravnborg
2020-11-09 19:55       ` Sam Ravnborg
2020-11-09 20:06       ` Alex Deucher
2020-11-09 20:06         ` Alex Deucher
2020-11-09 20:06         ` Alex Deucher
2020-11-09 20:10       ` Lee Jones
2020-11-09 20:10         ` Lee Jones
2020-11-09 20:10         ` Lee Jones
2020-11-09 20:52         ` Sam Ravnborg
2020-11-09 20:52           ` Sam Ravnborg
2020-11-09 20:52           ` Sam Ravnborg
2020-11-09 21:15           ` Lee Jones
2020-11-09 21:15             ` Lee Jones
2020-11-09 21:15             ` Lee Jones
2020-11-09 19:59     ` Lee Jones
2020-11-09 19:59       ` Lee Jones
2020-11-09 19:59       ` Lee Jones
2020-11-06 21:49 ` [PATCH 18/19] drm/radeon/atombios_crtc: Remove description of non-existent function param 'encoder' Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-10 22:01   ` Alex Deucher
2020-11-10 22:01     ` Alex Deucher
2020-11-10 22:01     ` Alex Deucher
2020-11-06 21:49 ` [PATCH 19/19] drm/v3d/v3d_drv: Remove unused static variable 'v3d_v3d_pm_ops' Lee Jones
2020-11-06 21:49   ` Lee Jones
2020-11-06 22:26 ` [PATCH 00/19] [Set 2] Rid W=1 warnings from GPU Sam Ravnborg
2020-11-06 22:26   ` Sam Ravnborg
2020-11-06 22:26   ` Sam Ravnborg
2020-11-07 12:18 ` Christian König
2020-11-07 12:18   ` Christian König
2020-11-07 12:18   ` Christian König
2020-11-07 15:07   ` Lee Jones
2020-11-07 15:07     ` Lee Jones
2020-11-07 15:07     ` Lee Jones
2020-11-07 17:34   ` Sam Ravnborg
2020-11-07 17:34     ` Sam Ravnborg
2020-11-07 17:34     ` Sam Ravnborg
2020-11-07 18:41     ` Lee Jones
2020-11-07 18:41       ` Lee Jones
2020-11-07 18:41       ` Lee Jones
2020-11-07 19:29       ` Sam Ravnborg
2020-11-07 19:29         ` Sam Ravnborg
2020-11-07 19:29         ` Sam Ravnborg
2020-11-13  7:19 ` Lee Jones
2020-11-13  7:19   ` Lee Jones
2020-11-13  7:19   ` Lee Jones
2020-11-13  7:28   ` Alex Deucher
2020-11-13  7:28     ` Alex Deucher
2020-11-13  7:28     ` Alex Deucher
2020-11-13  7:36     ` Lee Jones
2020-11-13  7:36       ` Lee Jones
2020-11-13  7:36       ` Lee Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201106214949.2042120-8-lee.jones@linaro.org \
    --to=lee.jones@linaro.org \
    --cc=airlied@linux.ie \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=christian.koenig@amd.com \
    --cc=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.