From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: Re: [next:akpm 341/412] fs/hfsplus/attributes.c:64:5: error: too many arguments to function 'hfsplus
Date: Wed, 26 Sep 2012 18:02:08 +0000 [thread overview]
Message-ID: <20120926180208.GA28807@localhost> (raw)
In-Reply-To: <20120926160710.GB14447@localhost>
Vyacheslav,
On Wed, Sep 26, 2012 at 09:56:52PM +0400, Vyacheslav Dubeyko wrote:
> Hi Fengguang,
>
> Sorry, I can't reproduce your issue.
>
> I clone linux-next repository then "git checkout remotes/origin/akpm". I can compile kernel successfully with your .config files without any errors or warnings.
Then it looks like a bisectibility build error that's introduced in
de44b6109825809ac40c3f6e1b4be867bc6cec8e and then get fixed in some
later commit.
> I use gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3.
>
> What compiler do you use?
> Maybe do you have inconsistent repository state?
I use debian gcc 4.7.1 and do commit-by-commit tests.
Thanks,
Fengguang
> On Sep 26, 2012, at 8:07 PM, Fengguang Wu wrote:
>
> > Hi Vyacheslav,
> >
> > FYI, kernel build failed on
> >
> > tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm
> > head: dad0019944369f58c193c1991c39ffda7ff584d2
> > commit: de44b6109825809ac40c3f6e1b4be867bc6cec8e [341/412] hfsplus: add functionality of manipulating by records in attributes tree
> > config: x86_64-randconfig-s007 (attached as .config)
> >
> > All error/warnings:
> >
> > fs/hfsplus/attributes.c: In function 'hfsplus_attr_build_key':
> > fs/hfsplus/attributes.c:64:5: warning: passing argument 3 of 'hfsplus_asc2uni' makes pointer from integer without a cast [enabled by default]
> > In file included from fs/hfsplus/attributes.c:9:0:
> > fs/hfsplus/hfsplus_fs.h:448:5: note: expected 'const char *' but argument is of type 'int'
> > fs/hfsplus/attributes.c:64:5: warning: passing argument 4 of 'hfsplus_asc2uni' makes integer from pointer without a cast [enabled by default]
> > In file included from fs/hfsplus/attributes.c:9:0:
> > fs/hfsplus/hfsplus_fs.h:448:5: note: expected 'int' but argument is of type 'const char *'
> > fs/hfsplus/attributes.c:64:5: error: too many arguments to function 'hfsplus_asc2uni'
> > In file included from fs/hfsplus/attributes.c:9:0:
> > fs/hfsplus/hfsplus_fs.h:448:5: note: declared here
> > fs/hfsplus/attributes.c: In function 'hfsplus_find_attr':
> > fs/hfsplus/attributes.c:158:2: error: 'DBG_ATTR_MOD' undeclared (first use in this function)
> > fs/hfsplus/attributes.c:158:2: note: each undeclared identifier is reported only once for each function it appears in
> > fs/hfsplus/attributes.c:169:27: error: 'hfs_find_rec_by_key' undeclared (first use in this function)
> > fs/hfsplus/attributes.c:169:3: error: too many arguments to function 'hfsplus_brec_find'
> > In file included from fs/hfsplus/attributes.c:9:0:
> > fs/hfsplus/hfsplus_fs.h:373:5: note: declared here
> > fs/hfsplus/attributes.c:176:27: error: 'hfs_find_1st_rec_by_cnid' undeclared (first use in this function)
> > fs/hfsplus/attributes.c:176:3: error: too many arguments to function 'hfsplus_brec_find'
> > In file included from fs/hfsplus/attributes.c:9:0:
> > fs/hfsplus/hfsplus_fs.h:373:5: note: declared here
> > fs/hfsplus/attributes.c: In function 'hfsplus_create_attr':
> > fs/hfsplus/attributes.c:220:2: error: 'DBG_ATTR_MOD' undeclared (first use in this function)
> > fs/hfsplus/attributes.c:256:27: error: 'hfs_find_rec_by_key' undeclared (first use in this function)
> > fs/hfsplus/attributes.c:256:2: error: too many arguments to function 'hfsplus_brec_find'
> > In file included from fs/hfsplus/attributes.c:9:0:
> > fs/hfsplus/hfsplus_fs.h:373:5: note: declared here
> > fs/hfsplus/attributes.c:267:34: error: 'HFSPLUS_I_ATTR_DIRTY' undeclared (first use in this function)
> > fs/hfsplus/attributes.c: In function '__hfsplus_delete_attr':
> > fs/hfsplus/attributes.c:310:34: error: 'HFSPLUS_I_ATTR_DIRTY' undeclared (first use in this function)
> > fs/hfsplus/attributes.c: In function 'hfsplus_delete_attr':
> > fs/hfsplus/attributes.c:320:2: error: 'DBG_ATTR_MOD' undeclared (first use in this function)
> > fs/hfsplus/attributes.c:343:27: error: 'hfs_find_rec_by_key' undeclared (first use in this function)
> > fs/hfsplus/attributes.c:343:2: error: too many arguments to function 'hfsplus_brec_find'
> > In file included from fs/hfsplus/attributes.c:9:0:
> > fs/hfsplus/hfsplus_fs.h:373:5: note: declared here
> > fs/hfsplus/attributes.c: In function 'hfsplus_delete_all_attrs':
> > fs/hfsplus/attributes.c:361:2: error: 'DBG_ATTR_MOD' undeclared (first use in this function)
> >
> > vim +64 fs/hfsplus/attributes.c
> > 58 if (len > HFSPLUS_ATTR_MAX_STRLEN) {
> > 59 printk(KERN_ERR "hfs: invalid xattr name's length\n");
> > 60 return -EINVAL;
> > 61 }
> > 62 hfsplus_asc2uni(sb,
> > 63 (struct hfsplus_unistr *)&key->attr.key_name,
> >> 64 HFSPLUS_ATTR_MAX_STRLEN, name, len);
> > 65 len = be16_to_cpu(key->attr.key_name.length);
> > 66 } else {
> > 67 key->attr.key_name.length = 0;
> >
> > ---
> > 0-DAY kernel build testing backend Open Source Technology Centre
> > Fengguang Wu, Yuanhan Liu Intel Corporation
> > <.config.txt>
prev parent reply other threads:[~2012-09-26 18:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-26 16:07 [next:akpm 341/412] fs/hfsplus/attributes.c:64:5: error: too many arguments to function 'hfsplus_asc Fengguang Wu
2012-09-26 17:04 ` [next:akpm 341/412] fs/hfsplus/attributes.c:64:5: error: too many arguments to function 'hfsplus Vyacheslav Dubeyko
2012-09-26 17:56 ` Vyacheslav Dubeyko
2012-09-26 18:02 ` Fengguang Wu [this message]
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=20120926180208.GA28807@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;
as well as URLs for NNTP newsgroup(s).