Re: [Bug 1116] New: build error in drivers/scsi/ide-scsi.c

From: Greg KH
Date: Sat Aug 16 2003 - 11:41:54 EST


Martin, when is the email-to-bugzilla interface going to be up and
working?

On Sat, Aug 16, 2003 at 06:51:17AM -0700, Martin J. Bligh wrote:
> http://bugme.osdl.org/show_bug.cgi?id=1116
>
> Summary: build error in drivers/scsi/ide-scsi.c
> Kernel Version: 2.6.0-test3-bk
> Status: NEW
> Severity: high
> Owner: andmike@xxxxxxxxxx
> Submitter: axel@xxxxxxxxxxxxx
>
>
> Distribution:Slackware-9.0
> Hardware Environment:
> Software Environment:
> Problem Description:build fails at drivers/scsi/ide-scsi.c:951
> drivers/scsi/ide-scsi.c:951: error: unknown field `name' specified in initializer
> Steps to reproduce:drivers/scsi/ide-scsi.c:951: warning: missing braces around initializer
> drivers/scsi/ide-scsi.c:951: warning: (near initialization for `idescsi_primary.node')
> drivers/scsi/ide-scsi.c:951: warning: initialization from incompatible pointer type

Here's a fix for that, sorry...


diff -Nru a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c
--- a/drivers/scsi/ide-scsi.c Sat Aug 16 09:39:27 2003
+++ b/drivers/scsi/ide-scsi.c Sat Aug 16 09:39:27 2003
@@ -948,7 +948,6 @@
};

static struct device idescsi_primary = {
- .name = "Ide-scsi Parent",
.bus_id = "ide-scsi",
};
static struct bus_type idescsi_emu_bus = {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/