Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752974AbbHCKyi (ORCPT ); Mon, 3 Aug 2015 06:54:38 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:38068 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751773AbbHCKyh (ORCPT ); Mon, 3 Aug 2015 06:54:37 -0400 Date: Mon, 3 Aug 2015 12:54:33 +0200 From: Daniel Vetter To: Sudip Mukherjee Cc: Daniel Vetter , Jani Nikula , David Airlie , intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v2] drm/i915: load driver even if debugfs fails Message-ID: <20150803105433.GC24689@phenom.ffwll.local> Mail-Followup-To: Sudip Mukherjee , Daniel Vetter , Jani Nikula , David Airlie , intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org References: <1437660372-14679-1-git-send-email-sudipm.mukherjee@gmail.com> <20150803092642.GA1371@sudip-pc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150803092642.GA1371@sudip-pc> X-Operating-System: Linux phenom 4.2.0-rc1+ User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1337 Lines: 36 On Mon, Aug 03, 2015 at 02:56:42PM +0530, Sudip Mukherjee wrote: > On Thu, Jul 23, 2015 at 07:36:12PM +0530, Sudip Mukherjee wrote: > > debugfs files are not necessary for the usual operation of the driver > > and the device. No need to check for the return values from the debugfs > > file creation. Even if one debugfs file fails to create we try with the > > next debugfs file and ultimately return success always so that the > > driver continues to load. Does this even happen? I'm reluctant to merge patches without real-world justification. -Daniel > > cleanup will clean all the created debugfs files as the list of file > > that are created are maintained in minor->debugfs_list. > > > > Cc: Chris Wilson > > Signed-off-by: Sudip Mukherjee > > --- > A gentle ping. > > regards > sudip > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/