[parisc-linux] cvs confuse me: please help!

Joel Soete soete.joel at tiscali.be
Sun Jan 11 06:19:02 MST 2004


Hi all,

As usual I do a 'cvs -z3 update linux-2.6'.

Head of linux-2.6/Makefile:
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 1
EXTRAVERSION =-rc2-pa0

# *DOCUMENTATION*
# To see a list of typical targets execute "make help"
# More info can be located in ./README
# Comments in this file are targeted only to the developer, do not
# expect to learn how to build the kernel reading this file.

To build my own merge with 2.6.1 I grab linux-2.6.1-rc22.tar.bz2 from ftp.kernel.org and do a diff between src to obtain a patch 
file. Just scaning this patch file I read this:
[snip]
diff -NaurX dontdiff linux-2.6.1-rc2/drivers/scsi/sym53c8xx_2/sym_misc.c linux-2.6.1-rc2-pa0/drivers/scsi/sym53c8xx_2/sym_misc.c
--- linux-2.6.1-rc2/drivers/scsi/sym53c8xx_2/sym_misc.c 2004-01-06 06:10:10.000000000 +0100
+++ linux-2.6.1-rc2-pa0/drivers/scsi/sym53c8xx_2/sym_misc.c     2003-12-14 21:57:09.000000000 +0100
@@ -315,7 +315,7 @@
          */
         inq_byte56 = tp->inq_byte56;
         if (inq_version >= 4 && inq_len > 56)
-               tp->inq_byte56 = inq_data[56];
+               inq_byte56 = inq_data[56];
  #if 0
  printf("XXXXXX [%d] inq_version=%x inq_byte7=%x inq_byte56=%x XXXXX\n",
         inq_len, inq_version, inq_byte7, inq_byte56);
[snip]

To be sure it's relevant, I check with viewcvs and read the Matthew's patch:
===================================================================
RCS file: /var/lib/cvs/linux-2.6/drivers/scsi/sym53c8xx_2/sym_misc.c,v
retrieving revision 1.3
retrieving revision 1.3.4.1
diff -u -r1.3 -r1.3.4.1
--- linux-2.6/drivers/scsi/sym53c8xx_2/sym_misc.c	2003/12/14 15:26:41	1.3
+++ linux-2.6/drivers/scsi/sym53c8xx_2/sym_misc.c	2004/01/07 21:09:15	1.3.4.1
@@ -315,7 +315,7 @@
  	 */
  	inq_byte56 = tp->inq_byte56;
  	if (inq_version >= 4 && inq_len > 56)
-		inq_byte56 = inq_data[56];
+		tp->inq_byte56 = inq_data[56];
  #if 0
  printf("XXXXXX [%d] inq_version=%x inq_byte7=%x inq_byte56=%x XXXXX\n",
  	inq_len, inq_version, inq_byte7, inq_byte56);
=========><=========

I so remove my tree linux-2.6 and redo cvs co linux-2.6 but when I check 'sym_misc.c', I always got:
[snip]
     313         /*
     314          *  Get CLOCKING capability.
     315          */
     316         inq_byte56 = tp->inq_byte56;
     317         if (inq_version >= 4 && inq_len > 56)
     318                 inq_byte56 = inq_data[56];
     319 #if 0
     320 printf("XXXXXX [%d] inq_version=%x inq_byte7=%x inq_byte56=%x XXXXX\n",
     321         inq_len, inq_version, inq_byte7, inq_byte56);
     322 #endif
[snip]

What do I wrong?

Thanks in advance for help and advise,
	Joel



More information about the parisc-linux mailing list