Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp748978ybh; Tue, 10 Mar 2020 07:33:47 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvTyGe5hPjXR8gVPutpG7O81MBkpZ2njhn7Y9Vd4cMfoVQQMXqWKnQtczu+TXOQcXsoMrIm X-Received: by 2002:a9d:77c3:: with SMTP id w3mr16276724otl.245.1583850827263; Tue, 10 Mar 2020 07:33:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583850827; cv=none; d=google.com; s=arc-20160816; b=g2YZelDJ7XYve1J6pElnG74E5k/7XANN6xN3mhcl9t0+f+nsaY28YgjxE/DTbxv82R kcbi+G+1s3wVEnYC0HlgmuzFfA2sVCElY0RowTs5nL/5TyMuQEgj4XOXXRbA2ZRxoODu lD/k8f+wS2UnPtlvQ5NmXQDUwtQD/d/S8SJf9YDaBhJj/yPDxdF4pN/HxP35tYcPvdDF uQphDFCP1x+wLu+laOLWNHijVJ+J2c3IUrB7uqCPcvdh4dj9JzJ34XW3Vfb3LGWJgI98 aIT5UlSYpXrZHSzoGsROJoXd/CrwS/T12VB0cS8deqTEwj6FdfqitMJivXVjRHYXYnzC 2giA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=cFBEne7hwjOxeu23maF9FSpyad34IikuVcweg92i6wk=; b=Wc07EGvproqdXX3nBZ2qPdpKLSU/K5NYkvZ3WSu0pAkqT7GUKoalWKebs7xSnGKBtu 2eZRjglBaYExGJT9Wc7BhgxH5adzcWzJztK9p6sMAgSkuyDKyhl5XrtmsieyiPi/OzGG cwvcMziGJP4JYmj4D8Mv4eydJqiD9csd6AvsKgsVN/JaI4EBMwk1Ne87ThCZ/84oC49t E4A3pt95aJvX6KQ6RVV0tKv4AKdbszEJ/0XNxZfcuL6texF8hpl+smxwVoaO/V26Vi67 1V4iaveqh22x0RrPcnFiZIuGQR2Y+oBVnvY7Dpumif3RdB+/llHY932rqIiQ4u+lIeZQ o36A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Sv976ddJ; 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 b1si8316517otq.81.2020.03.10.07.33.29; Tue, 10 Mar 2020 07:33:47 -0700 (PDT) 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=Sv976ddJ; 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 S1727085AbgCJOdK (ORCPT + 99 others); Tue, 10 Mar 2020 10:33:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:58518 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726273AbgCJOdK (ORCPT ); Tue, 10 Mar 2020 10:33:10 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.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 8322D20637; Tue, 10 Mar 2020 14:33:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583850790; bh=MXHfn2QUOH61lBXKxaYHDJYxCIjyhOdb6HyxFRWTGHw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Sv976ddJj+D4EKiccE4MIvMeH/8PciewJAueIWmub+kXBTAbApd/SKczRznBv9xW4 Qe9KSDY0ZFPQkdMcuDE2gT4E267HZAKsxkI4oeaJxBM/L9atCVvUXPtfhv2trBtBTI c0ILy/4GEwc9DUgjPbi69ZfxTBHxRwGtEbKh3Tyk= Date: Tue, 10 Mar 2020 15:33:07 +0100 From: Greg KH To: Wambui Karuga Cc: airlied@linux.ie, daniel@ffwll.ch, Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 00/17] drm: subsytem-wide debugfs functions refactor Message-ID: <20200310143307.GA3376131@kroah.com> References: <20200310133121.27913-1-wambui.karugax@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200310133121.27913-1-wambui.karugax@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 10, 2020 at 04:31:04PM +0300, Wambui Karuga wrote: > This series includes work on various debugfs functions both in drm/core > and across various drivers in the subsystem. > Since commit 987d65d01356 (drm: debugfs: make drm_debugfs_create_files() > never fail), drm_debugfs_create_files() does not fail and only returns > zero. This series therefore removes the left over error handling and > checks for its return value across drm drivers. > > As a result of these changes, most drm_debugfs functions are converted > to return void in this series. This also enables the > drm_driver, debugfs_init() hook to be changed to return void. > > v2: individual driver patches have been converted to have debugfs > functions return 0 instead of void to prevent breaking individual driver > builds. > The last patch then converts the .debugfs_hook() and its users across > all drivers to return void. This looks much better to me, nice job: Reviewed-by: Greg Kroah-Hartman