Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp460777imd; Wed, 31 Oct 2018 23:29:59 -0700 (PDT) X-Google-Smtp-Source: AJdET5dfq78g4RMUgBc+AQId0c+sRFssxgKqmO0yYKWdNYD3vl2eAS8Di/c+wVxkTWgAP97b4a3u X-Received: by 2002:a17:902:7a2:: with SMTP id 31-v6mr1135294plj.277.1541053799205; Wed, 31 Oct 2018 23:29:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1541053799; cv=none; d=google.com; s=arc-20160816; b=gRLfcw3hmVKBcxKlIKq5NYD/ybC0rc2QUMgRiYm2C1u3YcCXGeNgF/TNVBpKYoRE1I xGUio1bJ/woqFeYvkZoQDorkJgkMcX9PruOyz9bfAKwosof02wJ6Q6AVhySRW0adsPr1 9Gnt/sF7xX1GQMvIM7UaVMA5yewyQC+HJi8Sue2nuW4w9SAxQ4qcRxVfsF0K4lE0P7TP jVWWjwcaXl9Q5mVtXpNVTHMIcnJTV8xKS478IhmJw8WeNfN1nqs9iLQVuuoKUNGJxViQ w8HPjWk648o4lnRXHg6nTJp4t2mU9vZPlb8XHVpP79W1a5KSZ+jJBL+MkH9wRgWeyldp 0f4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=l1cSIeL6DKeQXNKnsh4i1tsW7uQYdRDCPpyZFqUvAuI=; b=lJekPM+h4zqEbxxC0YBnMItRM//4ROfh63wDj6+tPjtkN0V2soHBKmjed4t+NrJ2TG /e8po5omNZDyVfChPIruLKpoOlB3giue9TQpXndzyQ404Bp/i97kLUQuKsWo6fLKitjv meVQxCfHx+uPtZgdgkkJudQi8+7MvPPO6DhIn6pxy8m8LGu9D5cyMMJdtk4FPlp0e63k moc/wWO+z7btfUasug5vkj1JI3gwAMqnYdN8bZBWRbIe5mZN3+0cl0bJarFOKYUN6rFh HYkKXmGhncCQ+h2AyvCRsoD91l2vHejVkmFbY+C1tAZp67HFz6uDIv1ODNm+UvnCmCJd tQXQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j20si3637031pgh.224.2018.10.31.23.29.42; Wed, 31 Oct 2018 23:29:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727749AbeKAPaz (ORCPT + 99 others); Thu, 1 Nov 2018 11:30:55 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:15547 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727573AbeKAPaz (ORCPT ); Thu, 1 Nov 2018 11:30:55 -0400 X-IronPort-AV: E=Sophos;i="5.54,451,1534802400"; d="scan'208";a="353738443" Received: from 89-157-201-244.rev.numericable.fr (HELO hadrien) ([89.157.201.244]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Nov 2018 07:28:59 +0100 Date: Thu, 1 Nov 2018 07:28:59 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Shayenne Moura cc: Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com Subject: Re: [Outreachy kernel] [PATCH] drm: Rename crtc_idr as object_idr to KMS cleanups In-Reply-To: <20181031232915.rvni33tf6m2orbbx@smtp.gmail.com> Message-ID: References: <20181031205737.cingeaqget7hkbs6@smtp.gmail.com> <20181031211935.p2pxr7fh26m5dc7v@smtp.gmail.com> <20181031232915.rvni33tf6m2orbbx@smtp.gmail.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 31 Oct 2018, Shayenne Moura wrote: > On 10/31, Julia Lawall wrote: > > > > > > On Wed, 31 Oct 2018, Shayenne Moura wrote: > > > > > On 10/31, Julia Lawall wrote: > > > > > > > > > > > > On Wed, 31 Oct 2018, Shayenne da Luz Moura wrote: > > > > > > > > > Rename 'drm_mode_config.crtc_idr' as 'drm_mode_config.object_idr', > > > > > as proposed in the task description in TODO list for KMS cleanups. > > > > > > > > Is object_idr a field that already exists? If so, "Rename" is not the > > > > best choice of words. It should be something like "use the object_idr > > > > field instead of the crtc_idr field" and then explain why. "task > > > > description in TODO list for KMS cleanups" isn't very helpful to > > > > understand why the change should be made. > > > > > > > > julia > > > > > > Hi Julia, > > > > > > Thank you for your review! > > > > > > This patch is to solve this TODO task: > > > drm_mode_config.crtc_idr is misnamed, since it contains all KMS object. > > > Should be renamed to drm_mode_config.object_idr. > > > > > > Do you think I need to use this description in my commit message? > > > > That seems more helpful. > > > > But it seems that the name should actually be changed. Which means that > > the structure definition should be changed too. Was that done? > > > > julia > > Yes, you are right. I did not add the header file. Compilation should have given an error message. If you thought you compiled, then you don't have the right configuration to actually compile the code that you changed. julia