Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6081338ybv; Tue, 18 Feb 2020 09:29:59 -0800 (PST) X-Google-Smtp-Source: APXvYqwTKPAqQY3utY0MGQCmoNvmPpGr6Ktdk6x9R9597NiGs1hzu4wVbOxdflP8d6XjguY36jBw X-Received: by 2002:a9d:518b:: with SMTP id y11mr15718323otg.349.1582046999046; Tue, 18 Feb 2020 09:29:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582046999; cv=none; d=google.com; s=arc-20160816; b=Aw/1fgN0CRdIet1adjMg5kMgzmOrJrWfDJQ2+1aDxtrcIJGL9UNgMGvaweCW4ZP1/w +5NxLGHwyvhAbNvquVUGS2RUzpWj59Ge5Tz34TJxJHjojI1mwvykFp8igttW/PlDzsad aKElbNWmEy4wXzgyf5WHjkigEcX3TXXxMzFjOhi7AJR0EfA00tlUhWDHjo7rUwK5EKbB eOW+Dz0flpr3p8VybFqCwYh3VXhuozoxB/0YVWIfjgz87Hlufv0qcOlzwsbKch/OjsVP N3GtX8WpCYpjISqklbCRSXFzB6RM2VkDZvktr+Eqr8fCVpdcyaJ1RORqsE9X4aHa1bBV 0/hA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eNI2AWl9XZZdPLhTH38nobJrQAEGZo6b2lzQ8OJ+Zy0=; b=gjuwtTLPU4QvOjDu24Rh3EXE+aSgInr1Oy2YJ+RqHvE92Vd5dlb0HF4EdfWPzRCgAc LrMmUnZj0DdZJdBvv5+IriwLUoNfwd3/MTC0pRQTYdEfahaRnB/2wyju6OL1pO70Txbp M3XuyUYDaHTp4N70DdlejqXnZHeazOTCLes0RtpM3pbLrWRblhGsUeHEenVtPHVyQC/l 9Jmx60fzvNvovhwxVebcEN3dkToeb2zpuH44DgCoZxMZlEGf0zhEMHFsQ8ZCUeIoy0Uk 9lhuwqN67Cmxu90u9U33+jLeqogBVPFeRokRc3O3yfdBC4VRogjsunCYhtgNRrnPkcHQ QjQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=BEPrmeX7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a7si1878021otp.11.2020.02.18.09.29.46; Tue, 18 Feb 2020 09:29:59 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=BEPrmeX7; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727295AbgBRR27 (ORCPT + 99 others); Tue, 18 Feb 2020 12:28:59 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:41900 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726422AbgBRR26 (ORCPT ); Tue, 18 Feb 2020 12:28:58 -0500 Received: by mail-wr1-f66.google.com with SMTP id c9so24978932wrw.8 for ; Tue, 18 Feb 2020 09:28:57 -0800 (PST) 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=eNI2AWl9XZZdPLhTH38nobJrQAEGZo6b2lzQ8OJ+Zy0=; b=BEPrmeX7IGavrgcl5UFYDjCya7DY+d7v1Ci8xLDnvdkACVurKxN6CFEydbhEwjRiII YczNSQ57KGsu2VIxf/pxiEMquZhQ38BjFf7hNc4dr0JjUKcBoEFsnT4LuxgkMRrTGS7f H82k0lkZCEefvhcyq15DvtuzxNHwt1P3B4f+s1zHCCSVasUa3lX/DZb80SuIZLDFTdjG 6ZNcm/DmTrABviB1r0hPR0RSh71QspJbZV05UGcHLELrEakRQ3xh1OqH6WHXwgkF3eLL 45xksEbrUYI3PPucQ14bzjjc6CizoX84Wx5D+a7nGoIBIEvm9zl+LlW4tvFnvmjTAnO8 xdVw== 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=eNI2AWl9XZZdPLhTH38nobJrQAEGZo6b2lzQ8OJ+Zy0=; b=h+2kH9pOWqCmkRFkFdsRgoZi+dCg7ubtySOl9TaQkD+FO9+y8UEpcMZNs9q8BWHqwk uYaACFm9guhsvn2eUlankbF/PBLcjuin43PgsVAVo6w4AuFw4tmBLvwQ9yfUgG3KR6vz Vn7qJtqsNGyfTkCd/anlpUlJUF2OOIsY7hEAXIwUfqxfwCJqqJg+EGGM/6KkQh+wYs9a CxukxHRBWRcOcGy5vA6y3EQml1iePDhm84axEd3IgfsDZSsfszHD27wRxT/UO+DDGRTi Mlu2a0HvIhFd8UeNeiMf/XWoVMNuq7X/8rUzL5bsSpCxkyV/shF9RuBO5kpAZrLyGGeG RoMg== X-Gm-Message-State: APjAAAVkuMZM/kN1ZreTqxid04OaICI+7bagF+3U5awYNpmzyg/pLgno JmCAzNmLCqWEktBv70g2L0E= X-Received: by 2002:adf:e641:: with SMTP id b1mr30115473wrn.34.1582046937280; Tue, 18 Feb 2020 09:28:57 -0800 (PST) Received: from wambui.zuku.co.ke ([197.237.61.225]) by smtp.googlemail.com with ESMTPSA id t13sm6998757wrw.19.2020.02.18.09.28.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Feb 2020 09:28:56 -0800 (PST) From: Wambui Karuga To: eric@anholt.net, airlied@linux.ie, daniel@ffwll.ch Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org Subject: [PATCH] drm/v3d: make v3d_debugfs_init return 0 Date: Tue, 18 Feb 2020 20:28:18 +0300 Message-Id: <20200218172821.18378-7-wambui.karugax@gmail.com> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200218172821.18378-1-wambui.karugax@gmail.com> References: <20200218172821.18378-1-wambui.karugax@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As drm_debugfs_create_files should return void, remove its use as the return value of v3d_debugfs_init and have the function return 0 directly. Signed-off-by: Wambui Karuga --- drivers/gpu/drm/v3d/v3d_debugfs.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/v3d/v3d_debugfs.c b/drivers/gpu/drm/v3d/v3d_debugfs.c index 9e953ce64ef7..57dded6a3957 100644 --- a/drivers/gpu/drm/v3d/v3d_debugfs.c +++ b/drivers/gpu/drm/v3d/v3d_debugfs.c @@ -261,7 +261,8 @@ static const struct drm_info_list v3d_debugfs_list[] = { int v3d_debugfs_init(struct drm_minor *minor) { - return drm_debugfs_create_files(v3d_debugfs_list, - ARRAY_SIZE(v3d_debugfs_list), - minor->debugfs_root, minor); + drm_debugfs_create_files(v3d_debugfs_list, + ARRAY_SIZE(v3d_debugfs_list), + minor->debugfs_root, minor); + return 0; } -- 2.25.0