lkml.org 
[lkml]   [2006]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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
days...

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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-03-22 21:50    [W:0.110 / U:0.108 seconds]
©2003-2014 Jasper Spaans. Advertise on this site