From: Coywolf Qi Hunt <coywolf@gmail.com>
To: Robert Love <rml@novell.com>
Cc: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>,
linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>,
John McCutchan <ttb@tentacle.dhs.org>
Subject: Re: [patch] updated inotify.
Date: Tue, 10 May 2005 02:56:10 +0800 [thread overview]
Message-ID: <2cd57c9005050911561b9b987@mail.gmail.com> (raw)
In-Reply-To: <1115661400.6734.149.camel@betsy>
On 5/10/05, Robert Love <rml@novell.com> wrote:
> On Tue, 2005-05-10 at 01:43 +0800, Coywolf Qi Hunt wrote:
>
> > Here's another compile warning, also in the current -mm tree.
> >
> > > diff -urN linux-2.6.12-rc4/fs/namei.c linux/fs/namei.c
> > > --- linux-2.6.12-rc4/fs/namei.c 2005-05-09 11:52:48.000000000 -0400
> > > +++ linux/fs/namei.c 2005-05-09 11:58:52.000000000 -0400
> >
> > ..
> >
> > > @@ -2172,18 +2174,18 @@
> > > DQUOT_INIT(old_dir);
> > > DQUOT_INIT(new_dir);
> > >
> > > + old_name = fsnotify_oldname_init(old_dentry->d_name.name);
> > > +
> >
> > prodigy:/home/coywolf/2.6.12-rc3-mm3-cy# make fs/namei.o
> > CC fs/namei.o
> > /home/coywolf/2.6.12-rc3-mm3-cy/fs/namei.c: In function `vfs_rename':
> > /home/coywolf/2.6.12-rc3-mm3-cy/fs/namei.c:2177: warning: passing arg
> > 1 of `fsnotify_oldname_init' from incompatible pointer type
I didn't understand the warning correctly. unsighned char* and char*
are compatible.
gcc has no problem in casting char* to unsighned char*.
In 2.6.12-rc3-mm3, the placeholder version,
static inline char *fsnotify_oldname_init(struct dentry *old_dentry)
is incompatible to char*, thus the warning.
This warning is fixed in the previous patch. It''s not necessary for
this update. Better change it back to keep the placeholder one and the
real.one of the same declaration.
--
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
next prev parent reply other threads:[~2005-05-09 18:56 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-09 16:05 [patch] inotify Robert Love
2005-05-09 17:43 ` Coywolf Qi Hunt
2005-05-09 17:56 ` [patch] updated inotify Robert Love
2005-05-09 18:56 ` Coywolf Qi Hunt [this message]
2005-05-09 18:58 ` Robert Love
-- strict thread matches above, loose matches on Subject: below --
2005-07-05 21:28 Robert Love
2005-06-13 16:23 Robert Love
2004-09-21 21:08 Robert Love
2004-09-21 23:54 ` Arnaldo Carvalho de Melo
2004-09-22 0:04 ` Robert Love
2004-09-22 0:12 ` Arnaldo Carvalho de Melo
2004-09-22 3:51 ` Robert Love
2004-09-22 8:44 ` Roger Luethi
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=2cd57c9005050911561b9b987@mail.gmail.com \
--to=coywolf@gmail.com \
--cc=akpm@osdl.org \
--cc=coywolf@lovecn.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rml@novell.com \
--cc=ttb@tentacle.dhs.org \
--cc=viro@parcelfarce.linux.theplanet.co.uk \
/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.