Messages in this thread | | | Date | Sun, 28 Nov 1999 21:44:31 +0100 (MET) | From | Gerard Roudier <> | Subject | Re: [PATCH] Cleanup of version code checks, part I |
| |
Hi guy!
On Sun, 28 Nov 1999, Brian Gerst wrote:
[ ... ]
> On another note, the KERNEL_VERSION macro was introduced in 2.1.90. If > driver maintainers wish to actively support kernels older than this then > they should add to their code: > #ifndef KERNEL_VERSION > #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) > #endif
I used LinuxVersionCode(a, b, c) before 2.1.90 did exist and have had the impression to invent it. May-be I have been a co-inventor. ;-)
> My next patch will cover the cases that use a redundant macro (ie, > LinuxVersionCode).
Historically, it is KERNEL_VERSION which is redundant. By the way, you break all my current patches for a nil change.
May-be you should also change all occurrences of Linux by Penguin and Author by Monkey. This will avoid to do so in a couple of years.
Gérard.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |