Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3042530ybt; Mon, 29 Jun 2020 13:43:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuy4gOMSE7nNdwCpiTwt2hoRU+ZTgikfCIlqGz1nTp/aE+la+MWiPuiCu8Ovp2y8icI89Z X-Received: by 2002:a05:6402:3d0:: with SMTP id t16mr18748061edw.287.1593463430663; Mon, 29 Jun 2020 13:43:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593463430; cv=none; d=google.com; s=arc-20160816; b=Ovv8h/hu+0wnojMlAuyWTLTleAotxnsbyfPPRnbA1hpkeUIAwyrq0dUHqczpS9OJQn w0RBUhUkqdUCPqzw/IQL0k3Mqie0pDi34r1C7LxkewyL6wUw8ogT7R4I54F9gs/8Y/fc 4+jg2H39kXL3dQIrpM+OWXnBHplVcMPByIJ2UyC+lA46Mh9wLzK++rvxInHCDhIEpbFz PJrE3ivTAq2G7bXnzripSBSQ4IT2Dfjfpg8Cr3n6ON4yRsEjNysSPHCjTR2UXGDloiWx WQ5c++/tpj6Apk5n7w35I3RZDQM2JKfAI/PDet/Eg/w+iOO6p2YCW+9Evc0m7eljmXAp MCFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:mail-followup-to:message-id:subject:cc:to :from:date:dkim-signature; bh=m1iLBqzd5JET/4+7q0bkqySBB/VEXvt/QPf9pQZxD4I=; b=R8Oo5H2N2fyGVeuQId4E/y8XX0tgcBoBkrLsGgtye/KO4VAb9eqv4Dl3tCi7lGHrnW Qcj67c15soyx7nDk2tNDwHC9/49okYEbBxzhEbGLZp/7E9SNQsm3Q/qyuzteU2TmdUOi UvrA6v+1B+KcCooYctpfMVtNsg6zIujLpLmy/QolWjLjSVPQ8q+ke8LZqdYtkynRt567 mIN6fAUD2FtNKq3IqD4lcP4PilhiFEXyiNhw3XFC5sCOn1fu9tC0sTzgdYOBSaLT5Xc0 X3u2k7ufukSU0myyDErqVNqsxpSEtwoVA5pY/wV4aaXcy6u54jVGoyDGsl7eaK5NmQy0 aB6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=ioALFefx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q26si425101eja.585.2020.06.29.13.43.26; Mon, 29 Jun 2020 13:43:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=ioALFefx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389124AbgF2UmT (ORCPT + 99 others); Mon, 29 Jun 2020 16:42:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731660AbgF2TOF (ORCPT ); Mon, 29 Jun 2020 15:14:05 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55CE9C00874E for ; Mon, 29 Jun 2020 01:34:02 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id z13so15628852wrw.5 for ; Mon, 29 Jun 2020 01:34:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=m1iLBqzd5JET/4+7q0bkqySBB/VEXvt/QPf9pQZxD4I=; b=ioALFefxtWjpUGVv9aHBdWR6XYQ5mUGOiLyBKcCwX93YpoWp3xtVYvb6n6RB2S8Ckz u3QFELzJpaqBiFOqrnUVJ2Wq7mtXuxbjmoKGKF4tV6Wn0jSwpXHOXITn+H14U5jKSdGf DiIL0Vq9MDiO8em2RGk+86Hl1UFagXnZvgL9c= 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 :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=m1iLBqzd5JET/4+7q0bkqySBB/VEXvt/QPf9pQZxD4I=; b=aMYXUyvUP+z1unC4NK0jKsThqDOlGGWdH4hgVmyJ8fqrFlCjKmuqrlV9xpaH5J21W5 AcEREgCASSe5qGOyHIwY1C4o7Y0GJh9nxspXw1U1mlHt19NjawtdMU3IEpeXaf4DwwYw LO/Rm//uQwYzuDAIKCqSSd2FU4h80SQyYa3Tr4EXC6CYBriQXaURNZ5yCrwnFMgx2QFG 0o6ZA9bwl8RnoIarVoEpBDDpZq0SzDCrx/RsG1Gxk8ib+TTYXzazzY2KCCCz18pVkUfQ +T1V92KJndFy2ZAH7P5tZAUb8Pu6oS0kvgFjKjyW585zRZFId6kPllTnVNY6+P4+Wjx6 S1WA== X-Gm-Message-State: AOAM530qCCSZsZPVspvW16xqAsF9kXnZasj8Yl0sk9KCK9N7tP/KxsdE sTwA/f2g8I3FFHtvre8yqwDcEQ== X-Received: by 2002:adf:f5ce:: with SMTP id k14mr15246966wrp.234.1593419641020; Mon, 29 Jun 2020 01:34:01 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id y20sm4657035wmi.8.2020.06.29.01.33.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jun 2020 01:34:00 -0700 (PDT) Date: Mon, 29 Jun 2020 10:33:58 +0200 From: Daniel Vetter To: Antonio Borneo Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH] drm/connector: fix minor typos in comments Message-ID: <20200629083358.GK3278063@phenom.ffwll.local> Mail-Followup-To: Antonio Borneo , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com References: <20200626204252.44565-1-antonio.borneo@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200626204252.44565-1-antonio.borneo@st.com> X-Operating-System: Linux phenom 5.6.0-1-amd64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 26, 2020 at 10:42:52PM +0200, Antonio Borneo wrote: > Some of these comments are part of the Linux GPU Driver Developer's > Guide. > Fix some minor typo in the comments and remove a repeated 'the'. > > Signed-off-by: Antonio Borneo Queued up for 5.9 in drm-misc-next, thanks for your patch. -Daniel > --- > drivers/gpu/drm/drm_connector.c | 22 +++++++++++----------- > 1 file changed, 11 insertions(+), 11 deletions(-) > > diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c > index d877ddc6dc57..cb62fb8e594e 100644 > --- a/drivers/gpu/drm/drm_connector.c > +++ b/drivers/gpu/drm/drm_connector.c > @@ -38,7 +38,7 @@ > * DOC: overview > * > * In DRM connectors are the general abstraction for display sinks, and include > - * als fixed panels or anything else that can display pixels in some form. As > + * also fixed panels or anything else that can display pixels in some form. As > * opposed to all other KMS objects representing hardware (like CRTC, encoder or > * plane abstractions) connectors can be hotplugged and unplugged at runtime. > * Hence they are reference-counted using drm_connector_get() and > @@ -129,7 +129,7 @@ EXPORT_SYMBOL(drm_get_connector_type_name); > > /** > * drm_connector_get_cmdline_mode - reads the user's cmdline mode > - * @connector: connector to quwery > + * @connector: connector to query > * > * The kernel supports per-connector configuration of its consoles through > * use of the video= parameter. This function parses that option and > @@ -991,7 +991,7 @@ static const struct drm_prop_enum_list dp_colorspaces[] = { > * DP MST sinks), or high-res integrated panels (like dual-link DSI) which > * are not gen-locked. Note that for tiled panels which are genlocked, like > * dual-link LVDS or dual-link DSI, the driver should try to not expose the > - * tiling and virtualize both &drm_crtc and &drm_plane if needed. Drivers > + * tiling and virtualise both &drm_crtc and &drm_plane if needed. Drivers > * should update this value using drm_connector_set_tile_property(). > * Userspace cannot change this property. > * link-status: > @@ -1131,7 +1131,7 @@ static const struct drm_prop_enum_list dp_colorspaces[] = { > * > * It will even need to do colorspace conversion and get all layers > * to one common colorspace for blending. It can use either GL, Media > - * or display engine to get this done based on the capabilties of the > + * or display engine to get this done based on the capabilities of the > * associated hardware. > * > * Driver expects metadata to be put in &struct hdr_output_metadata > @@ -1614,7 +1614,7 @@ EXPORT_SYMBOL(drm_mode_create_scaling_mode_property); > * variable refresh rate capability for a connector. > * > * Returns: > - * Zero on success, negative errono on failure. > + * Zero on success, negative errno on failure. > */ > int drm_connector_attach_vrr_capable_property( > struct drm_connector *connector) > @@ -1759,7 +1759,7 @@ EXPORT_SYMBOL(drm_mode_create_aspect_ratio_property); > * HDMI connectors. > * > * Returns: > - * Zero on success, negative errono on failure. > + * Zero on success, negative errno on failure. > */ > int drm_mode_create_hdmi_colorspace_property(struct drm_connector *connector) > { > @@ -1788,7 +1788,7 @@ EXPORT_SYMBOL(drm_mode_create_hdmi_colorspace_property); > * DP connectors. > * > * Returns: > - * Zero on success, negative errono on failure. > + * Zero on success, negative errno on failure. > */ > int drm_mode_create_dp_colorspace_property(struct drm_connector *connector) > { > @@ -1840,7 +1840,7 @@ EXPORT_SYMBOL(drm_mode_create_content_type_property); > * drm_mode_create_suggested_offset_properties - create suggests offset properties > * @dev: DRM device > * > - * Create the the suggested x/y offset property for connectors. > + * Create the suggested x/y offset property for connectors. > */ > int drm_mode_create_suggested_offset_properties(struct drm_device *dev) > { > @@ -1963,7 +1963,7 @@ int drm_connector_update_edid_property(struct drm_connector *connector, > size = EDID_LENGTH * (1 + edid->extensions); > > /* Set the display info, using edid if available, otherwise > - * reseting the values to defaults. This duplicates the work > + * resetting the values to defaults. This duplicates the work > * done in drm_add_edid_modes, but that function is not > * consistently called before this one in all drivers and the > * computation is cheap enough that it seems better to > @@ -2076,7 +2076,7 @@ void drm_connector_set_vrr_capable_property( > EXPORT_SYMBOL(drm_connector_set_vrr_capable_property); > > /** > - * drm_connector_set_panel_orientation - sets the connecter's panel_orientation > + * drm_connector_set_panel_orientation - sets the connector's panel_orientation > * @connector: connector for which to set the panel-orientation property. > * @panel_orientation: drm_panel_orientation value to set > * > @@ -2131,7 +2131,7 @@ EXPORT_SYMBOL(drm_connector_set_panel_orientation); > > /** > * drm_connector_set_panel_orientation_with_quirk - > - * set the connecter's panel_orientation after checking for quirks > + * set the connector's panel_orientation after checking for quirks > * @connector: connector for which to init the panel-orientation property. > * @panel_orientation: drm_panel_orientation value to set > * @width: width in pixels of the panel, used for panel quirk detection > -- > 2.27.0 > -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch