Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1400503rwl; Wed, 5 Apr 2023 17:02:02 -0700 (PDT) X-Google-Smtp-Source: AKy350amRa52CIAkFg4vDi5xe98j0Zn/bbmYSjiawJazQxVyMi9Df+YioogsURlMNXsR3KJVUD3x X-Received: by 2002:a17:90a:190d:b0:240:9ccf:41ff with SMTP id 13-20020a17090a190d00b002409ccf41ffmr8268267pjg.49.1680739322185; Wed, 05 Apr 2023 17:02:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680739322; cv=none; d=google.com; s=arc-20160816; b=Qwy4QEj3AJdALSF7mk5zAnBqs+wtHKeqJAyqBBTJ192ck3XJdA4RlkWufIykTsyHIQ JfYbVFBQZl90PZCmW6ZXaUD2fsNlKrTrC8vAnH3UQ8SiGRXh9EEOaQF1DuXpKYhIeLe1 xDyoAniP4wE0ivbgfF71Lk6BlCAIJseawYdWfZAtFNgrVDGvdk9TKKm0eY3otZLskr0q 2BIxM7ytap5Tc6FjCZnXn8rRik/8gh6aASIzDVn7rN8mf51G+ei00MIpIPEpDVe8knkH SHSN5QRsLn6tlervXG33mCmsQbVM3+bJ9uW0zAUqKSHdHpVghiyqtm53nqbHTH2dlMBd JIVg== 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:message-id:references :mime-version:in-reply-to:date:dkim-signature; bh=gyCr9OUcPLoeGPEHX6a4SD6RRnehB93fDgoV/FBdOb0=; b=dMi9ygXC1P4r70mxMIhrVuLaNJFZxEkzvPnbitCcC2gBDqaI+8tfWzVlYICKB9QRCW RoscNSYnWCtW3V9XS74V92IGZyUIfWsdb3g421h+B7cUsG4fB1EB10n3MLuGWayEmcVR P2WbJB8/8lbiE0u/O3t3w6KBpizBEwUCKdIuSmN1D96cG+Y3eaChQAzD7IXkspK7zuR7 BAw26tRv2HDpTb7Imn/dZJ86rtE9TTJE0JqaEOsvAYXB5gIBqqminJbk/Mr0k0nOVgor zwr7ugFrWypCBC5B3W7Z9naswptfOOXZsESalDzlWRk22bbBtcoNaY1ZlfBS4HV9EdL4 FVYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=jSASHtik; 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 q16-20020a170902dad000b00194967b7badsi186186plx.591.2023.04.05.17.01.50; Wed, 05 Apr 2023 17:02:02 -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=jSASHtik; 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 S233659AbjDEX73 (ORCPT + 99 others); Wed, 5 Apr 2023 19:59:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbjDEX72 (ORCPT ); Wed, 5 Apr 2023 19:59:28 -0400 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2308559D6 for ; Wed, 5 Apr 2023 16:59:27 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-545e529206eso312161467b3.9 for ; Wed, 05 Apr 2023 16:59:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1680739166; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=gyCr9OUcPLoeGPEHX6a4SD6RRnehB93fDgoV/FBdOb0=; b=jSASHtikqaA+W7+SCU+z5kmfTP7TKJjZibXBeQPXnNJ+JZ/x8lZxPIGQzQHRQ+Q6iR 8FSoSIywsARlIIBDUoXneqQ+VHub9WFiz+ggHKC/DD+0nwQHrURFKn9/YNL/uqTs+aHK 34kv1vJ5sEfUpFI4kMljruRW4fUtmDtZ7VizjUpkqB4Shk8yb1Sv8otcWtZD5MBxIcaQ 47Jp4me3B4MvHAIo56Mo0Jnn+wJR87GdGQEY7CpHLz5NslLPCHJWCjIxoJ0xaYjqBjMr THR6U6l5CA6EBPezdjoYzMUJq631c6osEwZCovKin+o78FpBayNY2gqFeeo3D/iMsT4l Mm7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680739166; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=gyCr9OUcPLoeGPEHX6a4SD6RRnehB93fDgoV/FBdOb0=; b=gdthOJAteWBlMHt8GAM1nyEYjAl5fIEGJKCjMiDj+6XrxK7LctGKN+FKPrXSn9ZjJt Jz+w635cOyiZ5iFPY+dEcos2IFWPk/QxMQ4/F56OOjdRjT9RYcjqZp5CYELVC7u8p1Gm 96IqAC00klz0qp9PWcXmmtXhAnivBlmGLTiDiEgBZ9DH57rSUuBocO77aphyW42PQnbl nprpYsVzyCOrmkSAma8wp5fUdosiF3XbHkG+OHJw1fSYnA1UjvFv2y+k2u/amjv5j1k3 nDFyvyWJTKOyC5ik8axVIlx8rkikuz+KMiY/hJR1Niip1lTQWD2lWStR7TCZZD0DUNVg LdSw== X-Gm-Message-State: AAQBX9c3DgrCJdJEFJnDVwNYGFt4ylerWMdQM91Sm08dv0kGqDKNBI/z 7IPywdShozMYjpgeA/yKagfUxidFdrw= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a81:441e:0:b0:540:62be:42b with SMTP id r30-20020a81441e000000b0054062be042bmr4798963ywa.6.1680739166441; Wed, 05 Apr 2023 16:59:26 -0700 (PDT) Date: Wed, 5 Apr 2023 16:59:13 -0700 In-Reply-To: <20230404010141.1913667-1-trix@redhat.com> Mime-Version: 1.0 References: <20230404010141.1913667-1-trix@redhat.com> X-Mailer: git-send-email 2.40.0.348.gf938b09366-goog Message-ID: <168073838093.697026.15762641048801886450.b4-ty@google.com> Subject: Re: [PATCH] KVM: x86: set varaiable mitigate_smt_rsb storage-class-specifier to static From: Sean Christopherson To: Sean Christopherson , pbonzini@redhat.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, Tom Rix Cc: x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" X-Spam-Status: No, score=-7.7 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable 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 "varaiable" in the shortlog is mispelled, I just dropped it and wrapped the variable name itself in quotes. On Mon, 03 Apr 2023 21:01:41 -0400, Tom Rix wrote: > smatch reports > arch/x86/kvm/x86.c:199:20: warning: symbol > 'mitigate_smt_rsb' was not declared. Should it be static? > > This variable is only used in one file so it should be static. > > > [...] Applied to kvm-x86 misc, thanks! [1/1] KVM: x86: set "mitigate_smt_rsb" storage-class-specifier to static https://github.com/kvm-x86/linux/commit/944a8dad8b4e -- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes