Re: kernel BUG at ide-cd.c:1726 in 2.6.24-03863-g0ba6c33 && -g8561b089

2008-01-30 Thread Roland Dreier
> Could you try the patch below and give me all boot messages again? Sure, no problem, see below for full log (I updated to the latest git, which seems to have some other unrelated problems with things timing out earlier in the boot, but it does get to the ide-cd init); here's the relevant lookin

Re: pata_winbond doesn`t unregister from sysfs - bug?

2008-01-04 Thread Roland
here you go! http://bugzilla.kernel.org/show_bug.cgi?id=9687 - Original Message - From: "Alan Cox" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: ; <[EMAIL PROTECTED]> Sent: Friday, January 04, 2008 4:49 PM Subject: Re: pata_winbond doesn`t unregister from sysfs - bug? On Fri, 04 J

Re: [git patches 1/2] warnings: attack valid cases spotted by warnings

2007-07-18 Thread Roland Dreier
> Hey, I appreciate it, but I really do have to warn you that I did this all > blind, and just meant for it to be a "I think this kind of direction is > more productive" thing. I'm not going to guarantee that it works at all. Oh, understood, and I'm definitely planning on taking your patch as

Re: [git patches 1/2] warnings: attack valid cases spotted by warnings

2007-07-17 Thread Roland Dreier
real structure pointer > instead of just a "void *", maybe I left some pointer arithmetic around > that expected it to work as a byte pointer, but now really works on the > whole structure size instead). Given that you took the time to do this, I'll get the patch into a wo

Re: [git patches 1/2] warnings: attack valid cases spotted by warnings

2007-07-17 Thread Roland Dreier
> > So setting a variable to something meaningless (guaranteeing that a > > garbage value is used in case of a bug) just to shut up a warning makes > > no sense -- it's no safer than leaving the code as is. > > Wrong. > > It's safer for two reasons: > - now everybody will see the *sa

Re: [git patches 1/2] warnings: attack valid cases spotted by warnings

2007-07-17 Thread Roland Dreier
I think this patch (on top of the previous one) actually makes the code clearer, and also makes it smaller: add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-41 (-41) function old new delta mthca_tavor_post_send 13441335 -9 mthca_

Re: [git patches 1/2] warnings: attack valid cases spotted by warnings

2007-07-17 Thread Roland Dreier
en. I think things could be cleaned up and made more efficient by getting rid of the initialization of size0 too -- I'll look at doing that) Anyway, I queued this up for my next merge with Linus: commit 6d7d080e9f7cd535a8821efd3835c5cfa5223ab6 Author: Roland Dreier <[EMAIL PROTECTE

Re: [git patches 1/2] warnings: attack valid cases spotted by warnings

2007-07-17 Thread Roland Dreier
> drivers/infiniband/hw/mthca/mthca_qp: kill uninit'd var warning > > drivers/infiniband/hw/mthca/mthca_qp.c: In function > ‘mthca_tavor_post_send’: > drivers/infiniband/hw/mthca/mthca_qp.c:1594: warning: ‘f0’ may be > used > uninitialized in this functi

Re: Another libata TODO item

2005-08-24 Thread Roland Dreier
Jeff> Look at net drivers. Theres no real infrastructure beyond Jeff> bit tests and printks. I wouldn't call that a subsystem, Jeff> so, I wouldn't call this one such either. Well, scsi_logging.h isn't much of a subsystem either. - R. - To unsubscribe from this list: send the line

Re: Another libata TODO item

2005-08-24 Thread Roland Dreier
Jeff> In any case, I also contine to be skeptical of in-kernel Jeff> logging subsystems. Aren't you proposing a libata logging subsystem? - R. - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to [EMAIL PROTECTED] More majordomo info at http

Problems with Promise SATAII TX4

2005-03-29 Thread Kim Roland Rasmussen
Hi all, Together with a couple of others I have been bitten by problems with the Promise SATAII TX4 controller. Common to all is that at some point the kernel log contains the "irq : nobody cared!" error message, followed by a call/stack trace. This is quickly followed up by a "Disabling IRQ #" w

Re: [BK PATCHES] 2.6.x libata fixes (mostly)

2005-02-23 Thread Roland Dreier
ferencing a cast and as such is totally correct, idiomatic and clean C. - Roland - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html