From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935602AbcHaPEb (ORCPT ); Wed, 31 Aug 2016 11:04:31 -0400 Received: from ducie-dc1.codethink.co.uk ([185.25.241.215]:53887 "EHLO ducie-dc1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934880AbcHaPEa (ORCPT ); Wed, 31 Aug 2016 11:04:30 -0400 Message-ID: <1472655864.28694.6.camel@codethink.co.uk> Subject: Re: [PATCH] driver core: Add deferred_probe attribute to devices in sysfs From: Ben Hutchings To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, CT kernel Date: Wed, 31 Aug 2016 16:04:24 +0100 In-Reply-To: <20160831131048.GA32056@kroah.com> References: <1471354458.1960.9.camel@codethink.co.uk> <20160831131048.GA32056@kroah.com> Organization: Codethink Ltd. Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2016-08-31 at 15:10 +0200, Greg Kroah-Hartman wrote: > On Tue, Aug 16, 2016 at 02:34:18PM +0100, Ben Hutchings wrote: > > It is sometimes useful to know that a device is on the deferred probe > > list rather than, say, not having a driver available. Expose this > > information to user-space. > > What can someone use this for? It's an attribute that for 99.9% of the > time will always be the same value. > > I can see when debugging it might be nice, but what can a user do with > this? Yes this is mostly for debugging. (Like many of the attributes in sysfs.) Ben. -- Ben Hutchings Software Developer, Codethink Ltd.