[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LFD.0.98.0705231914430.3890@woody.linux-foundation.org>
Date: Wed, 23 May 2007 19:16:33 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Bartlomiej Zolnierkiewicz <bzolnier@...il.com>,
Andrew Morton <akpm@...ux-foundation.org>
cc: linux-ide@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [git patches] IDE fixes
On Wed, 23 May 2007, Linus Torvalds wrote:
>
> So please, please, please, realize that the compiler is _stupid_, and
> fixing warnings without understanding the code is bad.
Btw, this is fundamental. If you don't need to understand the code, then
the compiler could have just fixed it for you, and there was no need to
warn.
So compiler warnings have two cases:
- the compiler is being a complete a**hole, and the warning should exist.
It happens.
- it can be fixed, but only by understanding what the code wants to do.
In no case is it ok to just "shut up the warning".
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists