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=-5.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham 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 CE3F5C4CECE for ; Mon, 14 Oct 2019 13:36:49 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 93A8721721 for ; Mon, 14 Oct 2019 13:36:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=shutemov-name.20150623.gappssmtp.com header.i=@shutemov-name.20150623.gappssmtp.com header.b="05qWHKg+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 93A8721721 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=shutemov.name Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 414EA8E0006; Mon, 14 Oct 2019 09:36:49 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 3C6F98E0001; Mon, 14 Oct 2019 09:36:49 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2DC9D8E0006; Mon, 14 Oct 2019 09:36:49 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0110.hostedemail.com [216.40.44.110]) by kanga.kvack.org (Postfix) with ESMTP id 0DC618E0001 for ; Mon, 14 Oct 2019 09:36:49 -0400 (EDT) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with SMTP id 95D93181AC9CC for ; Mon, 14 Oct 2019 13:36:48 +0000 (UTC) X-FDA: 76042490496.26.lead38_1e4cd87a7f33c X-HE-Tag: lead38_1e4cd87a7f33c X-Filterd-Recvd-Size: 4223 Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) by imf19.hostedemail.com (Postfix) with ESMTP for ; Mon, 14 Oct 2019 13:36:48 +0000 (UTC) Received: by mail-lj1-f193.google.com with SMTP id 7so16668634ljw.7 for ; Mon, 14 Oct 2019 06:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov-name.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=kwbPVljcr0NSCLljc0OrTvv7XNYrir6ZBXGML3SSjPU=; b=05qWHKg+TrOwztU4ZAot6PDVHWWpQZxid79fo7XRrrioC8Lnc3sSuSc2AYMczUkUSw CkbNN+k3FcFi080be2vjjn8VAsMeKfzSxNry3wbMacWHSYD0iwRiSW+AeUri83swD8Ya 07bYiepu9TWx+9bjcdxDEYSx7lUiZXk/7r+Uk0lWt6YChTAkfWPzx4sZgPoS6PDO2CIF bzGesDWFfKoCqzRXCov9hjmYv210ylBItSLFgcc9qIkV9ap9/GtKMLysd6ACbBQjRD2k Ek0s+DYRtOUJ3qyhNrUBsKbjbqFLbc4Y9tZ7aIIEiBUKZjs91A6JWVekds0tHqWssr8T 7c4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=kwbPVljcr0NSCLljc0OrTvv7XNYrir6ZBXGML3SSjPU=; b=g779Q5XzNUQcNa0OpDg2YrZ7vCtky96fD9D9E8oT0ft0WNx92pmkDq+a+cN/8GgdIh DQEOIJ/9NBvceflf0lStjPoEiy54rrfrkq3xrdR5El5yDBPxnZEuEcbLZZ2t8UH24AKB VhOXKK4PHhi9bDfeYalaWh2Nsl4MEuTsp0mgWvYUk/tnaX5KAldks5qoSUpXT08/wV1i XaMLCYX13m8CkJkLsdupDj+haeHOs51o4zngY2Ht+XkTupkHwcgchZLIo0E26aEUE4XH +XnQn+pRUflRsnHqhwaxyk3vjE6EhuvhLaC/k87Q3MK2S5ZDDvOMEgEddVazBo9cI/70 VH8w== X-Gm-Message-State: APjAAAXL/Ec6TbAIQ9Hlt3rlUo14dq5QUf07zTa/O/zWgmLAQJ17mQgG EhjaW4CvB+CXk+TuxMPzRfXDBQ== X-Google-Smtp-Source: APXvYqyM5oyga4VW1RouFU2Br7VQCRYE/EjO/xLpNOZBGALk/H00a8Cezl8WSlGhqQd/ZpQ+hGkhyQ== X-Received: by 2002:a2e:9d3:: with SMTP id 202mr16473401ljj.112.1571060206393; Mon, 14 Oct 2019 06:36:46 -0700 (PDT) Received: from box.localdomain ([86.57.175.117]) by smtp.gmail.com with ESMTPSA id t8sm4215037lfc.80.2019.10.14.06.36.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2019 06:36:45 -0700 (PDT) Received: by box.localdomain (Postfix, from userid 1000) id BF773101288; Mon, 14 Oct 2019 16:36:44 +0300 (+03) Date: Mon, 14 Oct 2019 16:36:44 +0300 From: "Kirill A. Shutemov" To: John Hubbard Cc: Andrew Morton , Christoph Hellwig , "Aneesh Kumar K . V" , Keith Busch , Ira Weiny , LKML , linux-mm@kvack.org, "Kirill A . Shutemov" , Shuah Khan , linux-kselftest@vger.kernel.org Subject: Re: [PATCH 1/2] mm/gup_benchmark: add a missing "w" to getopt string Message-ID: <20191014133644.ecjlss24e5fy7tkl@box> References: <20191013221155.382378-1-jhubbard@nvidia.com> <20191013221155.382378-2-jhubbard@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191013221155.382378-2-jhubbard@nvidia.com> User-Agent: NeoMutt/20180716 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: On Sun, Oct 13, 2019 at 03:11:54PM -0700, John Hubbard wrote: > Even though gup_benchmark.c has code to handle the -w > command-line option, the "w" is not part of the getopt > string. It looks as if it has been missing the whole time. > > On my machine, this leads naturally to the following > predictable result: > > $ sudo ./gup_benchmark -w > ./gup_benchmark: invalid option -- 'w' > > ...which is fixed, with this commit. > > Cc: Kirill A. Shutemov > Cc: Keith Busch > Cc: Shuah Khan > Cc: linux-kselftest@vger.kernel.org > Signed-off-by: John Hubbard Acked-by: Kirill A. Shutemov -- Kirill A. Shutemov