public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* OMAP: small patch fixes "fs/jffs2/malloc.c:126: error: dereferencing pointer to incomplete type"
@ 2006-12-27 20:39 Ragner N Magalhães
  2006-12-28  6:48 ` Dirk Behme
  0 siblings, 1 reply; 3+ messages in thread
From: Ragner N Magalhães @ 2006-12-27 20:39 UTC (permalink / raw)
  To: linux-omap-open-source

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

Hi all,
this is other small patch that fixes this error below

fs/jffs2/malloc.c: In function 'jffs2_alloc_full_dirent':
fs/jffs2/malloc.c:126: error: dereferencing pointer to incomplete type

Best regards,
-- 
Ragner N Magalhães
Instituto Nokia de Tecnologia (INdT) - OSMRC
E-mail: ragner.magalhaes@indt.org.br

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: patch-malloc_c-incomplete_type.diff --]
[-- Type: text/x-patch; name=patch-malloc_c-incomplete_type.diff; charset=ANSI_X3.4-1968, Size: 599 bytes --]

This patch fixes "error: dereferencing pointer to incomplete type" in fs/jffs2/malloc.c
Signed-off-by: Ragner Magalhães <ragner.magalhes@indt.org.br>
---
Index: 2.6-dev/fs/jffs2/malloc.c
===================================================================
--- 2.6-dev.orig/fs/jffs2/malloc.c	2006-12-27 10:53:09.000000000 -0400
+++ 2.6-dev/fs/jffs2/malloc.c	2006-12-27 15:20:15.000000000 -0400
@@ -15,6 +15,7 @@
 #include <linux/slab.h>
 #include <linux/init.h>
 #include <linux/jffs2.h>
+#include <linux/sched.h>
 #include "nodelist.h"
 
 /* These are initialised to NULL in the kernel startup code.

[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



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

end of thread, other threads:[~2006-12-28 11:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-27 20:39 OMAP: small patch fixes "fs/jffs2/malloc.c:126: error: dereferencing pointer to incomplete type" Ragner N Magalhães
2006-12-28  6:48 ` Dirk Behme
     [not found]   ` <25c21ceb0612280333h55488c55le0523c31c204e206@mail.gmail.com>
2006-12-28 11:46     ` Dirk Behme

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