Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3423502rdg; Tue, 17 Oct 2023 14:31:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEhcihkFBiSZJMyyIe/fOYgnJhLvMWvqNlU1oSb028NBgQwEoj8Qpuqosccrla0hM3sknIR X-Received: by 2002:a05:6a21:a101:b0:171:8e16:ea86 with SMTP id aq1-20020a056a21a10100b001718e16ea86mr2899527pzc.31.1697578287347; Tue, 17 Oct 2023 14:31:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697578287; cv=none; d=google.com; s=arc-20160816; b=AiLlrdYAyzi3gfw1L0FpKPO/oThiaDgvDq5vFCcZgJoqWMRNSy45ipu+RnmNuFai7/ SOZjxojIBPqcql/IAJY9yCTmTRj1++R9yWds3joTvmDkErv8yg4oIYc5KKIEkHfgjDNi jNKB2AIW1xPcKiNqBes50cQ/DapRcDa46VpvVsLnIrU/vGAusbJ64VisC80xK++Hdtm7 sA7TKoQpV0n5Clzugt+Ndv+lQt7C7LKUDqAEI4EuHPVAFAL1o4la5X5S3fhTBeNDE2Ar CzuebOTmBbuAJ7LoS3kcPMtClZjpmy1Itr6b7D2mB95930gzRzQBjmGpKIDqBvivRJhV h34A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature; bh=rCrmn9y03CfqjCPi53Ca1ph8YHiUpD5hgaahZbYtSmY=; fh=47cJPag+eFMPE7PjhmDjM/+p/+HSmlfOj8i8enZWJ08=; b=g1icRrZdCJkJPOc01V6aJaCd4AVnLdqjnkQ+8kMFUqY/ArnMcUIrdeLA/C6xnNgTut nTD2KlZcq+fk9ivnmXlE/XRXAdlxbwZZagetlpj1Ef7elBUtHkm1pOGgZW0wuAiC8PSe 152Gj2pKmbcjKE+30vVAjNCEWc3+eQmfIzi98Yy8rrmjBLak0SlANCANohu3l4Y5m3cc p4YwB6NGXp2k4MwZY1FCt4XmxLQpRgWXm7KPUUH/1tgDtpyh2K50py3QmUcoZNcXh815 3zThAl17GeNncWRM9AcE4pjbHNWyHuQssUMFkzAP+6XwqRE6Uz+EQfmHDpmlXX0/fdlW XmhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hadrons.org header.s=201908 header.b=pmjaTy45; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=hadrons.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTP id j63-20020a638042000000b005aae2dd62b2si607832pgd.527.2023.10.17.14.31.27; Tue, 17 Oct 2023 14:31:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@hadrons.org header.s=201908 header.b=pmjaTy45; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=hadrons.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id EC5378096440; Tue, 17 Oct 2023 14:31:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343995AbjJQVbR (ORCPT + 99 others); Tue, 17 Oct 2023 17:31:17 -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: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 17 Oct 2023 14:31:25 -0700 (PDT) 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