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: <20220519025414.216662-1-guozihua@huawei.com>
Date:   Thu, 19 May 2022 10:54:14 +0800
From:   GUO Zihua <guozihua@...wei.com>
To:     <linux-kernel@...r.kernel.org>
CC:     patchwork <patchwork@...wei.com>,
        Wang Weiyang <wangweiyang2@...wei.com>,
        Xiu Jianfeng <xiujianfeng@...wei.com>,
        Xiang Yang <xiangyang3@...wei.com>,
        Cui Gaosheng <cuigaosheng1@...wei.com>,
        Lu Jialin <lujialin4@...wei.com>,
        Yi Yang <yiyang13@...wei.com>,
        Gong Ruiqi <gongruiqi1@...wei.com>,
        Guo Zihua <guozihua@...wei.com>
Subject: [PATCH] samples: Remove redundant assignment for cn_test sample

Remove redundant assignment for m->len

Signed-off-by: GUO Zihua <guozihua@...wei.com>
---
 samples/connector/cn_test.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/samples/connector/cn_test.c b/samples/connector/cn_test.c
index 0958a171d048..42d6c9f33842 100644
--- a/samples/connector/cn_test.c
+++ b/samples/connector/cn_test.c
@@ -124,7 +124,6 @@ static void cn_test_timer_func(struct timer_list *unused)
 
 		memcpy(&m->id, &cn_test_id, sizeof(m->id));
 		m->seq = cn_test_timer_counter;
-		m->len = sizeof(data);
 
 		m->len =
 		    scnprintf(data, sizeof(data), "counter = %u",
-- 
2.36.0

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ