mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Eric Paris <eparis@redhat.com>
Cc: viro@zeniv.linux.org.uk, hch@infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [GIT PULL] notification: including fanotify
Date: Sat, 27 Feb 2010 13:29:41 -0800 (PST)	[thread overview]
Message-ID: <alpine.LFD.2.00.1002271323320.4513@localhost.localdomain> (raw)
In-Reply-To: <1267218869.10582.12.camel@localhost>



On Fri, 26 Feb 2010, Eric Paris wrote:
>
> This tree has the part of the notification changes which have existed
> for better than a year in linux-next.  They finish the inotify->fsnotify
> transition and rip out the old inotify in-kernel interface.  It
> implements fanotify as a notifier only.

I was going to pull this, but

 (a) that "notifier only" part seems to be incorrect. It has at least the 
     Kconfig part of the "let's also allow fanotify to do security 
     checks.

 (b) the compile has obviously never been tested with any modern gcc 
     version. I get tons of warnings after the pull, like

	In file included from fs/notify/fsnotify.h:6,
	                 from fs/notify/fsnotify.c:28:
	include/linux/fsnotify.h: In function ‘fsnotify_oldname_init’:
	include/linux/fsnotify.h:313: warning: pointer targets in passing argument 1 of ‘kstrdup’ differ in signedness
	include/linux/string.h:118: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
	include/linux/fsnotify.h:313: warning: pointer targets in return differ in signedness
	In file included from fs/notify/fsnotify.h:6,
	                 from fs/notify/group.c:28:

    which is totally unacceptable. I'm not going to merge code that adds 
    warnings like these. You can argue whether the warning is really 
    something gcc should warn about or not, but it really doesn't matter. 

    Adding lots of noisy warnings is unacceptable, and I'm upset that you 
    even pushed something to me with apparently _zero_ testing (or a total 
    disregard for a clean compile).

Grr. 

		Linus

  reply	other threads:[~2010-02-27 21:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-26 21:14 Eric Paris
2010-02-27 21:29 ` Linus Torvalds [this message]
2010-02-27 21:33   ` Linus Torvalds
2010-02-27 23:29     ` Stephen Rothwell
2010-02-27 23:38       ` Linus Torvalds
2010-02-27 22:51   ` Al Viro
2010-02-27 23:49   ` Eric Paris

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=alpine.LFD.2.00.1002271323320.4513@localhost.localdomain \
    --to=torvalds@linux-foundation.org \
    --cc=eparis@redhat.com \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome