public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [vfs:master 32/32] fs/open.c:817:18: sparse: restricted fmode_t degrades to integer
@ 2012-08-26 19:28 Fengguang Wu
  0 siblings, 0 replies; only message in thread
From: Fengguang Wu @ 2012-08-26 19:28 UTC (permalink / raw)
  To: kernel-janitors

Hi Al,

FYI, there are new sparse warnings show up in

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git master
head:   9283194882d18e3755c4ebc0b86db9f9a4f4c81a
commit: 9283194882d18e3755c4ebc0b86db9f9a4f4c81a [32/32] don't leak O_CLOEXEC into ->f_flags

All sparse warnings:

+ fs/open.c:817:18: sparse: restricted fmode_t degrades to integer

vim +817 fs/open.c
   814			op->mode = 0;
   815	
   816		/* Must never be set by userspace */
 > 817		flags &= ~FMODE_NONOTIFY & ~O_CLOEXEC;
   818	
   819		/*
   820		 * O_SYNC is implemented as __O_SYNC|O_DSYNC.  As many places only

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu <wfg@linux.intel.com>                     Intel Corporation

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-08-26 19:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-26 19:28 [vfs:master 32/32] fs/open.c:817:18: sparse: restricted fmode_t degrades to integer Fengguang Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox