public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cciss: error: implicit declaration of function 'sg_init_table'
@ 2008-04-09 14:23 Mike Pagano
  2008-04-10  6:57 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Pagano @ 2008-04-09 14:23 UTC (permalink / raw)
  To: jens.axboe; +Cc: dsd, iss_storagedev, linux kernel

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)"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] cciss: error: implicit declaration of function 'sg_init_table'
  2008-04-09 14:23 [PATCH] cciss: error: implicit declaration of function 'sg_init_table' Mike Pagano
@ 2008-04-10  6:57 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2008-04-10  6:57 UTC (permalink / raw)
  To: Mike Pagano; +Cc: dsd, iss_storagedev, linux kernel

On Wed, Apr 09 2008, Mike Pagano wrote:
> 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.

Thanks, I'll add it.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-10  6:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-09 14:23 [PATCH] cciss: error: implicit declaration of function 'sg_init_table' Mike Pagano
2008-04-10  6:57 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox