* 17 month late patch for Linux v2.2.x
@ 2000-12-13 5:18 John Fort
2000-12-17 8:36 ` Peter Samuelson
0 siblings, 1 reply; 2+ messages in thread
From: John Fort @ 2000-12-13 5:18 UTC (permalink / raw)
To: alan; +Cc: linux-kernel, johnf
Alan, this is identical to the patch that was in patch-2.3.10 of Jul 5 1999
except a line number difference of one.
It is only needed if you build your v2.2.x kernel for the Initio 1060p LVD
SCSI controller using a later compiler
than 2.7.2.3 and then are stupid enough to ignore any compiler warnings
about 'ambiguous else, suggest using braces'.
Harbison & Steele 2nd Ed, p202, under 'Dangling Else problem' also show the
misleading indentation.
This aggravation was prompted by trying to install RedHat 7.0 and Mandrake
7.2 to my SCSI disks last week.
In linux/drivers/scsi/i60uscsi.c:
Line 768: add ' {' at end of line
Line 771: replace 4th Tab with '} '
Line 772: delete 5th Tab.
I tried hand entering the patch into Outhouse Exploder 5.5 and conceeded.
cu johnf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 17 month late patch for Linux v2.2.x
2000-12-13 5:18 17 month late patch for Linux v2.2.x John Fort
@ 2000-12-17 8:36 ` Peter Samuelson
0 siblings, 0 replies; 2+ messages in thread
From: Peter Samuelson @ 2000-12-17 8:36 UTC (permalink / raw)
To: John Fort; +Cc: alan, linux-kernel
[John Fort]
> It is only needed if you build your v2.2.x kernel for the Initio
> 1060p LVD SCSI controller using a later compiler than 2.7.2.3 and
> then are stupid enough to ignore any compiler warnings about
> 'ambiguous else, suggest using braces'.
You mean gcc 2.7.2.3 actually gives you the *other* meaning for that
wrong construction? That is too weird. The C standard is clear,
'else' always goes with the immediately preceding 'if' statement.
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-12-17 9:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-13 5:18 17 month late patch for Linux v2.2.x John Fort
2000-12-17 8:36 ` Peter Samuelson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox