{"id":680145,"url":"http://patchwork.ozlabs.org/api/patches/680145/?format=json","web_url":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1476059480-18145-1-git-send-email-dja@axtens.net/","project":{"id":2,"url":"http://patchwork.ozlabs.org/api/projects/2/?format=json","name":"Linux PPC development","link_name":"linuxppc-dev","list_id":"linuxppc-dev.lists.ozlabs.org","list_email":"linuxppc-dev@lists.ozlabs.org","web_url":"https://github.com/linuxppc/wiki/wiki","scm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git","webscm_url":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/","list_archive_url":"https://lore.kernel.org/linuxppc-dev/","list_archive_url_format":"https://lore.kernel.org/linuxppc-dev/{}/","commit_url_format":"https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"},"msgid":"<1476059480-18145-1-git-send-email-dja@axtens.net>","list_archive_url":"https://lore.kernel.org/linuxppc-dev/1476059480-18145-1-git-send-email-dja@axtens.net/","date":"2016-10-10T00:31:19","name":"[1/2] KVM: PPC: Fix sparse static warning.","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"d54f982b95bcfc9627d37fe30e32d8088d6436c8","submitter":{"id":65792,"url":"http://patchwork.ozlabs.org/api/people/65792/?format=json","name":"Daniel Axtens","email":"dja@axtens.net"},"delegate":{"id":13,"url":"http://patchwork.ozlabs.org/api/users/13/?format=json","username":"paulus","first_name":"Paul","last_name":"Mackerras","email":"paulus@samba.org"},"mbox":"http://patchwork.ozlabs.org/project/linuxppc-dev/patch/1476059480-18145-1-git-send-email-dja@axtens.net/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/680145/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/680145/checks/","tags":{},"related":[],"headers":{"Return-Path":"<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>","X-Original-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Delivered-To":["patchwork-incoming@ozlabs.org","linuxppc-dev@lists.ozlabs.org"],"Received":["from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3ssh1Y5Fj5z9s3T\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 10 Oct 2016 11:33:21 +1100 (AEDT)","from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3ssh1Y4J56zDsjl\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 10 Oct 2016 11:33:21 +1100 (AEDT)","from mail-pa0-x243.google.com (mail-pa0-x243.google.com\n\t[IPv6:2607:f8b0:400e:c03::243])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3ssgzp1W9jzDrPL\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tMon, 10 Oct 2016 11:31:49 +1100 (AEDT)","by mail-pa0-x243.google.com with SMTP id rw4so1200392pab.3\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tSun, 09 Oct 2016 17:31:49 -0700 (PDT)","from possimpible.ozlabs.ibm.com ([122.99.82.10])\n\tby smtp.gmail.com with ESMTPSA id\n\tzg12sm13306792pab.5.2016.10.09.17.31.45\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSun, 09 Oct 2016 17:31:47 -0700 (PDT)"],"Authentication-Results":["ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=axtens.net header.i=@axtens.net\n\theader.b=W+/WVOrA; dkim-atps=neutral","lists.ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=axtens.net header.i=@axtens.net\n\theader.b=W+/WVOrA; dkim-atps=neutral","lists.ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=axtens.net header.i=@axtens.net\n\theader.b=W+/WVOrA; dkim-atps=neutral"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=axtens.net; s=google;\n\th=from:to:cc:subject:date:message-id;\n\tbh=NcNPUpfAm5kBGik72/EHl4FsDAswt7Qao4wUfqJDyOg=;\n\tb=W+/WVOrAxY+bQTh1Yj20dliV0leL57KkBwzjd/Dp+1Hd/MRVdEzGArLvrZSvlj7Yxh\n\tZzdT2cY90DJHNqIYynNmvEiVmQ/v2WQ4Kz4yLlSBRKU9uOhETDUHUjO+08LPtuDmNgre\n\t6BWcedhvyfCV9mwxny3qEmZIYRY2GuyJp7MHE=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=NcNPUpfAm5kBGik72/EHl4FsDAswt7Qao4wUfqJDyOg=;\n\tb=QptxRPtqlU+CFjOwMZOAhof6gtAztc4aUdR9lYceCgoJywHemaco8W90IgQO87rBiZ\n\t1zswxjwsqiagltdgWgUexPlkZvnjTMt/xEfE4vC29R23O4pA/V1xX4OtuU+R8tQs0Tw8\n\t56WnjZOxRbQ91k7VPQw8A4UuoVehkWLm6cC+c95rdkawfIPg0aKzQ3tBjfA9/zwLwBe4\n\tCeN5BwyleW4050EbH0DDednEEY5wNt7GafmDOe4EZ3Yx/lGUayDiN/kU6iAPiY0w4zD/\n\tgyMoyupI7H1hzfZO6VSEzCzVU0sL9lwUz+nu2yJ9h4udI4ZW4jZWShcQz8rElyKWA5Da\n\tFEKg==","X-Gm-Message-State":"AA6/9Rmf2Ki2WRNJCz2/lv9L1LheObfi9K3LGSgIfWDizybMFT2gooaKJE4RyloByvc+Og==","X-Received":"by 10.66.190.201 with SMTP id gs9mr50372909pac.42.1476059507731; \n\tSun, 09 Oct 2016 17:31:47 -0700 (PDT)","From":"Daniel Axtens <dja@axtens.net>","To":"linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org,\n\tkvm-ppc@vger.kernel.org, paulus@samba.org","Subject":"[PATCH 1/2] KVM: PPC: Fix sparse static warning.","Date":"Mon, 10 Oct 2016 11:31:19 +1100","Message-Id":"<1476059480-18145-1-git-send-email-dja@axtens.net>","X-Mailer":"git-send-email 2.7.4","X-BeenThere":"linuxppc-dev@lists.ozlabs.org","X-Mailman-Version":"2.1.23","Precedence":"list","List-Id":"Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>","List-Unsubscribe":"<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>","List-Archive":"<http://lists.ozlabs.org/pipermail/linuxppc-dev/>","List-Post":"<mailto:linuxppc-dev@lists.ozlabs.org>","List-Help":"<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>","List-Subscribe":"<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>","Cc":"Daniel Axtens <dja@axtens.net>","Errors-To":"linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org","Sender":"\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"},"content":"Squash a couple of sparse warnings by making things static.\n\nBuild tested.\n\nSigned-off-by: Daniel Axtens <dja@axtens.net>\n---\n arch/powerpc/kvm/book3s_64_mmu_hv.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)","diff":"diff --git a/arch/powerpc/kvm/book3s_64_mmu_hv.c b/arch/powerpc/kvm/book3s_64_mmu_hv.c\nindex 05f09ae82587..95abca69b168 100644\n--- a/arch/powerpc/kvm/book3s_64_mmu_hv.c\n+++ b/arch/powerpc/kvm/book3s_64_mmu_hv.c\n@@ -255,7 +255,7 @@ static void kvmppc_mmu_book3s_64_hv_reset_msr(struct kvm_vcpu *vcpu)\n \tkvmppc_set_msr(vcpu, msr);\n }\n \n-long kvmppc_virtmode_do_h_enter(struct kvm *kvm, unsigned long flags,\n+static long kvmppc_virtmode_do_h_enter(struct kvm *kvm, unsigned long flags,\n \t\t\t\tlong pte_index, unsigned long pteh,\n \t\t\t\tunsigned long ptel, unsigned long *pte_idx_ret)\n {\n@@ -1608,7 +1608,7 @@ static ssize_t debugfs_htab_read(struct file *file, char __user *buf,\n \treturn ret;\n }\n \n-ssize_t debugfs_htab_write(struct file *file, const char __user *buf,\n+static ssize_t debugfs_htab_write(struct file *file, const char __user *buf,\n \t\t\t   size_t len, loff_t *ppos)\n {\n \treturn -EACCES;\n","prefixes":["1/2"]}