All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.de>
To: Olaf Hering <olaf@aepfle.de>
Cc: linux-scsi@vger.kernel.org,
	James Bottomley <James.Bottomley@SteelEye.com>
Subject: [PATCH] s390 error: implicit declaration of function sg_dma_len
Date: Fri, 25 May 2007 11:08:08 +0200	[thread overview]
Message-ID: <4656A778.2000403@suse.de> (raw)
In-Reply-To: <20070525082238.GA30876@aepfle.de>

Olaf Hering wrote:
> Current Linus tree does not compile on s390 because esp_scsi references
> unavailable functions.
> 
> /dev/shm/R/linux-2.6.21/drivers/scsi/esp_scsi.c: In function `esp_map_dma':
> /dev/shm/R/linux-2.6.21/drivers/scsi/esp_scsi.c:338: error: implicit declaration of function `sg_dma_len'
> /dev/shm/R/linux-2.6.21/drivers/scsi/esp_scsi.c: In function `esp_cur_dma_addr':
> /dev/shm/R/linux-2.6.21/drivers/scsi/esp_scsi.c:357: error: implicit declaration of function `sg_dma_address'
> 
Hmm. Try this:

diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index d28c14e..4909863 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -1755,7 +1755,7 @@ config SUN3X_ESP

 config SCSI_ESP_CORE
        tristate "ESP Scsi Driver Core"
-       depends on SCSI
+       depends on SCSI && !S390
        select SCSI_SPI_ATTRS
        help
          This is a core driver for NCR53c9x based scsi chipsets,

James, please apply. ESP cards simply don't fit in a mainframe :-)

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare@suse.de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Markus Rex, HRB 16746 (AG Nürnberg)
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2007-05-25  9:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-25  8:22 s390 error: implicit declaration of function sg_dma_len Olaf Hering
2007-05-25  8:55 ` David Miller
2007-05-25  9:08 ` Hannes Reinecke [this message]
2007-05-25  9:13   ` [PATCH] " David Miller
2007-05-25 13:47     ` James Bottomley
2007-05-25 21:05       ` David Miller
2007-05-25  9:13   ` David Miller

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=4656A778.2000403@suse.de \
    --to=hare@suse.de \
    --cc=James.Bottomley@SteelEye.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=olaf@aepfle.de \
    /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.