public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* debugfs_create_{u,x,s}{8,16,32,64}
@ 2014-08-13 21:57 Matt Longnecker
  2014-08-13 21:57 ` debugfs_create_{u,x,s}{8,16,32,64} Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Longnecker @ 2014-08-13 21:57 UTC (permalink / raw)
  To: gregkh, linux-kernel@vger.kernel.org, mattias.nissler

Greg,

Back in December 2007 Mattias Nissler proposed a patch defining 
debugfs_create_s32 and friends. In it he reworked the already existent u 
and x versions. The subject of Mattias's mail was "[PATCH] debugfs: 
Revamp debugfs_create_{u,x,s}{8,16,32,64} to support signed integers".

As I'm writing a new driver related to thermal management, I'm finding 
the absence of debugfs_create_s32 to be a stumbling block. I see at 
least two other folks who have stumbled on the absence of 
debugfs_create_s32 in the past few years.

Why didn't we merge Mattias's patch? Would you entertain a similar patch 
today?

Thanks,
Matt Longnecker

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: debugfs_create_{u,x,s}{8,16,32,64}
  2014-08-13 21:57 debugfs_create_{u,x,s}{8,16,32,64} Matt Longnecker
@ 2014-08-13 21:57 ` Greg KH
  2014-08-14  9:33   ` debugfs_create_{u,x,s}{8,16,32,64} Mattias Nissler
  0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2014-08-13 21:57 UTC (permalink / raw)
  To: Matt Longnecker; +Cc: linux-kernel@vger.kernel.org, mattias.nissler

On Wed, Aug 13, 2014 at 02:57:05PM -0700, Matt Longnecker wrote:
> Greg,
> 
> Back in December 2007 Mattias Nissler proposed a patch defining
> debugfs_create_s32 and friends. In it he reworked the already existent u and
> x versions. The subject of Mattias's mail was "[PATCH] debugfs: Revamp
> debugfs_create_{u,x,s}{8,16,32,64} to support signed integers".
> 
> As I'm writing a new driver related to thermal management, I'm finding the
> absence of debugfs_create_s32 to be a stumbling block. I see at least two
> other folks who have stumbled on the absence of debugfs_create_s32 in the
> past few years.
> 
> Why didn't we merge Mattias's patch?

I can't remember why I didn't merge a patch from last week, let alone
from 2007, are you crazy?  :)

> Would you entertain a similar patch today?

I always entertain all patches, you never need to ask if you are allowed
to send a patch, that's like asking "Am I allowed to ask a question?"...

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: debugfs_create_{u,x,s}{8,16,32,64}
  2014-08-13 21:57 ` debugfs_create_{u,x,s}{8,16,32,64} Greg KH
@ 2014-08-14  9:33   ` Mattias Nissler
  0 siblings, 0 replies; 3+ messages in thread
From: Mattias Nissler @ 2014-08-14  9:33 UTC (permalink / raw)
  To: Greg KH; +Cc: Matt Longnecker, linux-kernel@vger.kernel.org

On Wed, Aug 13, 2014 at 11:57 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
>
> On Wed, Aug 13, 2014 at 02:57:05PM -0700, Matt Longnecker wrote:
> > Greg,
> >
> > Back in December 2007 Mattias Nissler proposed a patch defining
> > debugfs_create_s32 and friends. In it he reworked the already existent u and
> > x versions. The subject of Mattias's mail was "[PATCH] debugfs: Revamp
> > debugfs_create_{u,x,s}{8,16,32,64} to support signed integers".
> >
> > As I'm writing a new driver related to thermal management, I'm finding the
> > absence of debugfs_create_s32 to be a stumbling block. I see at least two
> > other folks who have stumbled on the absence of debugfs_create_s32 in the
> > past few years.
> >
> > Why didn't we merge Mattias's patch?
>
> I can't remember why I didn't merge a patch from last week, let alone
> from 2007, are you crazy?  :)

Needless to say, I don't remember details either. It might just have
been a case of not adding further debugfs API as long as there's
little demand to justify the addition. The latter may have changed in
the last 7 years (Matt hints at other potential consumers?), but I
personally can't tell as I haven't done any kernel work in more recent
times.

>
>
> > Would you entertain a similar patch today?
>
> I always entertain all patches, you never need to ask if you are allowed
> to send a patch, that's like asking "Am I allowed to ask a question?"...
>
> greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-14  9:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-13 21:57 debugfs_create_{u,x,s}{8,16,32,64} Matt Longnecker
2014-08-13 21:57 ` debugfs_create_{u,x,s}{8,16,32,64} Greg KH
2014-08-14  9:33   ` debugfs_create_{u,x,s}{8,16,32,64} Mattias Nissler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox