From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A306CDB482 for ; Tue, 17 Oct 2023 21:31:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229883AbjJQVbQ (ORCPT ); Tue, 17 Oct 2023 17:31:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbjJQVbQ (ORCPT ); Tue, 17 Oct 2023 17:31:16 -0400 X-Greylist: delayed 481 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 17 Oct 2023 14:31:14 PDT Received: from pulsar.hadrons.org (2.152.192.238.dyn.user.ono.com [2.152.192.238]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B852FA; Tue, 17 Oct 2023 14:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hadrons.org; s=201908; t=1697577790; bh=rCrmn9y03CfqjCPi53Ca1ph8YHiUpD5hgaahZbYtSmY=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=pmjaTy459tR1za0fQB1dwq0sKNqW94wrmvEt950rPRUSLFFE3pLumuJJM6CAQD6RX XqwyVOjoz420fxDL3PcUIsf03hoqRmRBnbgzLwr2erreFbJlrUENXHdh6hMSAtPElC AYIWSWKrcrUTvi+fetC7Y4gHWV+fqkrdCiVX/VvUE0TUXjx+BoRPv7xPGstEierJTA CEWJdsu/RXYseQ+wdBODvmad5SFvuBotI/7nWhzRV3PdzfENr+L382NQWYkMWR5FvW wW6yqU53bv7z/GakDepw095XbWw5mfWL0b1Ydxw+6YRitigoyW4oYnr3Pr2Luk0C9J uuYFrrjIEGU1g== Received: by pulsar.hadrons.org (Postfix, from userid 1000) id 77FAC122CA9; Tue, 17 Oct 2023 23:23:10 +0200 (CEST) Date: Tue, 17 Oct 2023 23:23:10 +0200 From: Guillem Jover To: Alejandro Colomar Cc: Axel Rasmussen , Peter Xu , linux-man@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mike Rapoport Subject: Re: [PATCH v2 4/5] ioctl_userfaultfd.2: fix / update UFFDIO_REGISTER error code list Message-ID: Mail-Followup-To: Guillem Jover , Alejandro Colomar , Axel Rasmussen , Peter Xu , linux-man@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Mike Rapoport References: <20231003194547.2237424-1-axelrasmussen@google.com> <20231003194547.2237424-5-axelrasmussen@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org Hi! On Mon, 2023-10-09 at 00:06:48 +0200, Alejandro Colomar wrote: > This produces some unwanted space. Please apply the following fix to > your patch. > > diff --git a/man2/ioctl_userfaultfd.2 b/man2/ioctl_userfaultfd.2 > index 6e954e98c..795014794 100644 > --- a/man2/ioctl_userfaultfd.2 > +++ b/man2/ioctl_userfaultfd.2 > @@ -432,11 +432,11 @@ .SS UFFDIO_REGISTER > no mapping exists in the given range, > or the mapping that exists there is invalid > (e.g. unsupported type of memory), > -or the range values ( > -.I range.start > +or the range values > +.IR ( range.start I think you meant «.RI» here? > or > -.I range.len > -) are not multiples of the relevant page size, > +.IR range.len ) > +are not multiples of the relevant page size, > or > .I range.len > is zero. > Regards, Guillem