From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81E61C433E7 for ; Mon, 19 Oct 2020 16:03:42 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7AE4D2224D for ; Mon, 19 Oct 2020 16:03:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="OsciWpbx"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="OsciWpbx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7AE4D2224D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4CFM4V1tqPzDqjJ for ; Tue, 20 Oct 2020 03:03:38 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=redhat.com (client-ip=216.205.24.124; helo=us-smtp-delivery-124.mimecast.com; envelope-from=pbonzini@redhat.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=OsciWpbx; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=OsciWpbx; dkim-atps=neutral Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4CFM271VNnzDqWx for ; Tue, 20 Oct 2020 03:01:28 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603123286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xnOeLfGLTUy5AgN8jhCNmXzK0dSH/7S/Ox3jrYuwhp4=; b=OsciWpbxdXaV+0+i/en2ntNJiLKGdy2YT99GhrrIlavEyXSt/xEygtQWpiv+zGp5BaCaNg H5k9kyFcGONIiHG6kaI2SV6Hl+2PV2l3bVR18toOrhIzMhsoXDIJICpsoeyZ1KnCP6Ym9n /H96Q5RSxrd0b4tFXwxuDbvFnq8Cdyw= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603123286; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xnOeLfGLTUy5AgN8jhCNmXzK0dSH/7S/Ox3jrYuwhp4=; b=OsciWpbxdXaV+0+i/en2ntNJiLKGdy2YT99GhrrIlavEyXSt/xEygtQWpiv+zGp5BaCaNg H5k9kyFcGONIiHG6kaI2SV6Hl+2PV2l3bVR18toOrhIzMhsoXDIJICpsoeyZ1KnCP6Ym9n /H96Q5RSxrd0b4tFXwxuDbvFnq8Cdyw= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-559-4t5fYgrSOaKWT1a03e1AFw-1; Mon, 19 Oct 2020 12:01:18 -0400 X-MC-Unique: 4t5fYgrSOaKWT1a03e1AFw-1 Received: by mail-wm1-f72.google.com with SMTP id z7so6052wmi.3 for ; Mon, 19 Oct 2020 09:01:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=xnOeLfGLTUy5AgN8jhCNmXzK0dSH/7S/Ox3jrYuwhp4=; b=aHRLZGw6/cocOPSetwcgo5/EKBDMH126vCw9Afyd7rw3kxKxDGPfkjgrRsPpSsEMCx zSxIJZAy9ZxDz7Rhs2s6uwGaBANXimwmLh1Y8oKp+Ev1fo8V3cgF1Z4/3HCWeHjn1hAo 6R0GgLcj/8FNC2yoSv5tuZQsL2GYtDFPJ9I6dT17SxVxOpbGw76g4VyDnnHBEOxIcmNU 6w/uVSouGOj5BMcumPDKgyR6bKDvunYz51GZp2iMbNLM/So0BMXbmbZtQVQvVLgIkHd6 6/VT3gyCX1ilD5uYw5T44Tg/BSkOqrfXAL89G+klQbkzOI8LP7vClb2SP5vFw5w5t2o1 E2+Q== X-Gm-Message-State: AOAM530nDvPvKGbwMdNxmWRsZQZBSX70dVViZ6HZOcRjG21erGqpi3Tm X11KS5LmgQ/gLJ2TAOBRyp7GSExLQG8badWTl/dVOwZp6+I+duUU91MAFFVRhrWT0gR/WaSYqmv oqOS0IQ31QE1kjbbfM2IoLer4Wg== X-Received: by 2002:adf:fa05:: with SMTP id m5mr245228wrr.57.1603123277243; Mon, 19 Oct 2020 09:01:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKxOu81uqDh+9uxrRSdxg88EvBO4mlL2AidEN3mjsJSrEou8SdfIvWp/NkY5z0pMi9CEOU/Q== X-Received: by 2002:adf:fa05:: with SMTP id m5mr245196wrr.57.1603123277038; Mon, 19 Oct 2020 09:01:17 -0700 (PDT) Received: from ?IPv6:2001:b07:6468:f312:c8dd:75d4:99ab:290a? ([2001:b07:6468:f312:c8dd:75d4:99ab:290a]) by smtp.gmail.com with ESMTPSA id x65sm55385wmg.1.2020.10.19.09.01.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Oct 2020 09:01:16 -0700 (PDT) Subject: Re: [PATCH 1/4] KVM: PPC: Book3S HV: Make struct kernel_param_ops definition const To: Joe Perches , Paul Mackerras References: From: Paolo Bonzini Message-ID: Date: Mon, 19 Oct 2020 18:01:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=pbonzini@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kvm-ppc@vger.kernel.org, Athira Rajeev , Tianjia Zhang , Ram Pai , linux-kernel@vger.kernel.org, Sean Christopherson , Bharata B Rao , Davidlohr Bueso , Nicholas Piggin , Laurent Dufour , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On 04/10/20 02:18, Joe Perches wrote: > This should be const, so make it so. > > Signed-off-by: Joe Perches > --- > arch/powerpc/kvm/book3s_hv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c > index 4ba06a2a306c..2b215852cdc9 100644 > --- a/arch/powerpc/kvm/book3s_hv.c > +++ b/arch/powerpc/kvm/book3s_hv.c > @@ -111,7 +111,7 @@ module_param(one_vm_per_core, bool, S_IRUGO | S_IWUSR); > MODULE_PARM_DESC(one_vm_per_core, "Only run vCPUs from the same VM on a core (requires indep_threads_mode=N)"); > > #ifdef CONFIG_KVM_XICS > -static struct kernel_param_ops module_param_ops = { > +static const struct kernel_param_ops module_param_ops = { > .set = param_set_int, > .get = param_get_int, > }; > Queued, thanks. Paolo