Skip to contentSkip to conversation

remove unneeded #define LinuxVersionCode from eata.c (fwd)

PATCH In review Rusty Trivial Russell 2 participants 2 messages May 26, 2003 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 remove unneeded #define LinuxVersionCode from eata.c (fwd)

From: Adrian Bunk <[email protected]>

Hi Linus,

the trivial patch in the mail below still applies against and compiles under 2.5.63.

Please apply
Adrian

----- Forwarded message from Adrian Bunk <[email protected]> -----

Date: Sun, 12 Jan 2003 09:42:53 +0100
From: Adrian Bunk <[email protected]>
To: [email protected]
Subject: [2.5 patch] remove unneeded #define LinuxVersionCode from eata.c

Hi Dario,

the patch below removes the unneeded #define LinuxVersionCode from eata.c. It's not used and if it was needed KERNEL_VERSION in include/linux/version.h does the same.

I've tested the compilation with 2.5.56.

Please apply
Adrian

drivers/scsi/eata.c renamed from drivers/scsi/eata.c.orig +0 -4
@@ -449,10 +449,6 @@
 
 #include <linux/version.h>
 
-#ifndef LinuxVersionCode
-#define LinuxVersionCode(v, p, s) (((v)<<16)+((p)<<8)+(s))
-#endif
-
 #define MAX_INT_PARAM 10
 
 #if defined(MODULE)
Signature · 3 lines
  What is this? http://www.kernel.org/pub/linux/kernel/people/rusty/trivial/
  Don't blame me: the Monkey is driving
  File: Adrian Bunk <[email protected]>: [2.5 patch] remove unneeded #define LinuxVersionCode from eata.c (fwd)
#1 lore raw

dat

Hi scsi list

I have an adaptec 2120S controller card, I must install a dat unit Compaq SDT-10000.

/proc/scsi/scsi said only the (whinchesters raid0) attached. I have tried compile <st> support to kernel and module too. I have tried find a doc or description, but for nothing. Can anybody help me pls, it's awful.