linux-next: build failure after merge of the final tree (staging tree related)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

After merging the final tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/staging/dgrp/dgrp_specproc.c: In function 'config_proc_write':
drivers/staging/dgrp/dgrp_specproc.c:465:2: error: implicit declaration of function 'vzalloc' [-Werror=implicit-function-declaration]
drivers/staging/dgrp/dgrp_specproc.c:465:13: warning: assignment makes pointer from integer without a cast [enabled by default]
drivers/staging/dgrp/dgrp_specproc.c:491:2: error: implicit declaration of function 'vfree' [-Werror=implicit-function-declaration]

Caused by commit 0b52b7497271 ("staging: Add dgrp driver for Digi
Realport devices").

I have added this fix patch for today:

From: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Date: Tue, 25 Sep 2012 00:27:11 +1000
Subject: [PATCH] staging: dgrp: using vmalloc needs to include vmalloc.h

Signed-off-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
---
 drivers/staging/dgrp/dgrp_specproc.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/dgrp/dgrp_specproc.c b/drivers/staging/dgrp/dgrp_specproc.c
index 259d23a..28f5c9a 100644
--- a/drivers/staging/dgrp/dgrp_specproc.c
+++ b/drivers/staging/dgrp/dgrp_specproc.c
@@ -39,6 +39,7 @@
 #include <linux/proc_fs.h>
 #include <linux/ctype.h>
 #include <linux/seq_file.h>
+#include <linux/vmalloc.h>
 
 #include "dgrp_common.h"
 
-- 
1.7.10.280.gaa39

-- 
Cheers,
Stephen Rothwell                    sfr@xxxxxxxxxxxxxxxx

Attachment: pgpafinhgHqV5.pgp
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux