public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] libsrp: fix compile failure
@ 2009-12-30 19:21 James Bottomley
  2009-12-30 19:33 ` Linus Torvalds
  0 siblings, 1 reply; 12+ messages in thread
From: James Bottomley @ 2009-12-30 19:21 UTC (permalink / raw)
  To: Stefani Seibold, Andrew Morton, Linus Torvalds; +Cc: linux-kernel, linux-scsi

commit 45465487897a1c6d508b14b904dc5777f7ec7e04
Author: Stefani Seibold <stefani@seibold.net>
Date:   Mon Dec 21 14:37:26 2009 -0800

    kfifo: move struct kfifo in place

Caused a compile failure in ibmvscsitgt.c because it changed a pointer
to kfifo in the libsrp.h structure to a direct inclusion without
including <linux/kfifo.h>.  The fix is simple, just add the include, but
how did this happen?  This change, introduced at -rc2, hardly looks like
a bug fix, and it clearly didn't go through linux-next, which would have
picked up this compile failure (it only occurs on ppc because of the ibm
virtual scsi target).

James

---

diff --git a/include/scsi/libsrp.h b/include/scsi/libsrp.h
index 07e3add..f4105c9 100644
--- a/include/scsi/libsrp.h
+++ b/include/scsi/libsrp.h
@@ -2,6 +2,7 @@
 #define __LIBSRP_H__
 
 #include <linux/list.h>
+#include <linux/kfifo.h>
 #include <scsi/scsi_cmnd.h>
 #include <scsi/scsi_host.h>
 #include <scsi/srp.h>



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

end of thread, other threads:[~2010-01-04 22:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-30 19:21 [PATCH] libsrp: fix compile failure James Bottomley
2009-12-30 19:33 ` Linus Torvalds
2009-12-30 19:55   ` James Bottomley
2010-01-04 15:21   ` Jiri Kosina
2010-01-04 17:22     ` James Bottomley
2010-01-04 17:35       ` Alan Cox
2010-01-04 19:24         ` Stefani Seibold
2010-01-04 19:37           ` James Bottomley
2010-01-04 22:36           ` Alan Cox
2010-01-04 21:12       ` Jiri Kosina
2010-01-04 21:35         ` Andrew Morton
2010-01-04 22:00           ` Jiri Kosina

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