From a926aab902ac5c680f4766568d19674b80fb58bb Mon Sep 17 00:00:00 2001 From: наб Date: Tue, 19 Apr 2022 20:38:30 +0200 Subject: Enable -Wwrite-strings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also, fix leak from ztest_global_vars_to_zdb_args() Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia Ziemiańska Closes #13348 --- module/icp/algs/modes/gcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/icp/algs/modes') diff --git a/module/icp/algs/modes/gcm.c b/module/icp/algs/modes/gcm.c index ee2100b7f..e6a631c1a 100644 --- a/module/icp/algs/modes/gcm.c +++ b/module/icp/algs/modes/gcm.c @@ -907,7 +907,7 @@ gcm_impl_init(void) } static const struct { - char *name; + const char *name; uint32_t sel; } gcm_impl_opts[] = { { "cycle", IMPL_CYCLE }, -- cgit v1.2.3