Received: by 10.213.65.68 with SMTP id h4csp43490imn; Fri, 6 Apr 2018 15:13:13 -0700 (PDT) X-Google-Smtp-Source: AIpwx484YcHXUtUvpj8m1Z38onnFxTru/PG8nxR7AsCjiY5+FMFVSVG21G9iDti8zTUE8qZ/jXqg X-Received: by 10.99.172.84 with SMTP id z20mr18441889pgn.273.1523052793896; Fri, 06 Apr 2018 15:13:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523052793; cv=none; d=google.com; s=arc-20160816; b=nSIs7TfR6wOmYYwwnyppaCsaCqmN1CkLXgfWSpTrPjQBsQOSbP9scCpDhAv4T7HgVX Oql4Ayarc5I2Se++Cvm2gcXEKT5OIMTx1Ed0Fr/ff2chtfGitflgy8DxUz0fgNBhjoMv wzqLNu2uN9fzA4AWeGKIuQrfZ06bC7DrlcazzwFM87O5X0inDPwzi9+uva6I6KBfHeRA B10V2os2sPmacso7PlqJAqa0BKHnTJWdYkW5dqETTNI5cktkuyEpuldDm/qGtzGId51r JP2jKAs4ZjNR2sFPh7kstLXdqJHLu1dmjTucc3nh0FCbTZJmDZCMMa6dnItmxEq1ju7y SCzA== 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:arc-authentication-results; bh=pyBejMKRW12VtS8UXlQ8/MWKXcso4DwRpN7iQmUzfBc=; b=bpZlUOU6vdWcZR5Q31vU6zf38SzSNCOQKmWNduNXI5PBVAghBnOXQ9xuYgaDCvk654 pkVmLNJsS01IouPoHmqhKZZ840Zs0ewVRjPQ1vDygm0rKM1F9JfLcGR228OCpIEGFt14 VU03pAMkNgN7G+28xV3qh6g8nUIYg0kzqbHj3/sb/xcaCtEJCGZubE7A1SAHEnrp7VW3 cYX9jG1xdBOdMK6IKHTvFNp0KeSf+lcbkcBtqc544XMsQdKI7Yl4bREOz7ElkyID+wlL FC18gdSnmVKLKgQpvZcq1R7EvZ1nqbY486xdMChLObXFRYFPhjaIRwSGe9YQ7mDEsP8t /TYQ== 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 c7si765144pfi.180.2018.04.06.15.12.37; Fri, 06 Apr 2018 15:13:13 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752499AbeDFWGa (ORCPT + 99 others); Fri, 6 Apr 2018 18:06:30 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:44798 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751679AbeDFWG3 (ORCPT ); Fri, 6 Apr 2018 18:06:29 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8C3E65BCBE; Fri, 6 Apr 2018 22:06:28 +0000 (UTC) Received: from treble (ovpn-120-110.rdu2.redhat.com [10.10.120.110]) by smtp.corp.redhat.com (Postfix) with SMTP id 93E7EAFD48; Fri, 6 Apr 2018 22:06:25 +0000 (UTC) Date: Fri, 6 Apr 2018 17:06:25 -0500 From: Josh Poimboeuf To: Petr Mladek Cc: Jiri Kosina , Miroslav Benes , Jason Baron , Joe Lawrence , Jessica Yu , Evgenii Shatokhin , live-patching@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 4/8] livepatch: Add an extra flag to distinguish registered patches Message-ID: <20180406220625.joessemwohjzffdb@treble> References: <20180323120028.31451-1-pmladek@suse.com> <20180323120028.31451-5-pmladek@suse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180323120028.31451-5-pmladek@suse.com> User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Fri, 06 Apr 2018 22:06:28 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Fri, 06 Apr 2018 22:06:28 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jpoimboe@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 23, 2018 at 01:00:24PM +0100, Petr Mladek wrote: > @@ -528,6 +537,7 @@ static ssize_t enabled_store(struct kobject *kobj, struct kobj_attribute *attr, > goto err; > } > > + > if (patch->enabled == enabled) { > /* already in requested state */ > ret = -EINVAL; Extra newline. -- Josh