Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp846101iog; Mon, 13 Jun 2022 14:21:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxA5qaOlMxM8glDalY7BoOsk79XzN/+fXzs9T/kfUSOOaWwAhOjY5Ya4Wwzxzcdt1RdJYo6 X-Received: by 2002:a05:6402:40c9:b0:42d:da4a:9a72 with SMTP id z9-20020a05640240c900b0042dda4a9a72mr2001002edb.380.1655155270207; Mon, 13 Jun 2022 14:21:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655155270; cv=none; d=google.com; s=arc-20160816; b=aKa9ExUGPbQHuK9mBJEspRGusJWk7n1enQ5AvZGjUOCH2XYnuWcd1747sab2LvtFXX Me+4TLA1sH1kinF9bQElreDFGKqYRMDAaGgXvJS1FbywuDQXgvdHeOhkJUT7ApB36psv oau7v8vxB3DhoQlaEsEmcWI113O/ouLwOcWKTlCXkwRXYodRIh2EB3rTsAO78rozjNgH jpHO/5Ge/tFfemn47P8iYvJMpjgayOnnnWgMVBVvBS/ha9El9gstCDcFGgyEDAn2mLxp GiZKRqmzUD9XcJbm/FTUTWrCKQ+mKkBCEhT96RCWOJkDIbsileqwW6Rtc0p+TtmVBr1D JhGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=HHeM+flxVNdPvHzfTQjqznJk16sWGVQxv7Ca8t6SBsE=; b=d1vFJT6m5hT5Ool5jrPmXG3KyTsZ5zCBl4smCdlm9KM2KnIYY+sVb973dVbe4zjPYW miCl0I21+yXn5odLCl5ispfASzYodTLNaYoWSUvnIpPF0YE7JyekzdaumVmCcoItR79I Ww2mhQ7Ene+BHlcU2xRqayAzgltK5dF6LvUjWYujeCqh08Wfh2lN/xUbLY7whBlGlVC0 EFR334mnURzLwVI5TcmHCcSmiTbFW61VIKlMH3Jn4m7PcAeEbNz2S6gc7QvCd/O+SYDY nEFANPRDRByvCgoPGSWeImppgHeC87GCydnCQd0JUdKDkTXR7fsjFKE9CUWVL3qmoKUy 8lwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=PwUb1TcO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bm9-20020a0564020b0900b0042ddbae0a41si8576241edb.379.2022.06.13.14.20.44; Mon, 13 Jun 2022 14:21:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=PwUb1TcO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232925AbiFMUku (ORCPT + 99 others); Mon, 13 Jun 2022 16:40:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43542 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345008AbiFMUk3 (ORCPT ); Mon, 13 Jun 2022 16:40:29 -0400 Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2572B40A05 for ; Mon, 13 Jun 2022 12:35:55 -0700 (PDT) Received: by mail-ot1-x329.google.com with SMTP id h15-20020a9d600f000000b0060c02d737ecso5063278otj.1 for ; Mon, 13 Jun 2022 12:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HHeM+flxVNdPvHzfTQjqznJk16sWGVQxv7Ca8t6SBsE=; b=PwUb1TcOxrtFXEqynPal0Dxxtb/hVSDxNVg4mx9FbFVF5rReXGUJwcc/Pax9tA95H6 TADpK0GOwfs+Lc7b2WXDmiyGRetPDAaUGwWX7n/bnq0ZHEaP1LZx0ZMtNo5l3N4u23Tb cn4zXIBv5CtVdDEnfadxC482jDX9tVqbO1CxlvXJLtFSTcGe0Mi/b5pESx5ZC5pJ28Hy yxH6D+eMfVRUepQPYm5JXHMvolauypojTH5i1HuLoXq1zt2RTr0Y4zhwkzepx2xgu4cc qdnxFIEIEhwyPY05rmblVrJOLj3NBWuMNeo1a5qXg8/7pJNfBLTAo6e55wnFnQBRMuQ/ zDqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HHeM+flxVNdPvHzfTQjqznJk16sWGVQxv7Ca8t6SBsE=; b=GUsDBdGQdwFcLCoi5+pan2uxy1X4qfW1mi2q7jK0otLucCsOqAKNlWP0OjPksE5IAb 0xXzdmpbLWwO3X8EEjNzGsc6Zcy+8lfYN46SQepRS8pHkManlFkv+5gMEXuLKQ4W7+P/ aoXfUti0MhTwNOtF7zjv396qxQbMyFJ876IrlBv939MqzGwP0j4zTMkYA80K7UphY3C6 cm+8NXrjJhbw14Vrjj5nxYaVaHy9/1Cx4KC8m00Wa02k97Y+6/FdukPsr9dI2m4rgzUz 27lDBMqa0pckhM/6EBtk4QImr4QNLsFwUMgmp1MITs6Bw3/8amG0a2iouRgr8tIlp4Yh GW1w== X-Gm-Message-State: AOAM530jDVHUEzTxSbo/n7U+h+Ra+TWkkZvAiNyVK/0ZN8k4wnpHXkzh oAwG74HE9b1t/iYVMIqhEcDpvS21t+0DhA6VL++6yNBZTnE= X-Received: by 2002:a9d:665a:0:b0:60c:81b0:3a72 with SMTP id q26-20020a9d665a000000b0060c81b03a72mr186371otm.14.1655148954224; Mon, 13 Jun 2022 12:35:54 -0700 (PDT) MIME-Version: 1.0 References: <20220613161942.1586791-1-seanjc@google.com> <20220613161942.1586791-2-seanjc@google.com> In-Reply-To: From: Jim Mattson Date: Mon, 13 Jun 2022 12:35:43 -0700 Message-ID: Subject: Re: [PATCH 1/4] KVM: selftests: Add a missing apostrophe in comment to show ownership To: Sean Christopherson Cc: Paolo Bonzini , Andrew Jones , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 13, 2022 at 12:32 PM Sean Christopherson wrote: > > On Mon, Jun 13, 2022, Jim Mattson wrote: > > On Mon, Jun 13, 2022 at 12:01 PM Sean Christopherson wrote: > > > > > > Add an apostrophe in a comment about it being the caller's, not callers, > > > responsibility to free an object. > > > > > > Reported-by: Andrew Jones > > > Fixes: 768e9a61856b ("KVM: selftests: Purge vm+vcpu_id == vcpu silliness") > > > Signed-off-by: Sean Christopherson > > > --- > > > tools/testing/selftests/kvm/lib/kvm_util.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > diff --git a/tools/testing/selftests/kvm/lib/kvm_util.c b/tools/testing/selftests/kvm/lib/kvm_util.c > > > index 39f2f5f1338f..0c550fb0dab2 100644 > > > --- a/tools/testing/selftests/kvm/lib/kvm_util.c > > > +++ b/tools/testing/selftests/kvm/lib/kvm_util.c > > > @@ -1434,7 +1434,7 @@ void vcpu_run_complete_io(struct kvm_vcpu *vcpu) > > > /* > > > * Get the list of guest registers which are supported for > > > * KVM_GET_ONE_REG/KVM_SET_ONE_REG ioctls. Returns a kvm_reg_list pointer, > > > - * it is the callers responsibility to free the list. > > > + * it is the caller's responsibility to free the list. > > > */ > > Shouldn't that be callers'? Or are you assuming there is only ever > > going to be one caller? > > No? Regardless of the number of users of the function, for any given invocation > and allocation, there is exactly one caller. Statically, there may be multiple callers, and each is responsible for freeing the list, right?