public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Steven Cole <elenstev@mesatop.com>
To: "Martin J. Bligh" <mbligh@aracnet.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.12-rc3 compile error in aic7xxx_osm.c
Date: Thu, 21 Apr 2005 11:54:39 -0600	[thread overview]
Message-ID: <4267E8DF.9070101@mesatop.com> (raw)
In-Reply-To: <779170000.1114105182@flay>

Martin J. Bligh wrote:
> drivers/scsi/aic7xxx/aic7xxx_osm.c: In function `ahc_linux_init':
> drivers/scsi/aic7xxx/aic7xxx_osm.c:3608: parse error before `int'
> drivers/scsi/aic7xxx/aic7xxx_osm.c:3609: `rc' undeclared (first use in this function)
> drivers/scsi/aic7xxx/aic7xxx_osm.c:3609: (Each undeclared identifier is reported only once
> drivers/scsi/aic7xxx/aic7xxx_osm.c:3609: for each function it appears in.)
> drivers/scsi/aic7xxx/aic7xxx_osm.c: At top level:
> drivers/scsi/aic7xxx/aic7xxx_osm.c:744: warning: `ahc_linux_detect' defined but not used
> 
> 

Looks fixed in Linus' current tree:
--------------------------
commit 858eaca169ed5e7b1b14eebb889323e75a02af0e
tree 385e241e0cc18794b8d8b70095181e2578bee14c
parent a2755a80f40e5794ddc20e00f781af9d6320fafb
author James Bottomley <James.Bottomley@SteelEye.com> Thu, 21 Apr 2005 21:35:45 -0700
committer Linus Torvalds <torvalds@ppc970.osdl.org> Thu, 21 Apr 2005 21:35:45 -0700

[PATCH] Fix aic7xxx_osm.c compile with older gcc's

My version of gcc doesn't warn about this error (declaration in the
middle of a set of statements).

The fix is simple (this also corrects return code; for init functions it
should be zero or error).


--------------------------

Steven

      reply	other threads:[~2005-04-21 17:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-21 17:39 2.6.12-rc3 compile error in aic7xxx_osm.c Martin J. Bligh
2005-04-21 17:54 ` Steven Cole [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=4267E8DF.9070101@mesatop.com \
    --to=elenstev@mesatop.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mbligh@aracnet.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox