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 X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8B488ECE58C for ; Mon, 14 Oct 2019 18:46:47 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4E65A2067B for ; Mon, 14 Oct 2019 18:46:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="a+3wPUZ4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4E65A2067B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=nvidia.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 3CBAF8E0001; Mon, 14 Oct 2019 14:46:44 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 17D7E8E0007; Mon, 14 Oct 2019 14:46:44 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 0915F8E0001; Mon, 14 Oct 2019 14:46:44 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0178.hostedemail.com [216.40.44.178]) by kanga.kvack.org (Postfix) with ESMTP id D882D8E0007 for ; Mon, 14 Oct 2019 14:46:43 -0400 (EDT) Received: from smtpin20.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with SMTP id 6DAB94DB7 for ; Mon, 14 Oct 2019 18:46:43 +0000 (UTC) X-FDA: 76043271486.20.swim29_74b29fdcd0d24 X-HE-Tag: swim29_74b29fdcd0d24 X-Filterd-Recvd-Size: 4291 Received: from hqemgate14.nvidia.com (hqemgate14.nvidia.com [216.228.121.143]) by imf36.hostedemail.com (Postfix) with ESMTP for ; Mon, 14 Oct 2019 18:46:41 +0000 (UTC) Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 14 Oct 2019 11:46:45 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Mon, 14 Oct 2019 11:46:40 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Mon, 14 Oct 2019 11:46:40 -0700 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL111.nvidia.com (172.20.187.18) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 14 Oct 2019 18:46:40 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 14 Oct 2019 18:46:40 +0000 Received: from blueforge.nvidia.com (Not Verified[10.110.48.28]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Mon, 14 Oct 2019 11:46:40 -0700 From: John Hubbard To: Andrew Morton CC: Christoph Hellwig , "Aneesh Kumar K . V" , Keith Busch , Ira Weiny , LKML , , John Hubbard , Christoph Hellwig , "Kirill A . Shutemov" , Shuah Khan , Subject: [PATCH v2 0/2] gup.c, gup_benchmark.c trivial fixes before the storm Date: Mon, 14 Oct 2019 11:46:37 -0700 Message-ID: <20191014184639.1512873-1-jhubbard@nvidia.com> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-NVConfidentiality: public Content-Transfer-Encoding: quoted-printable Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1571078805; bh=qk0npK+pn+bfxjHAA4vLiMmmSsmYH4obfm3nBaVQ5P0=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: MIME-Version:X-NVConfidentiality:Content-Transfer-Encoding: Content-Type; b=a+3wPUZ4Ni7vxCbt/44gYy7aOaiZolY9gjyUl+D3s62xe2b7ospotvUaGAih73ftt XNDFPkBMWgRPpAuavxKVquDQ5vgj2IH3xh1ENlXCdbgzapy1WRDU5uwyoGThaFlG1X Rjj+BtPHmxCJ+pD+c+yLbDf1rBaMQL+LCGnkVkctPqDffEkMNI7x3Z3ewprCc4WXAE XKvkTbFhaPq4pnGI7tYnGmfeSJ9U47P5e4NAhhjEJUYqbNMKDbYkNemShzh4dJhhPc 9l/g/A2/CBZ+qiE+cVHPiLskW9Za7kBGgEuYgTQTV3ub2N9VjGTYQrokaB++MtUQEM IhyvIF/M8BGjw== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi, Changes since v1: 1) Fixed a krobot-reported mistake, which also uncovered a pre-existing bug. Thanks to Kirill for recommending the fix. 2) Added another small fix: changed the data type to unsigned int, as pointed out by Ira. 2) Added a "Fixes:" line, thanks to Kirill and Aneesh for pinpointing the commit. 3) Collected Acked-by and Suggested-by's. Original cover letter, edited slightly =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D These trivial fixes apply to today's linux.git (5.4-rc3). I found these while polishing up the Next And Final get_user_pages()+dma tracking patchset (which is in final testing and passing nicely...so far). Anyway, as these two patches apply cleanly both before and after the larger gup/dma upcoming patchset, I thought it best to send this out separately, in order to avoid muddying the waters more than usual. Cc: Christoph Hellwig Cc: Aneesh Kumar K.V Cc: Kirill A. Shutemov Cc: Keith Busch Cc: Ira Weiny Cc: Shuah Khan Cc: linux-kselftest@vger.kernel.org John Hubbard (2): mm/gup_benchmark: add a missing "w" to getopt string mm/gup: fix a misnamed "write" argument, and a related bug mm/gup.c | 14 ++++++++------ tools/testing/selftests/vm/gup_benchmark.c | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) --=20 2.23.0