All of lore.kernel.org
 help / color / mirror / Atom feed
* [skeggsb:linux-5.12 6/19] drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c:50:1: sparse: sparse: symbol 'tu102_mc_intr_unarm' was not declared. Should it be
@ 2021-01-29  8:44 kernel test robot
  2021-01-29  8:44 ` [RFC PATCH skeggsb] drm/nouveau/mc/tu102: tu102_mc_intr_unarm can be static kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-01-29  8:44 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1717 bytes --]

tree:   https://github.com/skeggsb/linux linux-5.12
head:   d1f5a3fc85566e9ddce9361ef180f070367e6eab
commit: c3cc12eaf511a8a47ade42f521534255ef8ffd47 [6/19] drm/nouveau/mc/tu102: Fix MMU fault interrupts on Turing
config: i386-randconfig-s001-20210129 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-215-g0fb77bb6-dirty
        # https://github.com/skeggsb/linux/commit/c3cc12eaf511a8a47ade42f521534255ef8ffd47
        git remote add skeggsb https://github.com/skeggsb/linux
        git fetch --no-tags skeggsb linux-5.12
        git checkout c3cc12eaf511a8a47ade42f521534255ef8ffd47
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


"sparse warnings: (new ones prefixed by >>)"
>> drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c:50:1: sparse: sparse: symbol 'tu102_mc_intr_unarm' was not declared. Should it be static?
>> drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c:62:1: sparse: sparse: symbol 'tu102_mc_intr_rearm' was not declared. Should it be static?
>> drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c:74:1: sparse: sparse: symbol 'tu102_mc_intr_mask' was not declared. Should it be static?
>> drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c:132:1: sparse: sparse: symbol 'tu102_mc_new_' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35129 bytes --]

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

* [RFC PATCH skeggsb] drm/nouveau/mc/tu102: tu102_mc_intr_unarm can be static
  2021-01-29  8:44 [skeggsb:linux-5.12 6/19] drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c:50:1: sparse: sparse: symbol 'tu102_mc_intr_unarm' was not declared. Should it be kernel test robot
@ 2021-01-29  8:44 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-01-29  8:44 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1335 bytes --]


Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
 tu102.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c b/drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c
index cda924d56a2a7..0d715f265b077 100644
--- a/drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c
+++ b/drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c
@@ -46,7 +46,7 @@ tu102_mc_intr_update(struct tu102_mc *mc)
 		nvkm_wr32(device, 0xb81610, 0x6);
 }
 
-void
+static void
 tu102_mc_intr_unarm(struct nvkm_mc *base)
 {
 	struct tu102_mc *mc = tu102_mc(base);
@@ -58,7 +58,7 @@ tu102_mc_intr_unarm(struct nvkm_mc *base)
 	spin_unlock_irqrestore(&mc->lock, flags);
 }
 
-void
+static void
 tu102_mc_intr_rearm(struct nvkm_mc *base)
 {
 	struct tu102_mc *mc = tu102_mc(base);
@@ -70,7 +70,7 @@ tu102_mc_intr_rearm(struct nvkm_mc *base)
 	spin_unlock_irqrestore(&mc->lock, flags);
 }
 
-void
+static void
 tu102_mc_intr_mask(struct nvkm_mc *base, u32 mask, u32 intr)
 {
 	struct tu102_mc *mc = tu102_mc(base);
@@ -128,7 +128,7 @@ tu102_mc = {
 	.reset = gk104_mc_reset,
 };
 
-int
+static int
 tu102_mc_new_(const struct nvkm_mc_func *func, struct nvkm_device *device,
 	      int index, struct nvkm_mc **pmc)
 {

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

end of thread, other threads:[~2021-01-29  8:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-29  8:44 [skeggsb:linux-5.12 6/19] drivers/gpu/drm/nouveau/nvkm/subdev/mc/tu102.c:50:1: sparse: sparse: symbol 'tu102_mc_intr_unarm' was not declared. Should it be kernel test robot
2021-01-29  8:44 ` [RFC PATCH skeggsb] drm/nouveau/mc/tu102: tu102_mc_intr_unarm can be static kernel test robot

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.