From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DBB7C34022 for ; Wed, 19 Feb 2020 08:20:15 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 649402176D for ; Wed, 19 Feb 2020 08:20:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SXCr3MwK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 649402176D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B81A86E492; Wed, 19 Feb 2020 08:20:00 +0000 (UTC) Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 983FF6EA4C for ; Tue, 18 Feb 2020 17:28:31 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id b17so3853533wmb.0 for ; Tue, 18 Feb 2020 09:28:31 -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:mime-version :content-transfer-encoding; bh=t79WR+N+O/xLx5EnVWrI0Bo3jvdlkHF5FexB0Coc0e4=; b=SXCr3MwKdGml/kqRlZx4Xh4HTwEskmbeNPapQbWyh/0AFZLtr7H0LjfEQ/QreiBVFZ yYR7oqLZp0tLk5n0qtUrPIY/YsoxjvX9WHdxo39RNOd/9ompVe//5LAONCw+ZvpX3c2e CcX1mtyKAL70MMo0vvlzbCRWKDZyjdpNoWFf5O8tPwsunHyazKYcpQX1CMD13poeMMFe vXegohfcsya/9OJxOU66FTUnUf8QO56vawRumP2jQgsPuzVnINSXgllL1FF0AUh4k9fm +IEw1P/m/TfUYtpaqnVrRyX/txLl4Zvy1bB7BoLUsuN3eyM0GNty0jskgQ9goi/lD/XO eAJQ== 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:mime-version :content-transfer-encoding; bh=t79WR+N+O/xLx5EnVWrI0Bo3jvdlkHF5FexB0Coc0e4=; b=UzIzoT5YPDVXWSH0GkS2vxo4Wb9NuJdyxOixGC11bqeMfqMWhaRTpLd+uaI+fQbElz bkZ0B7sriwpXQHTF58e1tBr1ty0ReLVRxRXyBAxY+s3HUeQGZuxLazrHoxGWuckZRsiR BXXjkdCBQ4Qa+waHQszf6UattM/D29rmZrwWcr/Z5QsEZ45HBYTXxWpgB2nTFFadjkbH FYUvvhKwvR0qwtkiw3o5Mxo19s2P2297+YGFCqmW3Lqz3T68OrQlD75FfX9RdMYgVvBf 30pSeo9fwug+nNYJULi8xyUWZIxjX470onmRuyktFc0OTD5MTaz0kj5g9ceoqjH7HtGb Mkfw== X-Gm-Message-State: APjAAAW3044OcBMrw6D6b0bYggPhCqYr6yi6Uo+IDz6BmYH3kHXHXz1T ervKBTMLNSPS48S9hUS8/B4= X-Google-Smtp-Source: APXvYqzEklauFIvbHoHH6Q4TOD2OrcGCFpTLs5/jFW8oZl6MOSuEwmS7hrvyc7XPl7s5DXAKl7VxXA== X-Received: by 2002:a1c:5401:: with SMTP id i1mr3986014wmb.99.1582046910216; Tue, 18 Feb 2020 09:28:30 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Feb 2020 09:28:29 -0800 (PST) From: Wambui Karuga To: abrodkin@synopsys.com, airlied@linux.ie, daniel@ffwll.ch Subject: [PATCH] drm/arc: make arcpgu_debugfs_init return 0 Date: Tue, 18 Feb 2020 20:28:12 +0300 Message-Id: <20200218172821.18378-1-wambui.karugax@gmail.com> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-Mailman-Approved-At: Wed, 19 Feb 2020 08:19:59 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" As drm_debugfs_create_files should return void, remove its use as the return value of arcpgu_debugfs_init and have the latter function return 0 directly. Signed-off-by: Wambui Karuga --- drivers/gpu/drm/arc/arcpgu_drv.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/arc/arcpgu_drv.c b/drivers/gpu/drm/arc/arcpgu_drv.c index d6a6692db0ac..660b25f9588e 100644 --- a/drivers/gpu/drm/arc/arcpgu_drv.c +++ b/drivers/gpu/drm/arc/arcpgu_drv.c @@ -139,8 +139,10 @@ static struct drm_info_list arcpgu_debugfs_list[] = { static int arcpgu_debugfs_init(struct drm_minor *minor) { - return drm_debugfs_create_files(arcpgu_debugfs_list, - ARRAY_SIZE(arcpgu_debugfs_list), minor->debugfs_root, minor); + drm_debugfs_create_files(arcpgu_debugfs_list, + ARRAY_SIZE(arcpgu_debugfs_list), + minor->debugfs_root, minor); + return 0; } #endif -- 2.25.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8EF6CC34026 for ; Tue, 18 Feb 2020 17:28:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 639502464E for ; Tue, 18 Feb 2020 17:28:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="SXCr3MwK" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726777AbgBRR2e (ORCPT ); Tue, 18 Feb 2020 12:28:34 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:51969 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726411AbgBRR2d (ORCPT ); Tue, 18 Feb 2020 12:28:33 -0500 Received: by mail-wm1-f66.google.com with SMTP id t23so3632795wmi.1 for ; Tue, 18 Feb 2020 09:28:30 -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:mime-version :content-transfer-encoding; bh=t79WR+N+O/xLx5EnVWrI0Bo3jvdlkHF5FexB0Coc0e4=; b=SXCr3MwKdGml/kqRlZx4Xh4HTwEskmbeNPapQbWyh/0AFZLtr7H0LjfEQ/QreiBVFZ yYR7oqLZp0tLk5n0qtUrPIY/YsoxjvX9WHdxo39RNOd/9ompVe//5LAONCw+ZvpX3c2e CcX1mtyKAL70MMo0vvlzbCRWKDZyjdpNoWFf5O8tPwsunHyazKYcpQX1CMD13poeMMFe vXegohfcsya/9OJxOU66FTUnUf8QO56vawRumP2jQgsPuzVnINSXgllL1FF0AUh4k9fm +IEw1P/m/TfUYtpaqnVrRyX/txLl4Zvy1bB7BoLUsuN3eyM0GNty0jskgQ9goi/lD/XO eAJQ== 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:mime-version :content-transfer-encoding; bh=t79WR+N+O/xLx5EnVWrI0Bo3jvdlkHF5FexB0Coc0e4=; b=QJ5wOM8YWwKYBQsf0e+H+oou1l43FLJDsyj4Ue31btGjWgi8T3cFmyrd5zJPCikl42 VkodJ4zgbg5caCjveh2sGjhIn42xkt+AdxQ28bG/VZIVrDhHLrwzS+1kOxSDZoobH0Yw +yzEwFLBDEZITrZ4itYDK+HdSVj78+SRJzxSbv5JyMqoGbZiC11D3OoDGqLdMcg7Ncpd P141qSdnC9OMLTASS0Z6oFUbwEFqA/WXUqfCO6C00Qt7hRVgnrUkbjsc3rm8AStleX78 Nh/od5Db7h7Wiong6/cif23elsvbd1D4q/kOjcxDizVgTSayKO8DqerLR1ntBF2wzWin PTvw== X-Gm-Message-State: APjAAAWqyrtF7+8w/H+cAR+p8S+8ewA3CKhKN6mmL5k/sw0Z0cxo8CMs OtaRAw/gYidOII4abtnR5wQ= X-Google-Smtp-Source: APXvYqzEklauFIvbHoHH6Q4TOD2OrcGCFpTLs5/jFW8oZl6MOSuEwmS7hrvyc7XPl7s5DXAKl7VxXA== X-Received: by 2002:a1c:5401:: with SMTP id i1mr3986014wmb.99.1582046910216; Tue, 18 Feb 2020 09:28:30 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Feb 2020 09:28:29 -0800 (PST) From: Wambui Karuga To: abrodkin@synopsys.com, airlied@linux.ie, daniel@ffwll.ch Cc: gregkh@linuxfoundation.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/arc: make arcpgu_debugfs_init return 0 Date: Tue, 18 Feb 2020 20:28:12 +0300 Message-Id: <20200218172821.18378-1-wambui.karugax@gmail.com> X-Mailer: git-send-email 2.25.0 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 arcpgu_debugfs_init and have the latter function return 0 directly. Signed-off-by: Wambui Karuga --- drivers/gpu/drm/arc/arcpgu_drv.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/arc/arcpgu_drv.c b/drivers/gpu/drm/arc/arcpgu_drv.c index d6a6692db0ac..660b25f9588e 100644 --- a/drivers/gpu/drm/arc/arcpgu_drv.c +++ b/drivers/gpu/drm/arc/arcpgu_drv.c @@ -139,8 +139,10 @@ static struct drm_info_list arcpgu_debugfs_list[] = { static int arcpgu_debugfs_init(struct drm_minor *minor) { - return drm_debugfs_create_files(arcpgu_debugfs_list, - ARRAY_SIZE(arcpgu_debugfs_list), minor->debugfs_root, minor); + drm_debugfs_create_files(arcpgu_debugfs_list, + ARRAY_SIZE(arcpgu_debugfs_list), + minor->debugfs_root, minor); + return 0; } #endif -- 2.25.0