public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* SCSI breaks 'make allyesconfig'
@ 2004-11-17 13:30 Jeff Garzik
  2004-11-17 14:05 ` Jeff Garzik
  2004-11-17 14:05 ` Matthew Wilcox
  0 siblings, 2 replies; 4+ messages in thread
From: Jeff Garzik @ 2004-11-17 13:30 UTC (permalink / raw)
  To: James Bottomley, SCSI Mailing List

Latest -bk:

[jgarzik@pretzel linux-2.6]$ make
   CHK     include/linux/version.h
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
   CHK     include/linux/compile.h
   CHK     usr/initramfs_list
   LD      drivers/scsi/built-in.o
drivers/scsi/osst.o(.bss+0x0): In function `exit_osst':
drivers/scsi/osst.c:195: multiple definition of `ST_partstat'
drivers/scsi/st.o(.bss+0x0):drivers/scsi/st.c:244: first defined here
make[2]: *** [drivers/scsi/built-in.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SCSI breaks 'make allyesconfig'
  2004-11-17 13:30 SCSI breaks 'make allyesconfig' Jeff Garzik
@ 2004-11-17 14:05 ` Jeff Garzik
  2004-11-17 16:21   ` James Bottomley
  2004-11-17 14:05 ` Matthew Wilcox
  1 sibling, 1 reply; 4+ messages in thread
From: Jeff Garzik @ 2004-11-17 14:05 UTC (permalink / raw)
  To: James Bottomley; +Cc: SCSI Mailing List, Andrew Morton

[-- Attachment #1: Type: text/plain, Size: 678 bytes --]

Jeff Garzik wrote:
> [jgarzik@pretzel linux-2.6]$ make
>   CHK     include/linux/version.h
> make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
>   CHK     include/linux/compile.h
>   CHK     usr/initramfs_list
>   LD      drivers/scsi/built-in.o
> drivers/scsi/osst.o(.bss+0x0): In function `exit_osst':
> drivers/scsi/osst.c:195: multiple definition of `ST_partstat'
> drivers/scsi/st.o(.bss+0x0):drivers/scsi/st.c:244: first defined here
> make[2]: *** [drivers/scsi/built-in.o] Error 1
> make[1]: *** [drivers/scsi] Error 2
> make: *** [drivers] Error 2


  ...and the attached patch fixes it.  'ST_partstat' is defined in 
drivers/scsi/st.h, but never used.

	Jeff



[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 326 bytes --]

===== drivers/scsi/st.h 1.20 vs edited =====
--- 1.20/drivers/scsi/st.h	2004-10-25 14:32:30 -04:00
+++ edited/drivers/scsi/st.h	2004-11-17 08:36:22 -05:00
@@ -67,7 +67,7 @@
 	u32 last_block_visited;
 	int drv_block;		/* The block where the drive head is */
 	int drv_file;
-} ST_partstat;
+};
 
 #define ST_NBR_PARTITIONS 4
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SCSI breaks 'make allyesconfig'
  2004-11-17 13:30 SCSI breaks 'make allyesconfig' Jeff Garzik
  2004-11-17 14:05 ` Jeff Garzik
@ 2004-11-17 14:05 ` Matthew Wilcox
  1 sibling, 0 replies; 4+ messages in thread
From: Matthew Wilcox @ 2004-11-17 14:05 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: James Bottomley, SCSI Mailing List

On Wed, Nov 17, 2004 at 08:30:58AM -0500, Jeff Garzik wrote:
> drivers/scsi/osst.o(.bss+0x0): In function `exit_osst':
> drivers/scsi/osst.c:195: multiple definition of `ST_partstat'
> drivers/scsi/st.o(.bss+0x0):drivers/scsi/st.c:244: first defined here

Reported yesterday, and the patch was sent to linux-scsi.

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: SCSI breaks 'make allyesconfig'
  2004-11-17 14:05 ` Jeff Garzik
@ 2004-11-17 16:21   ` James Bottomley
  0 siblings, 0 replies; 4+ messages in thread
From: James Bottomley @ 2004-11-17 16:21 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: SCSI Mailing List, Andrew Morton

On Wed, 2004-11-17 at 08:05, Jeff Garzik wrote:
> > drivers/scsi/osst.o(.bss+0x0): In function `exit_osst':
> > drivers/scsi/osst.c:195: multiple definition of `ST_partstat'
> > drivers/scsi/st.o(.bss+0x0):drivers/scsi/st.c:244: first defined here
> > make[2]: *** [drivers/scsi/built-in.o] Error 1
> > make[1]: *** [drivers/scsi] Error 2
> > make: *** [drivers] Error 2
> 
> 
>   ...and the attached patch fixes it.  'ST_partstat' is defined in 
> drivers/scsi/st.h, but never used.

Yes, this was reported and fixed yesterday.  The fix is already in the
SCSI BK repo:

http://linux-scsi.bkbits.net:8080/scsi-rc-fixes-2.6/cset@419a6d19FQrj1AswswaWWZLXreWppw

James



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-17 16:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-17 13:30 SCSI breaks 'make allyesconfig' Jeff Garzik
2004-11-17 14:05 ` Jeff Garzik
2004-11-17 16:21   ` James Bottomley
2004-11-17 14:05 ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox