Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp122683imu; Tue, 22 Jan 2019 15:10:10 -0800 (PST) X-Google-Smtp-Source: ALg8bN5xeYuiyRwF8emm+VESYcb8sejbqJJQtCwGDL2xa01mG8g+oO6dmLiQrPbJdTyBHcO5Bp2U X-Received: by 2002:a17:902:7b91:: with SMTP id w17mr36248096pll.111.1548198609980; Tue, 22 Jan 2019 15:10:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548198609; cv=none; d=google.com; s=arc-20160816; b=phOKuvaTsD78wONgesktruypTk0w9q9GzyXh/r6hHfIN+OcMxIBKxD2p/sv9FwikFb /Sa2YO8eQOQnoL7dHLQSvXdlm8nh+gx/Zr6cr3ITFd37RxxlfKLBr0Sse0L99S5YcQKk 0RyGsHcMyOnVUHt69tFuglrr0GXV8uXsrlIZPqn8WLLIh0XFZEowwjxE5J9Ihz1eEXC/ m6vAXNaZig7K6iUZk43/1aoIN8QPr4x92Faw+C4eGEDa9Zfmi2St7rABvzOQVViipg0s +TnvdvTUK7a+uweo71Z7arNH+VWRgbRtqP8YwAdMGaGlD1r320J/Gxpm1xqotK6fvAKg 7zcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=ZEKbnM1tAG0JSRgPxwvoX6jn3Zp9sg3XbXQIOUxyv3w=; b=KCs2zCWjJPkD1caNILWlcuS2IHY5dtD4WQ6n20vUFi+K9iQCkawMkcfVqofr+heeqG y/tAYuSqQawhL5QMljqy8tpdw+yb+jgI0IMxIGxVtHE2WpVEpAJOwzM0kv/ZyoYdcBAz 0Y3zAj1T9o8JgmacOJpWbN34or6uNn+L4gID+Sul/CKHn0JTMOQYQ8MP3i97X5jqHvCl YqluNCkAdmX58+HFp294BVYgg2CtCWR8Dw7Kgu4NCBvCwCssvm/CMgML72hRUAroJ85R H7XMSJ0ShrRRjyzUBfGTGAbcXHiv59pwUMEq3Rq0JpiRaTfxHSVGAANT6qSpjiYwDfix Unyw== ARC-Authentication-Results: i=1; mx.google.com; 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 a6si16642599pfo.90.2019.01.22.15.09.54; Tue, 22 Jan 2019 15:10:09 -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; 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 S1726931AbfAVXGz (ORCPT + 99 others); Tue, 22 Jan 2019 18:06:55 -0500 Received: from muru.com ([72.249.23.125]:34814 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726207AbfAVXGz (ORCPT ); Tue, 22 Jan 2019 18:06:55 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 89BD08125; Tue, 22 Jan 2019 23:07:02 +0000 (UTC) Date: Tue, 22 Jan 2019 15:06:51 -0800 From: Tony Lindgren To: Greg Kroah-Hartman Cc: Catalin Marinas , Kevin Hilman , Russell King , Will Deacon , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org Subject: Re: [PATCH 4/4] arm: omap2: no need to check return value of debugfs_create functions Message-ID: <20190122230651.GD5720@atomide.com> References: <20190122144114.9816-1-gregkh@linuxfoundation.org> <20190122144114.9816-5-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190122144114.9816-5-gregkh@linuxfoundation.org> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Greg Kroah-Hartman [190122 14:41]: > When calling debugfs functions, there is no need to ever check the > return value. The function can work or not, but the code logic should > never do something different based on this. Acked-by: Tony Lindgren