linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the overlayfs tree
@ 2016-11-22  0:19 Stephen Rothwell
  2016-11-22  8:41 ` Miklos Szeredi
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2016-11-22  0:19 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: linux-next, linux-kernel

Hi Miklos,

After merging the overlayfs tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

In file included from fs/overlayfs/dir.c:20:0:
fs/overlayfs/dir.c: In function 'ovl_set_redirect':
fs/overlayfs/overlayfs.h:92:6: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int err = vfs_setxattr(dentry, name, value, size, flags);
      ^
fs/overlayfs/dir.c:788:14: note: 'ret' was declared here
  char *buf, *ret;
              ^

Introduced by commit

  496654b0792e ("ovl: redirect on rename-dir")

This is not necessarily a false positive (although is is a confusing
message): if the kmalloc of "buf" fails and samedir was not set in
ovl_get_redirect(), then "return ret" will be executed but "ret" has
not been set.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 12+ messages in thread
* linux-next: build warning after merge of the overlayfs tree
@ 2017-05-17  0:19 Stephen Rothwell
  2017-05-17  5:00 ` Amir Goldstein
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2017-05-17  0:19 UTC (permalink / raw)
  To: Miklos Szeredi
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Amir Goldstein

Hi Miklos,

After merging the overlayfs tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

fs/overlayfs/dir.c: In function 'ovl_rename':
fs/overlayfs/dir.c:1060:2: warning: 'newdentry' may be used uninitialized in this function [-Wmaybe-uninitialized]
  dput(newdentry);
  ^
fs/overlayfs/dir.c:1062:2: warning: 'olddentry' may be used uninitialized in this function [-Wmaybe-uninitialized]
  dput(olddentry);
  ^

Introduced by commit

  02cac3227a28 ("ovl: mark upper dir with type origin entries "impure"")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 12+ messages in thread
* linux-next: build warning after merge of the overlayfs tree
@ 2017-11-08 22:33 Stephen Rothwell
  2017-11-09  3:59 ` Chandan Rajendra
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2017-11-08 22:33 UTC (permalink / raw)
  To: Miklos Szeredi
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Chandan Rajendra

Hi Miklos,

After merging the overlayfs tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

fs/overlayfs/super.c: In function 'ovl_fill_super':
fs/overlayfs/super.c:1070:25: warning: 'numlower' may be used uninitialized in this function [-Wmaybe-uninitialized]
  unsigned int stacklen, numlower, i;
                         ^
fs/overlayfs/super.c:1069:15: warning: 'stack' may be used uninitialized in this function [-Wmaybe-uninitialized]
  struct path *stack;
               ^

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 12+ messages in thread
* linux-next: build warning after merge of the overlayfs tree
@ 2021-03-29  9:14 Stephen Rothwell
  2021-03-29  9:28 ` Miklos Szeredi
  2021-04-21  6:26 ` Stephen Rothwell
  0 siblings, 2 replies; 12+ messages in thread
From: Stephen Rothwell @ 2021-03-29  9:14 UTC (permalink / raw)
  To: Miklos Szeredi
  Cc: Frank Rowand, Rob Herring, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 504 bytes --]

Hi all,

After merging the overlayfs tree, today's linux-next build (htmldocs)
produced this warning:

Documentation/devicetree/kernel-api:56: /home/sfr/next/next/drivers/of/overlay.c:1184: WARNING: Inline emphasis start-string without end-string.

Introduced by commit

  24789c5ce5a3 ("of: overlay: detect cases where device tree may become corrupt")

Probably exposed by commit

  8c8239c2c1fb ("of: Add missing 'Return' section in kerneldoc comments")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* linux-next: build warning after merge of the overlayfs tree
@ 2021-07-20  6:38 Stephen Rothwell
  2021-07-21 13:39 ` Miklos Szeredi
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2021-07-20  6:38 UTC (permalink / raw)
  To: Miklos Szeredi
  Cc: Amir Goldstein, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

Hi all,

After merging the overlayfs tree, today's linux-next build (htmldocs)
produced this warning:

Documentation/filesystems/api-summary:95: fs/stat.c:67: WARNING: Unknown target name: "statx_attr".

Introduced by commit

  d1e717e0032c ("fs: add generic helper for filling statx attribute flags")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2021-07-21 13:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-22  0:19 linux-next: build warning after merge of the overlayfs tree Stephen Rothwell
2016-11-22  8:41 ` Miklos Szeredi
2017-05-17  0:19 Stephen Rothwell
2017-05-17  5:00 ` Amir Goldstein
2017-11-08 22:33 Stephen Rothwell
2017-11-09  3:59 ` Chandan Rajendra
2021-03-29  9:14 Stephen Rothwell
2021-03-29  9:28 ` Miklos Szeredi
2021-03-31  0:16   ` Stephen Rothwell
2021-04-21  6:26 ` Stephen Rothwell
2021-07-20  6:38 Stephen Rothwell
2021-07-21 13:39 ` Miklos Szeredi

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).