Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp343454imm; Fri, 31 Aug 2018 01:52:49 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbKKERzmCzxUKhRVGRzJ4risSUqtj2Z4TgJucSIcrH/JMr3/YPV6Q2tdWHc0a8kAbVvPlz0 X-Received: by 2002:a63:81c3:: with SMTP id t186-v6mr13406647pgd.285.1535705569141; Fri, 31 Aug 2018 01:52:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535705569; cv=none; d=google.com; s=arc-20160816; b=K44jgho9seXnHQ3AxuvoAfzOptnl9fzxDXDjkVLSGyDn0xd0Agvj1VHnUVqwuWQpY+ DqElMzHJNHnxa+tDng2vMjYv9YaEJP3zvdFIoShCjRXgd39V8/4Kg+4LiNGswtLaPyif K8ub73aMtjAVnGfoSZpLIayDD7vcUORLXBQ2LTLh5x1qV1UKw6yRaeJxFUBwKxvWaY3J Ss5/0rmlVBdNVRG9Wq20LpcgnYwRCg7X6alkk2G0pIdtad6VXZixktSYnPOzix8N5umb KMOgym+TZcjub9ILpnQVyMtwGsF9FdF1L1tUhu1+NwXfwx9xty2XmZ/SPgCXAWdemPua u/8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=XD2/7s+QY2jwpem9bLFueFIrJv2Mm8vB3JympWOp72M=; b=QHHxhFHhRHgK2CjSiCJp1pfsCGgFcRApGFpV5CvgmpoYucbHNEbCy/MGsOUUhw4ScA wIAlfV/RS4l/sbAv9x0V/ZRbWv6Q3Ae4PnIXVfhIZimfJ4rZ39gqzMX7at+IVBP+b7wI cIsCdHuPyniFfj78P0ag77tRX8Kw8D3jHPStxTXHl3pYHPsxd57GwjBccxIPhK4ZR5Ui GjvBMHC21tE7SE2l7YL85GVBDikVnTVaII1ynueD/Mn96VZtHU8ePu6Pw81wkKJzXc5V ARzCidIqMa3+kY6tGyvBqQY7J8xx7dtj3KFfUeAIBqwyhfW7gGN3GQPXByFoanBELmAu l6cA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n19-v6si9166773pfi.360.2018.08.31.01.52.34; Fri, 31 Aug 2018 01:52:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727998AbeHaMor (ORCPT + 99 others); Fri, 31 Aug 2018 08:44:47 -0400 Received: from mx2.suse.de ([195.135.220.15]:51512 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727281AbeHaMor (ORCPT ); Fri, 31 Aug 2018 08:44:47 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C432EAEBC; Fri, 31 Aug 2018 08:38:23 +0000 (UTC) Date: Fri, 31 Aug 2018 10:38:23 +0200 (CEST) From: Miroslav Benes To: Petr Mladek cc: Jiri Kosina , Josh Poimboeuf , Jason Baron , Joe Lawrence , Jessica Yu , Evgenii Shatokhin , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v12 03/12] livepatch: Shuffle klp_enable_patch()/klp_disable_patch() code In-Reply-To: <20180828143603.4442-4-pmladek@suse.com> Message-ID: References: <20180828143603.4442-1-pmladek@suse.com> <20180828143603.4442-4-pmladek@suse.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 28 Aug 2018, Petr Mladek wrote: > We are going to simplify the API and code by removing the registration > step. This would require calling init/free functions from enable/disable > ones. > > This patch just moves the code the code to prevent more forward > declarations. s/the code the code/the code/ > This patch does not change the code except of two forward declarations. > > Signed-off-by: Petr Mladek Miroslav