All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Breeds <tony@bakeyournoodle.com>
To: Jim Ruxton <cinetron@passport.ca>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Re: 2.6..5-rc2 "make modules" fails in drivers/scsi/scsi_transport_spi.c
Date: Tue, 30 Mar 2004 08:47:18 +0800	[thread overview]
Message-ID: <20040330004718.GY3445@bakeyournoodle.com> (raw)
In-Reply-To: <4061A548.8060605@passport.ca>

On Wed, Mar 24, 2004 at 10:12:08AM -0500, Jim Ruxton wrote:
> Hi any thoughts what I can do to fix this? Thanks
> A reply to me as well as the list would be appreciated.
> 
> LD [M] drivers/scsi/scsi_mod.o
> CC [M] drivers/scsi/scsi_transport_spi.o
> drivers/scsi/scsi_transport_spi.c: In function `spi_dv_retrain':
> drivers/scsi/scsi_transport_spi.c:388: parse error before `;'
> drivers/scsi/scsi_transport_spi.c:392: parse error before `;'
> drivers/scsi/scsi_transport_spi.c: In function `spi_dv_device_internal':
> drivers/scsi/scsi_transport_spi.c:463: parse error before `;'
> drivers/scsi/scsi_transport_spi.c:475: parse error before `;'
> drivers/scsi/scsi_transport_spi.c:494: parse error before `;'
> drivers/scsi/scsi_transport_spi.c: In function `spi_dv_device':
> drivers/scsi/scsi_transport_spi.c:539: parse error before `;'
> drivers/scsi/scsi_transport_spi.c:543: parse error before `;'
> make[2]: *** [drivers/scsi/scsi_transport_spi.o] Error 1
> make[1]: *** [drivers/scsi] Error 2
> make: *** [drivers] Error 2

I bet you're using an old (gcc-2.95)  Try:

################################################################################
--- 2.6.5-rc2.clean/drivers/scsi/scsi_transport_spi.c	2004-03-30 10:45:44.000000000 +1000
+++ 2.6.5-rc2.scsi/drivers/scsi/scsi_transport_spi.c	2004-03-30 10:51:01.000000000 +1000
@@ -33,7 +33,7 @@
 #include <scsi/scsi_transport.h>
 #include <scsi/scsi_transport_spi.h>
 
-#define SPI_PRINTK(x, l, f, a...)	printk(l "scsi(%d:%d:%d:%d): " f, (x)->host->host_no, (x)->channel, (x)->id, (x)->lun, ##a)
+#define SPI_PRINTK(x, l, f, a...)	printk(l "scsi(%d:%d:%d:%d): " f, (x)->host->host_no, (x)->channel, (x)->id, (x)->lun , ##a)
 
 static void transport_class_release(struct class_device *class_dev);
 
################################################################################

Yours Tony

        linux.conf.au       http://lca2005.linux.org.au/
	Apr 18-23 2005      The Australian Linux Technical Conference!


      reply	other threads:[~2004-03-30  0:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-24 15:12 2.6..5-rc2 "make modules" fails in drivers/scsi/scsi_transport_spi.c Jim Ruxton
2004-03-30  0:47 ` Tony Breeds [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040330004718.GY3445@bakeyournoodle.com \
    --to=tony@bakeyournoodle.com \
    --cc=cinetron@passport.ca \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.