[lkml]   [2006]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/2] Add full sysfs support to the IPMI driver
On Wed, Mar 22, 2006 at 10:01:09AM +0100, Arjan van de Ven wrote:
> On Tue, 2006-03-21 at 16:13 -0600, Corey Minyard wrote:
> > +static void ipmi_bmc_release(struct device *dev)
> > +{
> > + printk(KERN_DEBUG "ipmi_bmc release\n");
> > +}
> eehhhh NO.
> Please read the many comments and documentations about why a release
> function is NOT allowed to be empty. In fact the kernel warned you about
> that, didn't it?

Of course that's not ok.

Come on people, does everyone think I just put that warning message in
the kernel for fun to force you to create an empty release function?
Why do people ignore the helpful hints that the kernel provides?

I can take that check out and watch people get their code wrong even
more, as it sure doesn't seem like it is helping anyone out these

Corey, haven't we discussed this in the past?

greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-03-22 21:50    [W:0.048 / U:1.756 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site