Prev: Commit cfecde435dda78248d6fcdc424bed68d5db6be0b turns screen blank
Next: Commit 9b8c4a0b215e603497daebe8ecbc9b1f0f035808 broken X11 pointer
From: Miller, Mike (OS Dev) on 4 Jun 2010 14:10 > -----Original Message----- > From: Randy Dunlap [mailto:randy.dunlap(a)oracle.com] > Sent: Friday, June 04, 2010 11:42 AM > To: linux-kernel(a)vger.kernel.org > Cc: akpm(a)linux-foundation.org; Miller, Mike (OS Dev) > Subject: [PATCH -mmotm] cciss: fix build for CONFIG_PROC_FS=n > > From: Randy Dunlap <randy.dunlap(a)oracle.com> > > Fix build for CONFIG_PROC_FS not enabled; fixes this build error: > drivers/block/cciss.c:3422: error: implicit declaration of > function 'next_command' > > Looks like the next_command() function was added at a bad > location in cciss-add-performant-mode-support-for-stars-sirius.patch. > > Signed-off-by: Randy Dunlap <randy.dunlap(a)oracle.com> Thanks, Randy. But I'm working on that plus a couple other miscues. -- mikem > Cc: Mike Miller <mike.miller(a)hp.com> > --- > drivers/block/cciss.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > --- mmotm-2010-0603-1636.orig/drivers/block/cciss.c > +++ mmotm-2010-0603-1636/drivers/block/cciss.c > @@ -372,8 +372,6 @@ static const char *raid_label[] = { "0", > }; #define RAID_UNKNOWN (sizeof(raid_label) / > sizeof(raid_label[0])-1) > > -#ifdef CONFIG_PROC_FS > - > static inline u32 next_command(ctlr_info_t *h) { > u32 a; > @@ -396,6 +394,8 @@ static inline u32 next_command(ctlr_info > return a; > } > > +#ifdef CONFIG_PROC_FS > + > /* > * Report information about this controller. > */ > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |