Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7477893imu; Tue, 22 Jan 2019 06:42:52 -0800 (PST) X-Google-Smtp-Source: ALg8bN40+mKyphDdl6AGO00UyV+WbWdjV4osCOSvdKbyUrbFj22gLmhMpqRzeFrKe5Oi18ya1tpK X-Received: by 2002:a17:902:7044:: with SMTP id h4mr34278181plt.35.1548168172414; Tue, 22 Jan 2019 06:42:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548168172; cv=none; d=google.com; s=arc-20160816; b=IDd2BKbHKTd9YQz6wWRlTdIo0QPW7f8iB1TIoDxbfjKszQKC8rFgqrWibzim6JDBXy izBCcQpiTfWCHzU2UVngKhp/48BO5h0yEN+rahpoZ6Xccri1T9aWspwjJGcU8Igx0RZJ HG/H6XCoTs9wU56fCvYJFWhefWL95JpiY9DtC04cu6DrH5hKwVeIX1ytrZKZ1sVWU6OZ 6wGEnReRboGr6OOyoSe+aP8tjOy8TS0eE+aKky4GELO9/j8AxBE2PS3r93AzHXGR5TcU fODiPVD8PcdSovQokVgHLnYjJiXFOegiO8NOOTjCi5tYx8mOgipJ6BLF/MvRgoUfOONO ZNHQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=3HVNDBjQWoURYgHdtZQAonLSp048LgjIQjMBSLfKcA4=; b=bhgjd4ZNMuLqxZ1zfota1GvPbiaGzNiHXITtG31Ltm3+RJyepEuzI7mcO8HguFbdmc M0ki5crkDUSpd0Mew4UhhQyc0cPlFuvsTJ4ZTw6YKVg31pfjFtVCksidjTiXpV/iFACr 7Cy318BTKCSRYWgObzc+P2h1+AVc13QEEmWi9+7gsmU6qxFxCWO8EefVcK+X5XXliSeR Ki1LQtt7vHy8WcX3E9JjzDZ0GTXoSZaNGuAKGbq1iasbD3XNgZych8shfV7VwV7X1cK7 zF6PNKPPMZYTcacAHoKtWOxJFZTdbrqPlsK8m+9BozVycj+VSMmMKdPbxB3In39t0oHf 29Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=drNM9kb2; 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 e126si15991458pfh.185.2019.01.22.06.42.36; Tue, 22 Jan 2019 06:42:52 -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=@kernel.org header.s=default header.b=drNM9kb2; 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 S1728758AbfAVOlT (ORCPT + 99 others); Tue, 22 Jan 2019 09:41:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:53168 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728353AbfAVOlT (ORCPT ); Tue, 22 Jan 2019 09:41:19 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7D92E20855; Tue, 22 Jan 2019 14:41:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548168079; bh=BFTnvXnAm5o3G6K0jtRw7dWn6GTmBURul6yM41En70k=; h=From:To:Cc:Subject:Date:From; b=drNM9kb2lNWdeg+G3bR6vPoSJcolXVMUITjyma/KZgi0Eloic232HTY1g1Il2HEqu oWgzqHFHP7HZ2prXbPx5y/feJXq2OYT8JgonwnKBOXsrrddugjIDS47wHx1Nv6wYam hSItg7yFaAhz6E9d7hQLk5umbpyEVOsGEgquNZLo= From: Greg Kroah-Hartman To: Catalin Marinas , Kevin Hilman , Russell King , Will Deacon Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Greg Kroah-Hartman Subject: [PATCH 0/4] ARM: cleanup debugfs usage Date: Tue, 22 Jan 2019 15:41:10 +0100 Message-Id: <20190122144114.9816-1-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 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 When calling debugfs code, there is no need to ever check the return value of the call, as no logic should ever change if a call works properly or not. Fix up a bunch of x86-specific code to not care about the results of debugfs Greg Kroah-Hartman (4): arm64: dump: no need to check return value of debugfs_create functions arm: dump: no need to check return value of debugfs_create functions arm: omap1: no need to check return value of debugfs_create functions arm: omap2: no need to check return value of debugfs_create functions arch/arm/include/asm/ptdump.h | 9 ++--- arch/arm/mach-omap1/clock.c | 63 +++++++-------------------------- arch/arm/mach-omap1/pm.c | 7 ++-- arch/arm/mach-omap2/pm-debug.c | 15 ++++---- arch/arm/mm/dump.c | 4 +-- arch/arm/mm/ptdump_debugfs.c | 8 ++--- arch/arm64/include/asm/ptdump.h | 9 ++--- arch/arm64/mm/dump.c | 4 +-- arch/arm64/mm/ptdump_debugfs.c | 7 ++-- 9 files changed, 34 insertions(+), 92 deletions(-) -- 2.20.1