All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@googlemail.com>
To: "Ragner N Magalhães" <ragner@users.sourceforge.net>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: OMAP: small patch fixes "fs/jffs2/malloc.c:126: error: dereferencing pointer to incomplete type"
Date: Thu, 28 Dec 2006 07:48:12 +0100	[thread overview]
Message-ID: <459368AC.4080902@gmail.com> (raw)
In-Reply-To: <25c21ceb0612271239v5c245656ha1c467e04338aea9@mail.gmail.com>

Ragner N Magalhães wrote:
> 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

Hmh. For me it looks like using recent git on OSK 
fs/jffs2/malloc.c compiles without any issues.

For me, jffs2_alloc_full_dirent() is:

struct jffs2_full_dirent *jffs2_alloc_full_dirent(int namesize)
{
	struct jffs2_full_dirent *ret;
	ret = kmalloc(sizeof(struct jffs2_full_dirent) + namesize, 
GFP_KERNEL);
126: dbg_memalloc("%p\n", ret);
	return ret;
}

with line 126 being dbg_memalloc("%p\n", ret). What's wrong 
here that should be fixed by additional linux/sched.h?

Dirk

  reply	other threads:[~2006-12-28  6:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
     [not found]   ` <25c21ceb0612280333h55488c55le0523c31c204e206@mail.gmail.com>
2006-12-28 11:46     ` Dirk Behme

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=459368AC.4080902@gmail.com \
    --to=dirk.behme@googlemail.com \
    --cc=linux-omap-open-source@linux.omap.com \
    --cc=ragner@users.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.