Date: Tue, 05 Feb 2002 15:01:39 -0800 From: Julian Elischer <julian@vicor-nb.com> To: current@freebsd.org Subject: LINT failures (please check this) Message-ID: <3C606453.F5063F92@vicor-nb.com>
next in thread | raw e-mail | index | archive | help
ata-raid.o: In function `ar_attach':
ata-raid.o(.text+0xc0): multiple definition of `ar_attach'
if_ar.o(.text+0x10): first defined here
/usr/libexec/elf/ld: Warning: size of symbol `ar_attach' changed from
663 to 777 in ata-raid.o
The ata-raid author should have checked whether there was already a
symbol ar_attach.
uhci.o: In function `uhci_idone':
uhci.o(.text+0x1330): undefined reference to `uhci_dump_ii'
uhci.o: In function `uhci_device_isoc_done':
uhci.o(.text+0x2fab): undefined reference to `uhci_dump_ii'
*** Error code 1
Can someone in the USB crew PLEASE fix this, or I'll go do it myself and
then
I'm sure they will complain..
diffs: (cut'n'pasted, apply manually)
Index: dev/ata/ata-all.c
===================================================================
RCS file: /usr/home/cvs/src/sys/dev/ata/ata-all.c,v
retrieving revision 1.127
diff -u -r1.127 ata-all.c
--- dev/ata/ata-all.c 2002/02/04 19:23:40 1.127
+++ dev/ata/ata-all.c 2002/02/05 22:57:00
@@ -531,7 +531,7 @@
if (ch->devices & ATA_ATA_SLAVE)
ad_attach(&ch->device[SLAVE]);
}
- ar_attach();
+ atar_attach();
#endif
#if defined(DEV_ATAPICD) || defined(DEV_ATAPIFD) ||
defined(DEV_ATAPIST)
/* then the atapi devices */
Index: dev/ata/ata-raid.c
===================================================================
RCS file: /usr/home/cvs/src/sys/dev/ata/ata-raid.c,v
retrieving revision 1.22
diff -u -r1.22 ata-raid.c
--- dev/ata/ata-raid.c 2002/02/04 19:23:40 1.22
+++ dev/ata/ata-raid.c 2002/02/05 22:57:01
@@ -107,7 +107,7 @@
}
void
-ar_attach()
+atar_attach()
{
struct ar_softc *raid;
dev_t dev;
Index: dev/ata/ata-raid.h
===================================================================
RCS file: /usr/home/cvs/src/sys/dev/ata/ata-raid.h,v
retrieving revision 1.7
diff -u -r1.7 ata-raid.h
--- dev/ata/ata-raid.h 2002/02/04 19:23:40 1.7
+++ dev/ata/ata-raid.h 2002/02/05 22:57:01
@@ -206,5 +206,5 @@
} __attribute__((packed));
int ar_probe(struct ad_softc *);
-void ar_attach(void);
+void atar_attach(void);
Index: dev/usb/uhci.c
===================================================================
RCS file: /usr/home/cvs/src/sys/dev/usb/uhci.c,v
retrieving revision 1.79
diff -u -r1.79 uhci.c
--- dev/usb/uhci.c 2002/02/03 17:03:34 1.79
+++ dev/usb/uhci.c 2002/02/05 22:57:05
@@ -704,6 +704,12 @@
UREAD2(sc, UHCI_PORTSC2)));
}
+Static void
+uhci_dump_ii(uhci_intr_info_t *ii)
+{
+ printf("Fill me in");
+}
+
void
uhci_dump_td(uhci_soft_td_t *p)
{
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C606453.F5063F92>
