Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp122660imu; Tue, 22 Jan 2019 15:10:07 -0800 (PST) X-Google-Smtp-Source: ALg8bN4mDXFMnf6eigo/fUx2zVPN1tuo9qTdchhVcSd95oayVx407TKXOVCx7imPXo3NdBop+5jC X-Received: by 2002:a65:4946:: with SMTP id q6mr32893984pgs.201.1548198607500; Tue, 22 Jan 2019 15:10:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548198607; cv=none; d=google.com; s=arc-20160816; b=a2M58L0rDpwwpJajELL0cgtoEb/ZPlUx+EqXxZysOn+4+4++/WT0o86SwREKSVqjR7 EqoYLj0PBuGIjKhYLoNJRnj9HrX6NtoC2FdulMNb5vb1bK6EM6iufRDjSgWcQN6eSs0Y PJJsWRHTGhXIp4cb+F6GsLGQ+BeGpL4zyep5O9YiWqRcWXKP03iwRCy3mH393meGSLyI 6c8RmJUXL9gICq932jDza8XhqUK23Szg2aEl+SIAm+OqslMTOb/F2XnTj8lYT+QsTP39 sPbST1Tx9g/dL/rKbFgp/1kZ7wILlCs1qbD8BVTeIHPtEtOj5VqQ5FYnqx96+gUIJNJ0 TGHw== 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=jyLskwnJ+kU80pGXJUevhSeoe1HHc9+H7whNFY+pdOIJFiGM10w4WFEM4wy8aj14PB aw/yIJ9NVrFOlczeSjFZSd43Jk56JbwKt8nONkWQ9JhPH/cho1CsSI0A1UhymwLkaSGU PV1SJS5ErBbLRd98AK712uEdTP8m82/BSi3vLskv9CcO4/AbhckEZC1ntgLu409GRCuz Yy/yLn8tv14FkrRRz8rtc6t89ftw2m2IktYQcyK3FMf8HlsUe4YPH+u89xLrkgl8tArx F3NUYDUhMVHVJL8W631x8RnqTD5rHJ1VOJmTuJBdWLNXcxyq7/95L4CH8dZvWpF4vxT4 /tew== 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 a8si16705100pgi.359.2019.01.22.15.09.51; Tue, 22 Jan 2019 15:10:07 -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 S1726994AbfAVXFj (ORCPT + 99 others); Tue, 22 Jan 2019 18:05:39 -0500 Received: from muru.com ([72.249.23.125]:34798 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726207AbfAVXFi (ORCPT ); Tue, 22 Jan 2019 18:05:38 -0500 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id B8BB980F6; Tue, 22 Jan 2019 23:05:45 +0000 (UTC) Date: Tue, 22 Jan 2019 15:05:35 -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, Paul Walmsley , Aaro Koskinen , linux-omap@vger.kernel.org Subject: Re: [PATCH 3/4] arm: omap1: no need to check return value of debugfs_create functions Message-ID: <20190122230535.GC5720@atomide.com> References: <20190122144114.9816-1-gregkh@linuxfoundation.org> <20190122144114.9816-4-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190122144114.9816-4-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