Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp56382pxy; Wed, 21 Apr 2021 18:22:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz3b0VErfx1Im1RjMV7xg4aw1P40CjIwEPvWi6d8ZgLeFCweypOW5o1It+n2Xc7NzvyP94B X-Received: by 2002:a63:d915:: with SMTP id r21mr950484pgg.69.1619054540803; Wed, 21 Apr 2021 18:22:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619054540; cv=none; d=google.com; s=arc-20160816; b=xSUlhbKhVXPenQESoLgaApsf1qVWUFcGtmpXK0vQ+KGFsDL2GMuD7vMZy+zgpkSiCo hcbB1hE0Dg6lL1vW4bzUtkXI9aWSFq5RjFeTS9rIfdyJhd6wZoRsEzp82xdB5RC0dZB2 xXbwWf+6zhp4YUT6B1h21Xb2gbnGtTX45YFhFjerxW4fG7MIQCPyIN/BkjeXLvioFJ2R WpVD9KA58RM6rjzKfPrOBeM/QVqMP9OlMW2yJQsXqCJvM0b3/jJunQXK3Kk5+0I3ytuH do6I/CFxahMmqRZ3cFdPeaai7hi2Erat3OXJk2mZPqYu3hvbUvzUqGlWLtWRr6iJ0BZ8 2LqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=1KX4Ge8zZXYgCiWQwqMKqpWnsb1m5aafZmymxkmb0zo=; b=yIZhmasLbDN+Fc1VF7GuO7YhMcchpt2jLCAb+ddkg2iZa2APBJQ2TEbbKSL2aUJATy VD9xLV9nFnB4VMKBz1ydLnaDMduLIixtRmQnGtWF1eyvRsX8cmsvCegFzddRFf5Ickv9 GgdKKgqmTdBW0bl2UnCwXLRN/4MXEwQSSpcY6MFZwm93LBGJHhasKG0kYWwFnlTDlLcV Z2zsTNgbiyDXPvnbMjpieH80b3zbq8QWH4XCHJsbnPiK96ZaRi37h+TYf+1qfT1uT2DN 9dS3oCoukWB45KyYLzLuBVzjIp4adJ++uszQkxLs9PWOmD/d9P5lHDAhINAcfJzwhfag eNBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Mo1rlD6c; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w13si4420423pjg.144.2021.04.21.18.22.08; Wed, 21 Apr 2021 18:22:20 -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=@gmail.com header.s=20161025 header.b=Mo1rlD6c; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245532AbhDUTsA (ORCPT + 99 others); Wed, 21 Apr 2021 15:48:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243659AbhDUTrp (ORCPT ); Wed, 21 Apr 2021 15:47:45 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0267FC06138A for ; Wed, 21 Apr 2021 12:47:10 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id m9so29773988wrx.3 for ; Wed, 21 Apr 2021 12:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1KX4Ge8zZXYgCiWQwqMKqpWnsb1m5aafZmymxkmb0zo=; b=Mo1rlD6cgRfWqYbA1tV1S46DEtbQ5Y2NHPEm7nlHP8YLCd+1CDRbligh4nWm4XsM3y OPhUuaR0IMaJkcylyboXsNFS+tOAho+fDkTl1KF00qU9B9PgWcJstTF1Nj9kohNkB1eL IEQkURvwZXncSzHvHBFVUgZMcra0hZSc4vr+unpm3T+pBOI9iL+dHf36zXpH54bQQ8NI mWlYmMqpeg+wAt+amHCIx+2jG8myLjf6bnjB3DzkHjeOnm2FmQV99gg0BzYtSV7gezZo KqRRvmV4fvRJyaj8ecS1hFQLlQAmVap1C8x6+qKkpTXe9BztGqwO59gO3STC9IN9mM/w KqOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1KX4Ge8zZXYgCiWQwqMKqpWnsb1m5aafZmymxkmb0zo=; b=AQfSh86UCLI5IMGfzxE7z65kntxc/yHYNpIYfSl6+FK4lSv5kAmDJr2DYiuJ6Xqe00 63CdQlE7N/YbipZnu3ZbFwZGOBBuGi57NUArA8dv2+bK6sq8XTAfEQnn0Be1WCNoBKJy u17O8Aa2ySdEJNIbbX7YY1moKoiXFvK/M9lvPFHQDrZacseZi/yDgYrPUewfanxAwjKi FExXqPnFcp9WWk3+IzMljK7JU9qtDyccT3Rl0o0xNm/4FhIPvUyiA+p8VRSmqJLyLF0b +zFGC6TsWLYrRuR7ksX8ekTPOVbv2bvyi6q49LA9nOZbFcCOiqkBLat7HQyEIdB+Y6tV RoMA== X-Gm-Message-State: AOAM531Ibt7nhf4X8+MLLz4ptxTsCJuyn2b/miRUcPXbGGX5xpsW3CEm fpNgfkMLA6NAQqN3SuSVZD0h4ETILtTr7Q== X-Received: by 2002:a5d:5091:: with SMTP id a17mr28828143wrt.60.1619034428783; Wed, 21 Apr 2021 12:47:08 -0700 (PDT) Received: from bcarvalho-Ubuntu.lan ([2001:818:de85:7e00:6d3d:2d8b:5417:831c]) by smtp.gmail.com with ESMTPSA id c6sm13004217wmr.0.2021.04.21.12.47.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Apr 2021 12:47:08 -0700 (PDT) From: Beatriz Martins de Carvalho To: maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@linux.ie, daniel@ffwll.ch Cc: melissa.srw@gmail.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com Subject: [PATCH 4/5] drm: drm_connector.c: Adjust end of block comment Date: Wed, 21 Apr 2021 20:46:57 +0100 Message-Id: <59abdb2d65a643d5937e5773db684b926e8c9233.1618756333.git.martinsdecarvalhobeatriz@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a new line with */ on the last line of a block comment to follow the Linux kernel coding conventions. Problem found by checkpatch. Signed-off-by: Beatriz Martins de Carvalho --- drivers/gpu/drm/drm_connector.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c index 7631f76e7f34..8714f2d021f9 100644 --- a/drivers/gpu/drm/drm_connector.c +++ b/drivers/gpu/drm/drm_connector.c @@ -279,7 +279,8 @@ int drm_connector_init(struct drm_device *dev, drm_connector_get_cmdline_mode(connector); /* We should add connectors at the end to avoid upsetting the connector - * index too much. */ + * index too much. + */ spin_lock_irq(&config->connector_list_lock); list_add_tail(&connector->head, &config->connector_list); config->num_connector++; @@ -2288,7 +2289,8 @@ int drm_connector_property_set_ioctl(struct drm_device *dev, static struct drm_encoder *drm_connector_get_encoder(struct drm_connector *connector) { /* For atomic drivers only state objects are synchronously updated and - * protected by modeset locks, so check those first. */ + * protected by modeset locks, so check those first. + */ if (connector->state) return connector->state->best_encoder; return connector->encoder; @@ -2450,7 +2452,8 @@ int drm_mode_getconnector(struct drm_device *dev, void *data, out_resp->encoder_id = 0; /* Only grab properties after probing, to make sure EDID and other - * properties reflect the latest status. */ + * properties reflect the latest status. + */ ret = drm_mode_object_get_properties(&connector->base, file_priv->atomic, (uint32_t __user *)(unsigned long)(out_resp->props_ptr), (uint64_t __user *)(unsigned long)(out_resp->prop_values_ptr), -- 2.25.1