mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/5] drm/nouveau/nvfw/acr: make wpr_generic_header_dump() static
@ 2022-11-11  9:11 Jiapeng Chong
  2022-11-11  9:11 ` [PATCH 2/5] drm/nouveau/acr: remove the unused variable loc Jiapeng Chong
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Jiapeng Chong @ 2022-11-11  9:11 UTC (permalink / raw)
  To: bskeggs
  Cc: kherbst, lyude, airlied, daniel, dri-devel, nouveau,
	linux-kernel, Jiapeng Chong, Abaci Robot

This symbol is not used outside of acr.c, so marks it static.

drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c:49:1: warning: no previous prototype for ‘wpr_generic_header_dump’.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3023
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c b/drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c
index 83a9c48bc58c..7ac90c495737 100644
--- a/drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c
+++ b/drivers/gpu/drm/nouveau/nvkm/nvfw/acr.c
@@ -45,7 +45,7 @@ wpr_header_v1_dump(struct nvkm_subdev *subdev, const struct wpr_header_v1 *hdr)
 	nvkm_debug(subdev, "\tstatus        : %d\n", hdr->status);
 }
 
-void
+static void
 wpr_generic_header_dump(struct nvkm_subdev *subdev, const struct wpr_generic_header *hdr)
 {
 	nvkm_debug(subdev, "wprGenericHeader\n");
-- 
2.20.1.7.g153144c


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

end of thread, other threads:[~2022-11-11 22:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-11  9:11 [PATCH 1/5] drm/nouveau/nvfw/acr: make wpr_generic_header_dump() static Jiapeng Chong
2022-11-11  9:11 ` [PATCH 2/5] drm/nouveau/acr: remove the unused variable loc Jiapeng Chong
2022-11-11  9:11 ` [PATCH 3/5] drm/nouveau/fifo: make nvkm_engn_cgrp_get static Jiapeng Chong
2022-11-11  9:11 ` [PATCH 4/5] drm/nouveau/fifo/gf100-: make gf100_fifo_nonstall_block() static Jiapeng Chong
2022-11-11  9:11 ` [PATCH 5/5] drm/nouveau/gr/tu102: Remove the unused function tu102_gr_load() Jiapeng Chong
2022-11-11 22:35 ` [PATCH 1/5] drm/nouveau/nvfw/acr: make wpr_generic_header_dump() static Lyude Paul
2022-11-11 22:45 ` Lyude Paul

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®