From patchwork Wed Oct 31 17:44:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shayenne Moura X-Patchwork-Id: 10663005 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B25CA15E9 for ; Wed, 31 Oct 2018 17:44:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B51C2B48B for ; Wed, 31 Oct 2018 17:44:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8F2CC2B517; Wed, 31 Oct 2018 17:44:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4A8372B48B for ; Wed, 31 Oct 2018 17:44:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 79F286E36A; Wed, 31 Oct 2018 17:44:32 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8D1D56E36A for ; Wed, 31 Oct 2018 17:44:30 +0000 (UTC) Received: by mail-qt1-x841.google.com with SMTP id u34-v6so18078849qth.3 for ; Wed, 31 Oct 2018 10:44:30 -0700 (PDT) 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:mime-version :content-disposition:user-agent; bh=5h9H/t/58iT5wJlL5hclCitkHk3Y96u4UemtKet/OsI=; b=L8tyraufhNvbz0DvSAkREL+wvCuqwMgd8NdNwyTqQihY8KPxBTLUuHUkKn6mxLh2Oa gfgcijgHgNjN9STE8nDy1ha3smSNVD00LqqgnP/rLynb+rKyVIV0EQMAI7e3OFov0gai Yc2mL4nNFofWo3eSs4PTpcopgDmjjDw7z26UdIxr4nmFpZh/PtonRMnd2fbPqSQjhfTW gdtIzTsTwgxtMOfgdZS3/aZBJeiFJyof6Nx3LqRDEj2oJSEfm9calj/PzUlWpdpZ6Jp2 elUyTimrrO7HO14U1Bwsl+EQ9jV1wgEiaPpb6LYv8kWq1f09ubt2F7NNox1iqhqnlO1z 34ig== X-Gm-Message-State: AGRZ1gKBc1todSWoXYeZG45vpvDFMQmlfTYCTpcG4LpfOtfipqCvyS5c IMTqUbH4NJwHZTY73jPYgpBa3kfriVE= X-Google-Smtp-Source: AJdET5ev5K9zVNFytAbsCJWIBtu57VRccfIaVoxSYVCr3N7WT2k44abar0L1GvVKbubhRWGax2DIrA== X-Received: by 2002:a0c:b0c3:: with SMTP id p3mr3642744qvc.174.1541007869688; Wed, 31 Oct 2018 10:44:29 -0700 (PDT) Received: from smtp.gmail.com ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id e4sm1357430qka.31.2018.10.31.10.44.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 31 Oct 2018 10:44:29 -0700 (PDT) Date: Wed, 31 Oct 2018 14:44:24 -0300 From: Shayenne da Luz Moura To: Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie Subject: [PATCH v2] drm: Remove 80-column line in drm_mode_object.c Message-ID: <20181031174424.odljb6obj25wm47d@smtp.gmail.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20171215 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: outreachy-kernel@googlegroups.com, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Break line after NULL to decrease the line size. Signed-off-by: Shayenne da Luz Moura --- Changes in v2: - Remove aditional variable added in v1 and add a line break drivers/gpu/drm/drm_mode_object.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/drm_mode_object.c b/drivers/gpu/drm/drm_mode_object.c index be8b754eaf60..cd9bc0ce9be0 100644 --- a/drivers/gpu/drm/drm_mode_object.c +++ b/drivers/gpu/drm/drm_mode_object.c @@ -38,7 +38,8 @@ int __drm_mode_object_add(struct drm_device *dev, struct drm_mode_object *obj, int ret; mutex_lock(&dev->mode_config.idr_mutex); - ret = idr_alloc(&dev->mode_config.crtc_idr, register_obj ? obj : NULL, 1, 0, GFP_KERNEL); + ret = idr_alloc(&dev->mode_config.crtc_idr, register_obj ? obj : NULL, + 1, 0, GFP_KERNEL); if (ret >= 0) { /* * Set up the object linking under the protection of the idr