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: [vfs:for-next 60/72] include/linux/file.h:53:9: error: implicit declaration of function 'fget_raw_li
Date: Thu, 27 Sep 2012 06:20:20 +0000	[thread overview]
Message-ID: <20120927062020.GA27992@localhost> (raw)

Hi Al,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for-next
head:   49de614c74fadc7c47132ac87c0f7b05ca4084b7
commit: a5b470ba06aa3f96999ede5feba178df6bdb134a [60/72] new helpers: fdget()/fdput()
config: x86_64-allmodconfig

All error/warnings:

In file included from net/ceph/pagevec.c:6:0:
include/linux/file.h: In function 'fdget_raw':
include/linux/file.h:53:9: error: implicit declaration of function 'fget_raw_light' [-Werror=implicit-function-declaration]
include/linux/file.h:53:19: warning: initialization makes pointer from integer without a cast [enabled by default]
include/linux/file.h: At top level:
include/linux/file.h:58:21: error: conflicting types for 'fget_raw_light'
include/linux/file.h:53:19: note: previous implicit declaration of 'fget_raw_light' was here
cc1: some warnings being treated as errors

vim +53 include/linux/file.h

a5b470ba (Al Viro 2012-08-27  50) static inline struct fd fdget_raw(unsigned int fd)
a5b470ba (Al Viro 2012-08-27  51) {
a5b470ba (Al Viro 2012-08-27  52) 	int b;
a5b470ba (Al Viro 2012-08-27 @53) 	struct file *f = fget_raw_light(fd, &b);
a5b470ba (Al Viro 2012-08-27  54) 	return (struct fd){f,b};
a5b470ba (Al Viro 2012-08-27  55) }

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

                 reply	other threads:[~2012-09-27  6: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=20120927062020.GA27992@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