Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp847510iol; Thu, 9 Jun 2022 15:45:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/A12vt/D36foJSbJQE7rkrtPnfKRetCFnPf8jfEc1eRKSTQQst1MqQEjw5cZidU8DaTCQ X-Received: by 2002:a17:90b:1b4d:b0:1e8:70ea:141d with SMTP id nv13-20020a17090b1b4d00b001e870ea141dmr5512644pjb.146.1654814703083; Thu, 09 Jun 2022 15:45:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654814703; cv=none; d=google.com; s=arc-20160816; b=Dp2GBmj/eDcxRHjqoO2ze7THyHck8mgd0+Wtz66oEIiKJBXXtPX0j1KK2GRUXKkH20 qocv8RKvtPifSjJ45F6KJx6fazzY3+rDpUDaHxREq3wS83qH+Cyh2pfRQVX5DxA7ULca sRMafrqhZIl8NZ1dpgMV/dgyw3vMrK8P75SXxnBmeTaUX51m78fhuvAAija3EhFsw2VI bQIsKy5yG9bs0WRYt8WdQ8q3i8SmLy5kO1xFrdurNJCqgJzBU5fygb9AzkkZHKkJJz5v h2NcxTP1shFprlLgF/v2FqV6n1ADXtX67+fo4oZJX5CT14I5DxnGSJvRgaj6IJr90gY0 78LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:dkim-signature; bh=v4Xn62a8gwv09PX197f2KX5K6c68JUg+Unaoh5Rs3zU=; b=ALuukaW+c99e0mOjff59/sZqvT1Tklkfvi/9p3Gnb+9/TMkJob+lqbs4f5zhYBB0VO qyxlq8CoVOL085FfyCAhZpnnYdecX00Lw4AENGP+JwqYRU673R+ZrCsJ2GGFontqKXTw eAu4XrCOlQSrdV7CLNhDa/APClkHORpzaMN/MmUS8kmS1x0jtmnPj7HJrX4rf54kXJLC p2wFpAuwZqyZJh/UhNzQ1leyvKeLoJoqVZSTAa24aCAaikXj7oXtylsZwOM9UxqaYJPE by2iMVGbMcYMJyfZb1QKGEPfFKCtk/dBtbTMJ5q0E53BQqtPUtFWkYox+34xbvAbu8U4 USZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=rIM31hja; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d12-20020a170902cecc00b00163f8ddf15asi37055592plg.478.2022.06.09.15.44.50; Thu, 09 Jun 2022 15:45:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=rIM31hja; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232297AbiFIWVU (ORCPT + 99 others); Thu, 9 Jun 2022 18:21:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60364 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345677AbiFIWVF (ORCPT ); Thu, 9 Jun 2022 18:21:05 -0400 Received: from mail-yb1-xb49.google.com (mail-yb1-xb49.google.com [IPv6:2607:f8b0:4864:20::b49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D72C34ECD2 for ; Thu, 9 Jun 2022 15:21:03 -0700 (PDT) Received: by mail-yb1-xb49.google.com with SMTP id u128-20020a25dd86000000b0066073927e92so17261910ybg.13 for ; Thu, 09 Jun 2022 15:21:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=v4Xn62a8gwv09PX197f2KX5K6c68JUg+Unaoh5Rs3zU=; b=rIM31hja6TacLFy83ekGaYY6NocbE3+qp06k1AYSWqT3YCOM3vKnexoLoVRg3/QFrC NK6lDPMraatUaGV4ysDVq7Ma73A8ej30mShvcnMynXPj4q1s4HwLXHsyE5NReacxVqEF SN/r5DNjRMP1h9Yx1PS5+t5PqoRBJ1DmF1KeRqex3FpyMoNRbYlXt2tQwLA6Cftv+3aS xU6s22QmO1Pl1Kwrbe6vsMz+d3Z4FRfHNfEK9twj222QTX3BVZNBOKgun1MV8xBDAQQA +IscNJZzBGaDfdE3Gg++zvAyvxAsnUQ0EJis1knVDwKv7m2aWEOPArINp5NiPyNi+Z2n h4Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=v4Xn62a8gwv09PX197f2KX5K6c68JUg+Unaoh5Rs3zU=; b=7SmUHk6ItiCX3X0gMLzKOfMMo4A0axLqSfc/L0YdUv2baJ91nRo8N/8p8joNtK3JW2 JMkOe7BsVDZD3bZNBxngmHmjrUbYhO1yErf2Xx3/B3Es+swXctUW3JqTxX2T56CL20TF 4XYNO3/025LYTPProv1SbG2fVcKF+O+QybmruLNqGU12pjr0L0R7Vt/qYGpIg+Y2XHKP +lq1gBvA/RZSo7KJBxCEu3KNZKXUZsgr/7HQFlGsLZzmWk0dhQhE3dOibli5OVWT56KW aZX+Jg6xVZFrme83fD71Hkt21xcBnqkz0VrED0YY2HEreZL58B099QXVJ/fUF1ovDTms Y3pg== X-Gm-Message-State: AOAM532xRayeBRuJjM/mDpQa8NntrHHmk/9vUPbU5K9oIjqu+vwRuWUJ ovrNPjcCDasqNdS0nVxm6iuOraxz X-Received: from fawn.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5795]) (user=morbo job=sendgmr) by 2002:a25:76d5:0:b0:663:ad77:8d48 with SMTP id r204-20020a2576d5000000b00663ad778d48mr18678005ybc.633.1654813262959; Thu, 09 Jun 2022 15:21:02 -0700 (PDT) Date: Thu, 9 Jun 2022 22:16:29 +0000 In-Reply-To: <20220609221702.347522-1-morbo@google.com> Message-Id: <20220609221702.347522-11-morbo@google.com> Mime-Version: 1.0 References: <20220609221702.347522-1-morbo@google.com> X-Mailer: git-send-email 2.36.1.476.g0c4daa206d-goog Subject: [PATCH 10/12] ALSA: seq: use correct format characters From: Bill Wendling To: isanbard@gmail.com Cc: Tony Luck , Borislav Petkov , Thomas Gleixner , Ingo Molnar , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Phillip Potter , Arnd Bergmann , Greg Kroah-Hartman , "Rafael J. Wysocki" , Jan Kara , Andrew Morton , Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jaroslav Kysela , Takashi Iwai , Nathan Chancellor , Nick Desaulniers , Tom Rix , Ross Philipson , Daniel Kiper , linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-mm@kvack.org, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, alsa-devel@alsa-project.org, llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bill Wendling When compiling with -Wformat, clang emits the following warnings: sound/core/sound.c:79:17: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security] request_module(str); ^~~ Use a string literal for the format string. Link: https://github.com/ClangBuiltLinux/linux/issues/378 Signed-off-by: Bill Wendling --- sound/core/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/core/sound.c b/sound/core/sound.c index df5571d98629..7866f29621bf 100644 --- a/sound/core/sound.c +++ b/sound/core/sound.c @@ -76,7 +76,7 @@ static void snd_request_other(int minor) case SNDRV_MINOR_TIMER: str = "snd-timer"; break; default: return; } - request_module(str); + request_module("%s", str); } #endif /* modular kernel */ -- 2.36.1.255.ge46751e96f-goog