public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Michael_E_Brown@Dell.com
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [BK PATCH] add SMBIOS tables to sysfs
Date: Wed, 28 Apr 2004 10:44:58 -0700	[thread overview]
Message-ID: <20040428174458.GH32040@kroah.com> (raw)
In-Reply-To: <0960978B185D2848BF5BBAE1BFB343E104F581@ausx2kmps315.aus.amer.dell.com>

On Wed, Apr 28, 2004 at 12:37:19PM -0500, Michael_E_Brown@Dell.com wrote:
> Looks good. You can go ahead and add it to your tree. 

Ok, will do, thanks for testing.

> I do have one question, though. Here:
> 
> > +static struct kobj_type ktype_smbios = {
> > +	.sysfs_ops	= &smbios_attr_ops,
> > +	.default_attrs	= def_attrs,
> > +	/* statically allocated, no release method necessary */
> > +};
> 
> I have no .release method because I have not kmalloc'ed any 
> instances of this struct. Do I need to re-add a release
> method here?

No, you are ok here.  Static kobj_type structures are ok for 2.6.  For
2.7 we will probably fix up all of this properly, we've learned a lot in
the past few years :)

thanks,

greg k-h

  reply	other threads:[~2004-04-28 19:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-28 17:37 [BK PATCH] add SMBIOS tables to sysfs Michael_E_Brown
2004-04-28 17:44 ` Greg KH [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-04-28 17:18 Michael_E_Brown
2004-04-28 17:36 ` Greg KH
2004-04-28  2:27 Michael Brown
2004-04-28  3:30 ` Greg KH
2004-04-28  3:38   ` Michael Brown
2004-04-28 16:50     ` Greg KH
2004-04-28  3:55   ` Michael Brown
2004-04-28 16:51     ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040428174458.GH32040@kroah.com \
    --to=greg@kroah.com \
    --cc=Michael_E_Brown@Dell.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox