Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp431307ima; Wed, 6 Feb 2019 02:31:14 -0800 (PST) X-Google-Smtp-Source: AHgI3IbfJjPP6Ja7zt68fpu4cJH080d9Hppep/pDdYZ4jyrTGh4AACmEtJsES5MVl16YfPVkBnDd X-Received: by 2002:a17:902:e3:: with SMTP id a90mr10089001pla.82.1549449074167; Wed, 06 Feb 2019 02:31:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549449074; cv=none; d=google.com; s=arc-20160816; b=O8jC0yDW4LOy1LplFXypNBEBSTOrbdvSN1bDNV7K6QTSa1fhr1UjhrN9ReBNCBjoKv lkh5TXUCAJdz98KaCY/J9FX44iFGuottLiNp2800oKC9XXGIKwUYbufe2QyLHkhlXJIG o2PqwH33YoIam/xm9sypDaz0ldi/Yzl3ba25lx8+pSpYExe4Dd1OvbaIMzFplkjL8cbO yL/n4dO3vCRf6MneCFtoafScT7UhUYYP1yee7bbJ9RgwWw0iBvrK1pKfWTrCJ5wSX/zQ VvRZlTqdQ7c11EwShpSYoil7FN04mEMh60r4tzcnjBe47s80PQ11sdl9x0a7aFZ+kvQf Cgrg== 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=hsIeoTiXzmw8LJNm2KAhuVLQpZ0vbbXvSG14onF3WR8=; b=KUSS/gMIBrC9Qd8gvx8qJR6tSx7HlCOZ+JMw6r+BNxTfPx2cZV5xPuDmwmnDj7u8Hh qTPnep9f9FWRa8Ab3RzU4Ytq7aMU8ZUYxY45Gy0YnoPXkhAelGk334oJ+WiXUf5rQ92j pChODxBvqsLBWpXpETiKNynTa6shCYo+HYEKJqOBPqkF5+LATpkkpiNsVlnMvzD4tHWt RxO0py/23+ecN/PxrgZ8nwiu3Vfp9mo/qNS/28yVfa0WuYG68dV6SiJEnEJZhpwDB6o1 s6YfMmrGHmsZN/Id3hwaZvzjm3QUx90c+oF2e6w6hExp3McCQZM0P1THh0dNY4jooEoH 3eXA== 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 c22si1954768pgb.254.2019.02.06.02.30.58; Wed, 06 Feb 2019 02:31:14 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729234AbfBFK2g (ORCPT + 99 others); Wed, 6 Feb 2019 05:28:36 -0500 Received: from mx2.suse.de ([195.135.220.15]:55598 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726977AbfBFK2g (ORCPT ); Wed, 6 Feb 2019 05:28:36 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 94A88B6AB; Wed, 6 Feb 2019 10:28:34 +0000 (UTC) Date: Wed, 6 Feb 2019 11:28:32 +0100 From: Petr Mladek To: Josh Poimboeuf Cc: Alice Ferrazzi , jeyu@kernel.org, jikos@kernel.org, mbenes@suse.cz, live-patching@vger.kernel.org, linux-kernel@vger.kernel.org, Alice Ferrazzi Subject: Re: [PATCH v2] livepatch: core: Return EOPNOTSUPP instead of ENOSYS Message-ID: <20190206102832.apa7sekkwljo4ejg@pathway.suse.cz> References: <20190204183324.30775-1-alicef@alicef.me> <20190205155933.r6ey474lq4m5nlmp@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190205155933.r6ey474lq4m5nlmp@treble> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 2019-02-05 09:59:33, Josh Poimboeuf wrote: > On Tue, Feb 05, 2019 at 03:33:28AM +0900, Alice Ferrazzi wrote: > > From: Alice Ferrazzi > > > > As a result of an unsupported operation is better to use EOPNOTSUPP > > as error code. > > ENOSYS is only used for 'invalid syscall nr' and nothing else. > > > > Signed-off-by: Alice Ferrazzi > > Acked-by: Josh Poimboeuf I have applied the patch into for-5.1/atomic-replace branch. Best Regards, Petr