From: Mike Pagano <mpagano@gentoo.org>
To: jens.axboe@oracle.com
Cc: dsd@gentoo.org, iss_storagedev@hp.com,
linux kernel <linux-kernel@vger.kernel.org>
Subject: [PATCH] cciss: error: implicit declaration of function 'sg_init_table'
Date: Wed, 9 Apr 2008 10:23:39 -0400 [thread overview]
Message-ID: <200804091023.40068.mpagano@gentoo.org> (raw)
This patch adds the missing include directive <linux/scatterlist.h> to the cciss.c source file.
This was discovered by our release team when building the kernel for the Alpha architecture.
Errors were found as references to functions 'sg_init_table' and 'sg_page' do not exist without the include for Alpha.
Signed off by: Mike Pagano <mpagano@gentoo.org>
---
drivers/block/cciss.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/block/cciss.c 2008-04-09 10:13:45.000000000 -0400
+++ b/drivers/block/cciss.c 2008-04-09 10:14:11.000000000 -0400
@@ -50,6 +50,7 @@
#include <scsi/sg.h>
#include <scsi/scsi_ioctl.h>
#include <linux/cdrom.h>
+#include <linux/scatterlist.h>
#define CCISS_DRIVER_VERSION(maj,min,submin) ((maj<<16)|(min<<8)|(submin))
#define DRIVER_NAME "HP CISS Driver (v 3.6.14)"
next reply other threads:[~2008-04-09 14:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-09 14:23 Mike Pagano [this message]
2008-04-10 6:57 ` Jens Axboe
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=200804091023.40068.mpagano@gentoo.org \
--to=mpagano@gentoo.org \
--cc=dsd@gentoo.org \
--cc=iss_storagedev@hp.com \
--cc=jens.axboe@oracle.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome