From patchwork Mon Oct 21 14:51:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 11203113 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9575F913 for ; Mon, 21 Oct 2019 22:23:13 +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 7B0BE214B2 for ; Mon, 21 Oct 2019 22:23:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7B0BE214B2 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be 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 05CAD6E2A8; Mon, 21 Oct 2019 22:23:11 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8F4DC6E149 for ; Mon, 21 Oct 2019 14:52:11 +0000 (UTC) Received: from ramsan ([84.194.98.4]) by andre.telenet-ops.be with bizsmtp id GErr2100905gfCL01Erri1; Mon, 21 Oct 2019 16:52:09 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan with esmtp (Exim 4.90_1) (envelope-from ) id 1iMZ2E-00075d-VZ; Mon, 21 Oct 2019 16:51:50 +0200 Received: from geert by rox.of.borg with local (Exim 4.90_1) (envelope-from ) id 1iMZ2E-0008FP-Rq; Mon, 21 Oct 2019 16:51:50 +0200 From: Geert Uytterhoeven To: =?utf-8?q?Breno_Leit=C3=A3o?= , Nayna Jain , Paulo Flabiano Smorigo , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Herbert Xu , "David S . Miller" , Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= , David@rox.of.borg, David Airlie , Daniel Vetter , Casey Leedom , Shannon Nelson , Pensando Drivers , Kevin Hilman , Nishanth Menon Subject: [PATCH 0/5] debugfs: Remove casts in debugfs_create_*() callers Date: Mon, 21 Oct 2019 16:51:44 +0200 Message-Id: <20191021145149.31657-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.17.1 X-Mailman-Approved-At: Mon, 21 Oct 2019 22:23:09 +0000 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: amd-gfx@lists.freedesktop.org, Geert Uytterhoeven , linux-pm@vger.kernel.org, Greg Kroah-Hartman , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-crypto@vger.kernel.org, netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi all, Casting parameters in debugfs_create_*() calls prevents the compiler from performing some checks. Hence this patch series removes superfluous casts, or reworks code to no longer need the casts. All patches can be applied independently, there are no dependencies. Thanks for your comments! Geert Uytterhoeven (5): crypto: nx - Improve debugfs_create_u{32,64}() handling for atomics cxgb4/cxgb4vf: Remove superfluous void * cast in debugfs_create_file() call drm/amdgpu: Remove superfluous void * cast in debugfs_create_file() call power: avs: smartreflex: Remove superfluous cast in debugfs_create_file() call ionic: Use debugfs_create_bool() to export bool drivers/crypto/nx/nx_debugfs.c | 18 +++++++++--------- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 4 ++-- .../ethernet/chelsio/cxgb4vf/cxgb4vf_main.c | 2 +- .../ethernet/pensando/ionic/ionic_debugfs.c | 3 +-- drivers/power/avs/smartreflex.c | 2 +- 5 files changed, 14 insertions(+), 15 deletions(-)