lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1514884353-28550-1-git-send-email-vaibhavddit@gmail.com>
Date:   Tue,  2 Jan 2018 14:42:33 +0530
From:   Vaibhav Kothari <vaibhavddit@...il.com>
To:     airlied@...ux.ie
Cc:     bskeggs@...hat.com, linux-kernel@...r.kernel.org,
        dri-devel@...ts.freedesktop.org,
        Vaibhav Kothari <vaibhavddit@...il.com>
Subject: [PATCH] drivers: gpu: drm: Fix warning for incomplete Declarations in client.c

This patch fixes the Sparse Warning "symbol was
not declared. Should it be static?" in nvkm/core/client.c

Signed-off-by: Vaibhav Kothari <vaibhavddit@...il.com>
---
 drivers/gpu/drm/nouveau/nvkm/core/client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/nvkm/core/client.c b/drivers/gpu/drm/nouveau/nvkm/core/client.c
index ac67120..0c8c55c 100644
--- a/drivers/gpu/drm/nouveau/nvkm/core/client.c
+++ b/drivers/gpu/drm/nouveau/nvkm/core/client.c
@@ -60,7 +60,7 @@ nvkm_uclient_new(const struct nvkm_oclass *oclass, void *argv, u32 argc,
 	return 0;
 }
 
-const struct nvkm_sclass
+static const struct nvkm_sclass
 nvkm_uclient_sclass = {
 	.oclass = NVIF_CLASS_CLIENT,
 	.minver = 0,
-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ