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 6/32] arch/tile/kernel/compat.c:116:2: error: implicit declaration of function '
Date: Wed, 19 Sep 2012 12:20:55 +0000	[thread overview]
Message-ID: <20120919122055.GA15519@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:   36cd0264fd0ce1a3491a59e61c80a990a3107859
commit: 625fbb93c8cf6dc3b431abb698ad26f7de51b0e3 [6/32] IPC: message queue receive cleanup
config: tile-tilegx_defconfig

All related error/warning messages:

arch/tile/kernel/compat.c: In function 'tile_compat_sys_msgsnd':
arch/tile/kernel/compat.c:116:2: error: implicit declaration of function 'do_msgsnd' [-Werror=implicit-function-declaration]
arch/tile/kernel/compat.c: In function 'tile_compat_sys_msgrcv':
arch/tile/kernel/compat.c:123:2: error: implicit declaration of function 'do_msgrcv' [-Werror=implicit-function-declaration]
arch/tile/kernel/compat.c:123:55: error: 'compat_do_msg_fill' undeclared (first use in this function)
arch/tile/kernel/compat.c:123:55: note: each undeclared identifier is reported only once for each function it appears in
arch/tile/kernel/compat.c:124:1: warning: control reaches end of non-void function [-Wreturn-type]
cc1: some warnings being treated as errors

--
ipc/compat.c: In function 'compat_sys_msgrcv':
ipc/compat.c:398:2: 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:398:2: 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/msg.c: In function 'msgctl_down':
ipc/msg.c:429:30: warning: the omitted middle operand in ?: will always be 'true', suggest explicit middle operand [-Wparentheses]

vim +116 arch/tile/kernel/compat.c
   111	{
   112		compat_long_t mtype;
   113	
   114		if (get_user(mtype, &msgp->mtype))
   115			return -EFAULT;
 > 116		return do_msgsnd(msqid, mtype, msgp->mtext, msgsz, msgflg);
   117	}
   118	
   119	long tile_compat_sys_msgrcv(int msqid,
   120				    struct compat_msgbuf __user *msgp,
   121				    size_t msgsz, long msgtyp, int msgflg)

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

                 reply	other threads:[~2012-09-19 12:20 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=20120919122055.GA15519@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