Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp169056ybj; Fri, 8 May 2020 08:57:51 -0700 (PDT) X-Google-Smtp-Source: APiQypL1gqNLXpI4s8fDf9/XSNvfjMJ4/s/1iEmFDASamofNw71SWxIzkjA6bCBZmb3XV0ZibgAm X-Received: by 2002:a50:bb07:: with SMTP id y7mr2655140ede.358.1588953470603; Fri, 08 May 2020 08:57:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588953470; cv=none; d=google.com; s=arc-20160816; b=Z6haB9LZp90iRfkQwWmSvgm0o4Tib8aLm9ZyglLOyVJIDCdgSkdX7nnbAFLn/0O8Tj 6BLV/hCX2T14F1gqMhU1vPXCx4KD1AZJ4A5znvWdjMD8l3b3Ji+cdccIEdFe5c9BafU1 bP1YfkhvVpav1jIw8+mjFSsfAsuzN6tUml6tJj5hPCbnuAxVMw75UjKUyioK8bhwMX/u bL/5lCn+pHF7z95HOTPMpjtEf61acCCNp06ilfcH/Vz79pABhh5+01d0LaqOJHMdGmQw WzLBAl5cXRL8QncvNrv2CgNZp9dCd6VtzbjuDJbY6pmNAm/Fgso5tkRSz+XYb8ZBxYx4 uJqw== 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=AEs8yUw7AICa5TgXel8CzNJzF7a92y7CCE6VKa4PeRM=; b=ZOCSzCDVZt3iE4RO65ILbpKRgza+Rr2yQIqIbTupMK40xEzpQVWCurn3Aszz32pw4a gqRWLSiOB6HYrDNiAkNp1+jfnWOpleizUVeWNGX7a8CpEbkHysL+HHYNa7kSCrc0v8T1 0+XfR7c7bLtRmK24KsiBO+5+0H63/cDRIaOng6uObc19qZUY9w/U7zgBh4LzxcQqhV1K YHaMmQGH8I8w0Q7UTfS1i8I8dh+X41orOvappkVW5Zi7G5iw3vWKRYmdvJHBJNz7OQu3 C2cg4sZBoPv4ueI4mEsWfLMmsvusDWjyEswkbgHejNmAGOW0mvUNWzbjm6oPY/TKICaK miHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Eg5cCPOy; 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 t12si1099634ejb.508.2020.05.08.08.57.27; Fri, 08 May 2020 08:57:50 -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=Eg5cCPOy; 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 S1727113AbgEHPzX (ORCPT + 99 others); Fri, 8 May 2020 11:55:23 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:21984 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726767AbgEHPzV (ORCPT ); Fri, 8 May 2020 11:55:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588953320; 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=AEs8yUw7AICa5TgXel8CzNJzF7a92y7CCE6VKa4PeRM=; b=Eg5cCPOykzpbDb+qyf3nGJS7DzLOXluUPJPKu2KqrhkkKRgK42orsliFjf1ynW29uSOCiL bRHWnQqqWUaiEv/dWw2eysZKL8vL1Of9u0AGSfjEi+sKghxXxDbmDVDwCi9oy3LQrQMBiB KtV3XXzI30Eh3wrQY5gbbEi7AGOCUOY= 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-464-rKKGrZ9AMfCjnCdJvuNSLg-1; Fri, 08 May 2020 11:55:18 -0400 X-MC-Unique: rKKGrZ9AMfCjnCdJvuNSLg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7AA2A1800D42; Fri, 8 May 2020 15:55:17 +0000 (UTC) Received: from treble (ovpn-115-96.rdu2.redhat.com [10.10.115.96]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B113D100164D; Fri, 8 May 2020 15:55:13 +0000 (UTC) Date: Fri, 8 May 2020 10:55:11 -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: <20200508155511.462d6pnbebcryi2j@treble> References: <1588939594-58255-1-git-send-email-zou_wei@huawei.com> <20200508155335.jyfo4rhdvbyoq5kl@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200508155335.jyfo4rhdvbyoq5kl@treble> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 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 10:53:41AM -0500, Josh Poimboeuf wrote: > 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. ... and it probably should also have a Fixes tag which references the commit which introduced this issue. > With that change: > > Acked-by: Josh Poimboeuf -- Josh