public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [cr:crtools-3.6-rc5 8/34] ipc/compat.c:399:13: error: 'compat_do_msg_fill' undeclared
Date: Wed, 19 Sep 2012 23:26:36 +0000	[thread overview]
Message-ID: <20120919232636.GA5607@localhost> (raw)

Hi Stanislav,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/gorcunov/linux-cr.git crtools-3.6-rc5
head:   0f5ec8960cb3fa3f7d5bf30be7cccd30bfad507a
commit: b3d0fbd8ecdbe74dfee640ec3a06706ad1278a90 [8/34] IPC: message queue receive cleanup
config: tile-tilegx_defconfig

All related error/warning messages:

ipc/compat.c: In function 'compat_sys_msgrcv':
ipc/compat.c:399:13: error: 'compat_do_msg_fill' undeclared (first use in this function)
ipc/compat.c:399:13: note: each undeclared identifier is reported only once for each function it appears in
ipc/compat.c:399:5: warning: passing argument 3 of 'do_msgrcv' makes integer from pointer without a cast [enabled by default]
include/linux/msg.h:108:13: note: expected 'size_t' but argument is of type 'char *'
ipc/compat.c:399:5: warning: passing argument 6 of 'do_msgrcv' makes pointer from integer without a cast [enabled by default]
include/linux/msg.h:108:13: note: expected 'long int (*)(void *, struct msg_msg *, size_t)' but argument is of type 'int'
ipc/compat.c:399:5: error: too many arguments to function 'do_msgrcv'
include/linux/msg.h:108:13: note: declared here

vim +399 ipc/compat.c
   394			       compat_ssize_t msgsz, long msgtyp, int msgflg)
   395	{
   396		long err, mtype;
   397	
   398		err =  do_msgrcv(msqid, &mtype, msgp->mtext, (ssize_t)msgsz, msgtyp,
 > 399				 msgflg, compat_do_msg_fill);
   400		if (err < 0)
   401			goto out;
   402	
   403		if (put_user(mtype, &msgp->mtype))
   404			err = -EFAULT;

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu, Yuanhan Liu                              Intel Corporation

                 reply	other threads:[~2012-09-19 23:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20120919232636.GA5607@localhost \
    --to=fengguang.wu@intel.com \
    --cc=kernel-janitors@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox