Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9820132imu; Wed, 5 Dec 2018 10:48:06 -0800 (PST) X-Google-Smtp-Source: AFSGD/W2efWcU8GP6WdYYqiDQZtqRWdHOp2twcDYiTA8cZdXBuph473+yuRJ8AxhpP0bTMcLBKGM X-Received: by 2002:a17:902:365:: with SMTP id 92mr24033099pld.327.1544035686275; Wed, 05 Dec 2018 10:48:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544035686; cv=none; d=google.com; s=arc-20160816; b=YdSPBAIeD8GC/8qrJPaSzbAJkpMq0GyY/1xlgvYu0+h2PZnuu3UAqXnyWZ9/63EFus MXd49mOtnwS8uE420laHKO1ZD8p3xf/EfXmz9QNN/KsFYBHQWo6t+4248JX3b3plJ2UO RphYoIRu+bhAPX+7n+h86FwXOMxWB5q6zxZ1VLTKJ12SL1GlkWc4X3mvTokEi41rlVNV Tw77YPGXk3+zOb6FB1GPg56fBFe1Jkx+bEbeUbeKcW4tJ9xZn8iDEpCIqVC+SU91aklw +Zm7WMI8ByKzKf7ewVygDmjXMcyKRnCD+mmwXEXyKG6p07r1qTI5cUJSTDt5o2VACXUO AAzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=x+jEhqtVQvIsYbYLDV0ynghraWNIuT7xSk2ccplv7t4=; b=XywLH8zXVnZyy+AYqjeXk/6suFj2lWtvvl5v7EEzMoy6dO4bFtGxeVhgFyfXzMBrPC Q6NC+oknc0jP/F4XPTtz6wO9LScm1FXikdilDg0s0f7hjLQLWriNwIlz1vqR+VpuStKy pzUEH98SpJTawRLAV9QRcwl6Arqt27KYP3/Z/4s2NC3WPBLa4PEPe0+aL2tlrxMi6lM7 GX1+uBef0NvjDG1/dDY6tCcBc+rjIgo4JYSM/ay77U7Lhg8NZMYtFp9O404YQ5f8+BME xEtTIfzA6TUVFpKNf+M7hwVWSpUiKXlfCEaw+khkjE5mTRr75Pni0FjtUgdgUpnoPImK afDw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f10si16793155pgo.356.2018.12.05.10.47.50; Wed, 05 Dec 2018 10:48:06 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728067AbeLESqA (ORCPT + 99 others); Wed, 5 Dec 2018 13:46:00 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40930 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727388AbeLESqA (ORCPT ); Wed, 5 Dec 2018 13:46:00 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BFCB93154859; Wed, 5 Dec 2018 18:45:59 +0000 (UTC) Received: from redhat.com (dhcp-17-208.bos.redhat.com [10.18.17.208]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DF96C5C66B; Wed, 5 Dec 2018 18:45:58 +0000 (UTC) Date: Wed, 5 Dec 2018 13:45:58 -0500 From: Joe Lawrence To: Petr Mladek Cc: Jiri Kosina , Josh Poimboeuf , Miroslav Benes , Jason Baron , Evgenii Shatokhin , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v14 02/11] livepatch: Shuffle klp_enable_patch()/klp_disable_patch() code Message-ID: <20181205184558.ownhinkxam2mb5ny@redhat.com> References: <20181129094431.7801-1-pmladek@suse.com> <20181129094431.7801-3-pmladek@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181129094431.7801-3-pmladek@suse.com> User-Agent: Mutt/1.6.2-neo (2016-08-08) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Wed, 05 Dec 2018 18:45:59 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 29, 2018 at 10:44:22AM +0100, 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 to prevent more forward declarations. > > This patch does not change the code except of two forward declarations. ^^^^^^^^^ s/except of/except for > > Signed-off-by: Petr Mladek > --- Acked-by: Joe Lawrence -- Joe