RE: [BK PATCH] add SMBIOS tables to sysfs

From: Michael_E_Brown
Date: Wed Apr 28 2004 - 14:46:28 EST


Looks good. You can go ahead and add it to your tree.

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?
--
Michael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/