Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp169479ybj; Fri, 8 May 2020 08:58:34 -0700 (PDT) X-Google-Smtp-Source: APiQypLpUOySscyZZIifNSwXjVmB/Eg0GZGgzi4Gh4U9ndmvg5Vjz4sCoLLjZ0D8zJmiyEkWyH+/ X-Received: by 2002:a05:6402:221c:: with SMTP id cq28mr2555121edb.50.1588953512469; Fri, 08 May 2020 08:58:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588953512; cv=none; d=google.com; s=arc-20160816; b=f6CvDTN6v1VbDip+ulLv/MMvQrYIvSPoD4uJNb/Sro+Pis0Jkt5WWA2MVS5CPIf3bw zSvbgzuts5BrInbvL3VCq9hoFluHgGzmZoo5s3AllLYKzT2Ss9idF13jZ3ugQGJt58Wl aEswOQawTsPPWDoZb71apxPKNdZyttK+BOCZ1cjAZgQth8VNDuQbmL1Tiy7AkFHmOhPZ l+cikdCFztgTebofG188iN7eS/72f8c3z3r7njxqn/wOSdDdhYU6eGazmNb1nT+/Bgkp a6I2HT7Fst4YxSFbDpjEnwwd13IJoqdtesWzkFu60i2iz19ETe+7pys2Hs2p2ImFR7EY We4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=p2cXXVVt6hMQSGVjV4QVW4AzH91k33BUOtcXS/eKqmI=; b=giBkdL6n0fH4tpEnBemsNCL5oW6gbekAq3Qe/4yEEg2zweOzl8iBTjr3+JF5x2Ew3V TEpspFkQQd6Qj7SVZiMQX3EofCEL9ZYpZEb6U7z9Mb7yZ1UBFqG57vD4HIH02I2PaHfT U62ZBFlvKa+ygVMgVS9dKW0+jE+KnF6A88hWlMMkE70YAP6x6vAZGqb62V3J9kEuFjXC eRzut5MoqnJ1/IcjpduYE3b4sZvbU60EjAVlBPC277NQUncUZWJy792rl4acAWxKtc4O MvDZKN/SilBghkGBp+jAuvy/kZG5Uwxj+O3o85M9id6OR7FkMw8aSZN96ObRz3c3jPqW 8oWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=R8SzckG0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n8si1039781edq.213.2020.05.08.08.58.08; Fri, 08 May 2020 08:58:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=R8SzckG0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728053AbgEHPxs (ORCPT + 99 others); Fri, 8 May 2020 11:53:48 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:40200 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726767AbgEHPxr (ORCPT ); Fri, 8 May 2020 11:53:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588953226; 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: in-reply-to:in-reply-to:references:references; bh=p2cXXVVt6hMQSGVjV4QVW4AzH91k33BUOtcXS/eKqmI=; b=R8SzckG059dopqH7e0D0fIpQPLfLbkTg2mpqEX8aOJjLBuqMjoJHnN/NDh8BHcA7mtCEBH IcBcfwOL/uas7XHqet4UbLfAp4rC3dB11o2P7h+Hu12ppnrwuBCkpV/Kxew9LlrsHjE0NI ikdHyyz+h5SW6PNuD70LccVvbk/2fDM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-349-lMGPCzd4Ml65WMQz9PceyQ-1; Fri, 08 May 2020 11:53:42 -0400 X-MC-Unique: lMGPCzd4Ml65WMQz9PceyQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 781C21800D42; Fri, 8 May 2020 15:53:41 +0000 (UTC) Received: from treble (ovpn-115-96.rdu2.redhat.com [10.10.115.96]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D52BF5D9CA; Fri, 8 May 2020 15:53:37 +0000 (UTC) Date: Fri, 8 May 2020 10:53:35 -0500 From: Josh Poimboeuf To: Samuel Zou Cc: jikos@kernel.org, mbenes@suse.cz, pmladek@suse.com, joe.lawrence@redhat.com, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] livepatch: Make klp_apply_object_relocs static Message-ID: <20200508155335.jyfo4rhdvbyoq5kl@treble> References: <1588939594-58255-1-git-send-email-zou_wei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1588939594-58255-1-git-send-email-zou_wei@huawei.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 08, 2020 at 08:06:34PM +0800, Samuel Zou wrote: > Fix the following sparse warning: > > kernel/livepatch/core.c:748:5: warning: symbol 'klp_apply_object_relocs' > was not declared. Should it be static? Yes, it should :-) So instead of the question, the patch description should probably state that it should be static because its only caller is in the file. With that change: Acked-by: Josh Poimboeuf -- Josh