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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1576491645-18795-1-git-send-email-zhongjiang@huawei.com>
Date:   Mon, 16 Dec 2019 18:20:45 +0800
From:   zhong jiang <zhongjiang@...wei.com>
To:     <airlied@...hat.com>, <airlied@...ux.ie>, <daniel@...ll.ch>
CC:     <linux-kernel@...r.kernel.org>, <zhongjiang@...wei.com>
Subject: [PATCH] drm/ast: make the symbol 'ast_primary_plane_helper_atomic_update' static

Fix the following sparse warning.

drivers/gpu/drm/ast/ast_mode.c:563:6: warning: symbol 'ast_primary_plane_helper_atomic_update' was not declared. Should it be static?

Signed-off-by: zhong jiang <zhongjiang@...wei.com>
---
 drivers/gpu/drm/ast/ast_mode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/ast/ast_mode.c b/drivers/gpu/drm/ast/ast_mode.c
index cde1cae..44b598d 100644
--- a/drivers/gpu/drm/ast/ast_mode.c
+++ b/drivers/gpu/drm/ast/ast_mode.c
@@ -560,7 +560,7 @@ static int ast_primary_plane_helper_atomic_check(struct drm_plane *plane,
 	return 0;
 }
 
-void ast_primary_plane_helper_atomic_update(struct drm_plane *plane,
+static void ast_primary_plane_helper_atomic_update(struct drm_plane *plane,
 					    struct drm_plane_state *old_state)
 {
 	struct ast_private *ast = plane->dev->dev_private;
-- 
1.7.12.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ