lkml.org 
[lkml]   [2014]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kobject_init and the zeroed-out-memory requirement
On Sun, Oct 05, 2014 at 06:13:05PM -0400, Jason Noakes wrote:
> > No driver should be working with "raw" kobjects.
>
> I don't agree, but it's irrelevant.

Not at all. I'd wager that if a driver is messing around with a "raw"
kobject, it is doing something seriously wrong. Of course there are
exceptions, but those are very rare, and exceptions. A driver should be
using the driver core, and the functions and objects provided there, and
provided by the bus it lives on.

So, have a pointer to some driver code that is calling
kobject_initialize()? I'd love to see it.

thanks,

greg k-h


\
 
 \ /
  Last update: 2014-10-06 02:01    [W:0.038 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site