Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp2361312ybh; Mon, 16 Mar 2020 01:34:01 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtd+dUSdPbna4SlAJtzR8z11UNh9lW9Y4jw7owp5OApW7KMv6nI4qxFl15+Zfjx+jECa/o6 X-Received: by 2002:a05:6830:1195:: with SMTP id u21mr12156822otq.351.1584347640865; Mon, 16 Mar 2020 01:34:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584347640; cv=none; d=google.com; s=arc-20160816; b=yqnWnMgYODUuEpv8M8PHj+tBveVBQYHbJhO9anaO1kWt1Ouo/wOC4xgWYw3m/sBo1v 1mC3hVjzzdcIVdG7ZO+0uO3eCqCO23YWjfP4OMSTONVLt1urbWQo4cAlAa5WBsuZQZnq rv/0ZraPtYQwAUlQCc8IqYJC4p3mQtklizKTahhbmT64t5vUnHEy5rYPRINtIXi5LFsU MJItw/Dcx/HSRE9UbHhS1CvoLaH4vIAeI1VSNzVhCiosvwA3nvvYMwfW4FtkCea0NpWq Kojj7i399hTTiU0RbV3vUGEcp6LFh+g+XVLewlDhEliYzEn0lq1tVjnr32l/I/ckQPqH gPtw== 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=Np0PyQ3dN/K0XmXOWBC7J7/OCl/vL8McW1IXy4RBUgE=; b=pmkuXdOwBWqtbLd8mr/C1SzTNRQmsg7TA2sNpd7RwCzBNwg9JIvjtfOIC3n68SNJtp O/rz1OD4dGKebpi9hymFhmxSAekyxKQV3i2tczQuwWR7oaDkiQPERYwOcJh1c73HqLBz oLVzViK5jcA3S76REx7gtTJ+gpo+m/HbPnFP9HYoKXGLHFpKQhzO2yy5/8flawqdOVOj Zsfmut/lZBvvVKBoburGx5SpnC9PAsXxn1Bqkrp7FTfJCPBBQXhkaxKEc4oKOIbGRlnj 3sU6zUbdv4g6a2w6+ohh0Inp7m2lObDWNHUo6QSRAyNcop8BCVUc7Dzz4D4ccErkErWx nwOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=bqhZBq8g; 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 z22si2235222oih.64.2020.03.16.01.33.47; Mon, 16 Mar 2020 01:34:00 -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; dkim=pass header.i=@ffwll.ch header.s=google header.b=bqhZBq8g; 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 S1730152AbgCPIdP (ORCPT + 99 others); Mon, 16 Mar 2020 04:33:15 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:37727 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729978AbgCPIdO (ORCPT ); Mon, 16 Mar 2020 04:33:14 -0400 Received: by mail-wr1-f66.google.com with SMTP id 6so19990021wre.4 for ; Mon, 16 Mar 2020 01:33:13 -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=Np0PyQ3dN/K0XmXOWBC7J7/OCl/vL8McW1IXy4RBUgE=; b=bqhZBq8gCbsRh+Ix9GzmFj7etr9aCj5k2VDWtb9DCZDwiUCQ4xy5s1cpMAc2jIBpCo WwxG0+8bynS7HTBvZ+IMWiWgLzWMCoq2Jcy6TDEG7/yEMjhTa16mzIVokPevbP+2vpVz /IfRIBrdLITDf1yOGV5zCQasJlEzEhPdG8440= 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=Np0PyQ3dN/K0XmXOWBC7J7/OCl/vL8McW1IXy4RBUgE=; b=i2kV04hwzu6wU7wlusaFk0weGNBoR9Glf4Hl2JY6nyg6y1espzPSTjJsgE6cUiWO/F ZGOawDeWXcNvXu1WAy9mqRN+un4OV8U+/gZGMNhiBBzaiFdEZduAhCRJ2GhAolYqUW5z XE0qIAeTwVZ0RhCIkCeWxYBy3Nb2k4jmHLjnKXwSAGepKqKBaR1+pFZx86+hGXRrtkVm vznTBqG4S3KiZxi8yowpYOq5Jc0lg6IYstPjCtKleZZgtYhI3vh+aVoGYU+XtzC5x6tv cjVGXVT1TlP1SqEyYK140tfaa/Ivw0osA1xetbFjDltoNkAzEkryCV/Wh292fI+6mhj+ s4oA== X-Gm-Message-State: ANhLgQ0UDc0fTs69En9FEykrZMNKDxu6MPR0XvbpQn7q9JT/lsDejqud hYZcezkbQucCU43rVOnz4LjcVQ== X-Received: by 2002:a5d:6907:: with SMTP id t7mr19250023wru.159.1584347592539; Mon, 16 Mar 2020 01:33:12 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id g7sm93502349wrq.21.2020.03.16.01.33.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Mar 2020 01:33:11 -0700 (PDT) Date: Mon, 16 Mar 2020 09:33:09 +0100 From: Daniel Vetter To: Thierry Reding Cc: Wambui Karuga , daniel@ffwll.ch, airlied@linux.ie, Jonathan Hunter , linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org Subject: Re: [PATCH 10/21] drm/tegra: remove checks for debugfs functions return value Message-ID: <20200316083309.GD2363188@phenom.ffwll.local> Mail-Followup-To: Thierry Reding , Wambui Karuga , airlied@linux.ie, Jonathan Hunter , linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org References: <20200227120232.19413-1-wambui.karugax@gmail.com> <20200227120232.19413-11-wambui.karugax@gmail.com> <20200311143753.GC494173@ulmo> <20200311232446.GA998881@ulmo> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200311232446.GA998881@ulmo> X-Operating-System: Linux phenom 5.3.0-3-amd64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 12, 2020 at 12:24:46AM +0100, Thierry Reding wrote: > On Wed, Mar 11, 2020 at 05:54:46PM +0300, Wambui Karuga wrote: > > Hey Thierry, > > > > On Wed, 11 Mar 2020, Thierry Reding wrote: > > > > > On Thu, Feb 27, 2020 at 03:02:21PM +0300, Wambui Karuga wrote: > > > > Since 987d65d01356 (drm: debugfs: make > > > > drm_debugfs_create_files() never fail) there is no need to check the > > > > return value of drm_debugfs_create_files(). Therefore, remove the > > > > return checks and error handling of the drm_debugfs_create_files() > > > > function from various debugfs init functions in drm/tegra and have > > > > them return 0 directly. > > > > > > > > This change also includes removing the use of drm_debugfs_create_files > > > > as a return value in tegra_debugfs_init() and have the function declared > > > > as void. > > > > > > > > Signed-off-by: Wambui Karuga > > > > --- > > > > drivers/gpu/drm/tegra/dc.c | 11 +---------- > > > > drivers/gpu/drm/tegra/drm.c | 8 ++++---- > > > > drivers/gpu/drm/tegra/dsi.c | 11 +---------- > > > > drivers/gpu/drm/tegra/hdmi.c | 11 +---------- > > > > drivers/gpu/drm/tegra/sor.c | 11 +---------- > > > > 5 files changed, 8 insertions(+), 44 deletions(-) > > > > > > Applied, thanks. > > > > > There's a newer version[1] of this patch series as this specific patch > > depends on other work in drm. > > Oh yeah, I just noticed that this patch causes a build failure, so I > backed it out again. > > If there's dependencies on other work, it's probably best to take this > through drm-misc, in which case: > > Acked-by: Thierry Reding > > Let me know if you'd prefer me to apply this to drm/tegra instead. Yeah I'm going to pull in the entire series through -misc rsn. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch