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 C6147C636CC for ; Wed, 8 Feb 2023 14:46:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230185AbjBHOqB (ORCPT ); Wed, 8 Feb 2023 09:46:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229895AbjBHOqA (ORCPT ); Wed, 8 Feb 2023 09:46:00 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9C2D227AC for ; Wed, 8 Feb 2023 06:45:59 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id b5so19499423plz.5 for ; Wed, 08 Feb 2023 06:45:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=D9APWzIV+7Bk+eMZXMnkea/loMWDb0j2eNn6crGTD7M=; b=ZzbZBQeo7ockhhPlfg9a2V8MeTjZhGsnS0ea5DXCkI5R6D6KgPTXGSbRky5Gb8AsJH /2mudNx8wLHe69wFIzg4gDl7z+7+b25Phwl8RVR7ESGVMp2CMetkxW8omZe82SQoy9aO L9KDhWNJLpAkJmabs93q1ajZOPMt+3ceuBQisTjtgkoMAN67A0SreAB01Z4HCNC71zrK 4VfLSzWfIofvrtSx+aCS7g5VsGfs9GyAkbToQYUPgmErKkpb5Hcb26jVG2/kk5XH6ObO MfyAkQzXuRPDY42gCXtpbeJXR1ZVuj9bc7WGTyly0DMxK2uTOG9Y6F/mlci2/Mol8bPN 9unQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=D9APWzIV+7Bk+eMZXMnkea/loMWDb0j2eNn6crGTD7M=; b=7VJjwl32dNce7fZFhVfuIQQ1uwIegyK23DaLcdnl0L9qAZKD5W9HTrF1TTwr8qCzRN +OuSQaEa/YQbE+GHKM77nJAQ2WDoZcokLSL6DwnnS8pXYJMqntvCo43IM1uSBdKFBqS8 TvyZXk7A5QZFWM2Gu2uG/WeM1nGDtr4+zRapui2YJ1oWPaJ2KU25Sq+qlRxeGUbxQt/l y+D5W1xMgRlZVONOpJCRQlX/fdRk/ASiukX13qF+WMJtJwIZyTV687b3gt7APOOLdmRP 5bT+Wbrg4NzNbO03UHsvkhzV9grojlNHV/vVYENynQZyShhyO5VqCmCdCcSHb4YTKDKd lxyw== X-Gm-Message-State: AO0yUKU47ixilHoxei6Mv4uXa9ANbZXzIyl/NgTiinQprVIKdQttJJXP ryOctEl7RDHCrJw5mrdh8Yi49A== X-Google-Smtp-Source: AK7set/W/mntM9Gw7Sjb3X5zca5NiuZodd+vepBxl0Lxlr21DuWvj088eRFNvKzW4uTdJaxc1hQZAA== X-Received: by 2002:a17:903:404c:b0:198:af4f:de0d with SMTP id n12-20020a170903404c00b00198af4fde0dmr234228pla.13.1675867559188; Wed, 08 Feb 2023 06:45:59 -0800 (PST) Received: from google.com (7.104.168.34.bc.googleusercontent.com. [34.168.104.7]) by smtp.gmail.com with ESMTPSA id d3-20020a170902b70300b00193020e8a90sm11052055pls.294.2023.02.08.06.45.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Feb 2023 06:45:58 -0800 (PST) Date: Wed, 8 Feb 2023 14:45:55 +0000 From: Sean Christopherson To: kvm@vger.kernel.org, shahuang@redhat.com Cc: Paolo Bonzini , Shuah Khan , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] selftests: KVM: Replace optarg with arg in guest_modes_cmdline Message-ID: References: <20230202025716.216323-1-shahuang@redhat.com> <167582135972.455074.6960378545703076467.b4-ty@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <167582135972.455074.6960378545703076467.b4-ty@google.com> Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org On Wed, Feb 08, 2023, Sean Christopherson wrote: > On Thu, 02 Feb 2023 10:57:15 +0800, shahuang@redhat.com wrote: > > The parameter arg in guest_modes_cmdline not being used now, and the > > optarg should be replaced with arg in guest_modes_cmdline. > > > > And this is the chance to change strtoul() to atoi_non_negative(), since > > guest mode ID will never be negative. > > > > > > [...] > > Applied to kvm-x86 selftests, thanks! > > [1/1] selftests: KVM: Replace optarg with arg in guest_modes_cmdline > https://github.com/kvm-x86/linux/commit/62f86202d76d I force pushed to selftests because of a goof on my end, new SHA-1 is: https://github.com/kvm-x86/linux/commit/7ae69d7087a9