All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH][RESUBMIT][13/ 21] drivers/scsi/sym53c8xx_2/* - compile
@ 2005-02-14 22:02 Stephen Biggs
  2005-02-15  2:07 ` [KJ] [PATCH][RESUBMIT][13/ 21] drivers/scsi/sym53c8xx_2/* - Matthew Wilcox
  2005-02-15  6:35 ` Stephen Biggs
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Biggs @ 2005-02-14 22:02 UTC (permalink / raw)
  To: kernel-janitors

[-- Attachment #1: Mail message body --]
[-- Type: text/plain, Size: 786 bytes --]

Description: compile warning cleanup - stop compilation of unused 
structure member unless proper symbol is defined

Signed-off-by: Stephen Biggs <yrgrknmxpzlk@gawab.com>

diff -Nurdp -X dontdiff-osdl linux-2.6.11-rc3-mm2-original/drivers/scsi/sym53c8xx_2/sym_glue.c linux-2.6.11-rc3-mm2/drivers/scsi/sym53c8xx_2/sym_glue.c
--- linux-2.6.11-rc3-mm2-original/drivers/scsi/sym53c8xx_2/sym_glue.c	2005-02-12 12:06:25.000000000 +0200
+++ linux-2.6.11-rc3-mm2/drivers/scsi/sym53c8xx_2/sym_glue.c	2005-02-12 17:35:49.000000000 +0200
@@ -1817,7 +1817,9 @@ static int __devinit sym_check_supported
 	struct pci_dev *pdev = device->pdev;
 	u_char revision;
 	unsigned long io_port = device->s.io_port;
+#ifndef SYM_CONF_IOMAPPED
 	unsigned long base = device->s.base;
+#endif
 	int i;
 
 	/*




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

_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors

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

end of thread, other threads:[~2005-02-15  6:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-14 22:02 [KJ] [PATCH][RESUBMIT][13/ 21] drivers/scsi/sym53c8xx_2/* - compile Stephen Biggs
2005-02-15  2:07 ` [KJ] [PATCH][RESUBMIT][13/ 21] drivers/scsi/sym53c8xx_2/* - Matthew Wilcox
2005-02-15  6:35 ` Stephen Biggs

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.