linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning in Linus'tree
@ 2010-05-26  1:05 Stephen Rothwell
  2010-05-26  1:20 ` Andrew Morton
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2010-05-26  1:05 UTC (permalink / raw)
  To: Linus; +Cc: linux-next, linux-kernel, Andrew Morton, Joakim Tjernlund

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

Hi Linus,

Today's linux-next build (powerpc ppc64_defconfig) produced this warning:

lib/crc32.c:53:22: warning: "__LITTLE_ENDIAN" is not defined
lib/crc32.c:53:22: warning: "__LITTLE_ENDIAN" is not defined
In file included from fs/jfs/jfs_types.h:33,
                 from fs/jfs/jfs_incore.h:26,
                 from fs/jfs/file.c:22:
fs/jfs/endian24.h:36:101: warning: "__LITTLE_ENDIAN" is not defined

and more of the same ...

Introduced by commit 4762bbc1a3a1f22095278b74dd1b8cee04858641 ("crc32:
use __BYTE_ORDER macro for endian detection") and (probably) commit b3b77c8caef1750ebeea1054e39e358550ea9f55 ("endian: #define __BYTE_ORDER").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2023-05-30  5:26 Stephen Rothwell
  0 siblings, 0 replies; 88+ messages in thread
From: Stephen Rothwell @ 2023-05-30  5:26 UTC (permalink / raw)
  To: Mauro Carvalho Chehab
  Cc: Sakari Ailus, Tomi Valkeinen, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

In Linus' tree, today's linux-next build (htmldocs) produced this warning:

include/media/v4l2-subdev.h:1130: warning: Function parameter or member 'client_caps' not described in 'v4l2_subdev_fh'

Introduced by commit

  f57fa2959244 ("media: v4l2-subdev: Add new ioctl for client capabilities")

I am not sure why this only turned up today.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2023-02-15  3:41 Stephen Rothwell
  2023-02-15 11:33 ` Paolo Bonzini
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2023-02-15  3:41 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Tom Lendacky, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

Building Linus' tree, today's linux-next build (htmldocs) produced
this warning:

Documentation/admin-guide/hw-vuln/cross-thread-rsb.rst:92: ERROR: Unexpected indentation.

Introduced by commit

  493a2c2d23ca ("Documentation/hw-vuln: Add documentation for Cross-Thread Return Predictions")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2021-10-05  9:42 Stephen Rothwell
  0 siblings, 0 replies; 88+ messages in thread
From: Stephen Rothwell @ 2021-10-05  9:42 UTC (permalink / raw)
  To: Logan Gunthorpe
  Cc: Christoph Hellwig, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

In Linus' tree, today's linux-next build (htmldocs) produced this warning:

Documentation/driver-api/infrastructure:50: /home/sfr/next/next/kernel/dma/mapping.c:256: WARNING: Definition list ends without a blank line; unexpected unindent.
Documentation/driver-api/infrastructure:50: /home/sfr/next/next/kernel/dma/mapping.c:257: WARNING: Bullet list ends without a blank line; unexpected unindent.

Introduced by commit

  fffe3cc8c219 ("dma-mapping: allow map_sg() ops to return negative error codes")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2021-10-05  9:29 Stephen Rothwell
  2021-10-21  1:28 ` Stephen Rothwell
       [not found] ` <ANQAFAC9EhHeWK1g5-2FP4ol.9.1634779695838.Hmail.changfengnan@vivo.com>
  0 siblings, 2 replies; 88+ messages in thread
From: Stephen Rothwell @ 2021-10-05  9:29 UTC (permalink / raw)
  To: Fengnan Chang
  Cc: Jaegeuk Kim, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

In Linus' tree, today's linux-next build (htmldocs) produced this warning:

Documentation/filesystems/f2fs.rst:288: WARNING: Block quote ends without a blank line; unexpected unindent.

Introduced by commit

  151b1982be5d ("f2fs: compress: add nocompress extensions support")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2021-08-30  8:33 Stephen Rothwell
  0 siblings, 0 replies; 88+ messages in thread
From: Stephen Rothwell @ 2021-08-30  8:33 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

When building Linus' tree, today's linux-next build (powerpc
ppc44x_defconfig) produced this warning:

block/mq-deadline.c:274:12: warning: 'dd_queued' defined but not used [-Wunused-function]
  274 | static u32 dd_queued(struct deadline_data *dd, enum dd_prio prio)
      |            ^~~~~~~~~

Introduced by commit

  7b05bf771084 ("Revert "block/mq-deadline: Prioritize high-priority requests"")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2021-03-23  5:51 Stephen Rothwell
  2021-03-23  8:49 ` Peter Zijlstra
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2021-03-23  5:51 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

Building Linus' tree, today's linux-next build (x86_64 allnoconfig)
produced this warning:

kernel/static_call.c: In function '__static_call_update':
kernel/static_call.c:153:18: warning: unused variable 'mod' [-Wunused-variable]
  153 |   struct module *mod = site_mod->mod;
      |                  ^~~

Introduced by commit

  698bacefe993 ("static_call: Align static_call_is_init() patching condition")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2021-02-18 20:58 Stephen Rothwell
  2021-02-18 22:47 ` Ernst, Justin
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2021-02-18 20:58 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: Justin Ernst, Mauro Carvalho Chehab, Linux Kernel Mailing List,
	Linux Next Mailing List

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

Hi all,

Building Linus' tree, today's linux-next build (htmldocs) produced
this warning:

Documentation/ABI/testing/sysfs-firmware-sgi_uv:2: WARNING: Unexpected indentation.

Introduced by commit

  c159376490ee ("x86/platform/uv: Update ABI documentation of /sys/firmware/sgi_uv/")

Or maybe an ealier one.

This has been around for some time.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2021-01-03 22:07 Stephen Rothwell
  0 siblings, 0 replies; 88+ messages in thread
From: Stephen Rothwell @ 2021-01-03 22:07 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

While building Linus' tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/pinctrl/nomadik/pinctrl-nomadik.c: In function 'nmk_gpio_dbg_show_one':
drivers/pinctrl/nomadik/pinctrl-nomadik.c:952:8: warning: unused variable 'wake' [-Wunused-variable]
  952 |   bool wake;
      |        ^~~~

Introduced by commit

  f3925032d7fd ("pinctrl: nomadik: Use irq_has_action()")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2020-10-28  3:28 Stephen Rothwell
  2020-10-28 15:56 ` Micah Morton
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2020-10-28  3:28 UTC (permalink / raw)
  To: Micah Morton
  Cc: Thomas Cedeno, Linux Kernel Mailing List, Linux Next Mailing List

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

Hi all,

In Linus' tree, today's linux-next build (htmldocs) produced
this warning:

Documentation/admin-guide/LSM/SafeSetID.rst:110: WARNING: Title underline too short.

Introduced by commit

  5294bac97e12 ("LSM: SafeSetID: Add GID security policy handling")

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2020-02-21  3:39 Stephen Rothwell
  2020-02-21  6:51 ` Gustavo A. R. Silva
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2020-02-21  3:39 UTC (permalink / raw)
  To: Gustavo A. R. Silva
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Greg Kroah-Hartman, Linux USB Mailing List

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

Hi all,

For some time I have been getting the following warning from the powerpc
allyesconfig build:

drivers/usb/host/fhci-hcd.c: In function 'fhci_urb_enqueue':
drivers/usb/host/fhci-hcd.c:398:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
  398 |   size = 2;
      |   ~~~~~^~~
drivers/usb/host/fhci-hcd.c:399:2: note: here
  399 |  case PIPE_BULK:
      |  ^~~~

Introduced by commit

  236dd4d18f29 ("USB: Driver for Freescale QUICC Engine USB Host Controller")

from 2009, but exposed only recently.

-- 
Cheers,
Stephen Rothwell

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

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2017-11-02 20:29 Stephen Rothwell
  2017-11-02 21:08 ` Ingo Molnar
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2017-11-02 20:29 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Thomas Gleixner, Ingo Molnar, H. Peter Anvin, x86

Hi Linus,

Just building Linus' tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

warning: objtool: x86 instruction decoder differs from kernel

This is a change since yesterday.  Linus' tree has been updated with
these commits since then:

  4f2ba5dc183b7..ead751507de8

so, I assume this is just due to the SPDX ids being added to files that
objtool cares about.

The perf build also produced lots of Warnings about differences in
include files.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2016-11-13 22:25 Stephen Rothwell
  0 siblings, 0 replies; 88+ messages in thread
From: Stephen Rothwell @ 2016-11-13 22:25 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-next, linux-kernel, Linus

Hi all,

Starting with Linus' tree, today's linux-next build (x86_64 allmodconfig) produced
this warning:

WARNING: modpost: missing MODULE_LICENSE() in drivers/media/dvb-frontends/gp8psk-fe.o

Introduced by commit

  7a0786c19d65 ("gp8psk: Fix DVB frontend attach")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2016-10-27 22:29 Stephen Rothwell
  2016-10-27 22:48 ` Linus Torvalds
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2016-10-27 22:29 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-next, linux-kernel

Hi Linus,

Building your tree, today's linux-next build (powerpc ppc64_defconfig)
produced this warning:

mm/memory_hotplug.c: In function 'try_offline_node':
mm/memory_hotplug.c:2120:6: warning: unused variable 'i' [-Wunused-variable]
 int i;
     ^

Introduced by commit

  9dcb8b685fc3 ("mm: remove per-zone hashtable of bitlock waitqueues")

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2016-04-12 23:59 Stephen Rothwell
  0 siblings, 0 replies; 88+ messages in thread
From: Stephen Rothwell @ 2016-04-12 23:59 UTC (permalink / raw)
  To: Dave Airlie; +Cc: linux-next, linux-kernel, Rob Clark

Hi Dave,

Staring with Linus' tree, today's (and presumably previous) linux-next
build (arm multi_v7_defconfig) produced this warning:

drivers/gpu/drm/msm/msm_drv.c: In function 'msm_preclose':
drivers/gpu/drm/msm/msm_drv.c:468:18: warning: unused variable 'kms' [-Wunused-variable]
  struct msm_kms *kms = priv->kms;
                  ^

Introduced by commit

  4016260ba47a ("rm/msm: fix bug after preclose removal")

merged into v4.6-rc2.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2014-11-11  7:11 Stephen Rothwell
  0 siblings, 0 replies; 88+ messages in thread
From: Stephen Rothwell @ 2014-11-11  7:11 UTC (permalink / raw)
  To: Al Viro; +Cc: Linus Torvalds, linux-next, linux-kernel

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

Hi Al,

With Linus' tree, today's linux-next build (powerpc ppc64_defconfig)
produced this warning:

fs/isofs/inode.c:177:1: warning: 'isofs_hash_common' defined but not used [-Wunused-function]
 isofs_hash_common(struct qstr *qstr, int ms)
 ^

Since commit b0afd8e5db7b ("isofs: don't bother with ->d_op for normal
case") (which turned up in Linus' tree between v3.18-rc2 and -rc3,
isofs_hash_common() is not used unless CONFIG_JOLIET is set.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

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

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2013-12-17 22:52 Stephen Rothwell
  2013-12-18  2:54 ` Skidmore, Donald C
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2013-12-17 22:52 UTC (permalink / raw)
  To: David Miller, netdev
  Cc: linux-next, linux-kernel, John Fastabend, Neil Horman

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

Hi all,

While building Linus' tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c: In function 'ixgbe_pci_sriov_disable':
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c:294:6: warning: unused variable 'current_flags' [-Wunused-variable]
  u32 current_flags = adapter->flags;
      ^

Introduced by commit 2a47fa45d4df ("ixgbe: enable l2 forwarding
acceleration for macvlans") which was merged before v3.13-rc1.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2012-10-24  2:43 Stephen Rothwell
  2012-10-28 19:44 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2012-10-24  2:43 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-next, linux-kernel, Antti Palosaari

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

Hi Mauro,

After merging the origin tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/media/usb/dvb-usb-v2/dvb_usb_core.c: In function 'dvb_usb_ctrl_feed':
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c:291:12: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]

Which points out some badly formatted and blocked code ...

Probably introduced by commit 62a5f449cab5 ("[media] dvb_usb_v2: refactor
dvb_usb_ctrl_feed() logic").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2012-04-24  1:20 Stephen Rothwell
  2012-04-24 17:09 ` Ted Ts'o
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2012-04-24  1:20 UTC (permalink / raw)
  To: Theodore Ts'o; +Cc: linux-next, linux-kernel

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

Hi Ted,

Using Linus' tree, today's linux-next build (powerpc ppc64_defconfig)
produced this warning:

fs/ext4/super.c: In function 'parse_options':
fs/ext4/super.c:1600:23: warning: unused variable 'sbi' [-Wunused-variable]

Introduced by commit 26092bf52478 ("ext4: use a table-driven handler for
mount options").  This build has CONFIG_QUOTA not set.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2012-04-17  0:44 Stephen Rothwell
  2012-04-17  1:45 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2012-04-17  0:44 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: linux-next, linux-kernel

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

Hi Konrad,

Building Linus' tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

drivers/block/xen-blkback/xenbus.c: In function 'xen_blkbk_discard':
drivers/block/xen-blkback/xenbus.c:419:4: warning: passing argument 1 of 'dev_warn' makes pointer from integer without a cast [enabled by default]
include/linux/device.h:894:5: note: expected 'const struct device *' but argument is of type 'long int'

Introduced by commit 3389bb8bf761 ("xen/blkback: Make optional features
be really optional").  Passing "dev-dev" to dev_warn() was hopefully not
intended ...

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2012-01-18 23:36 Stephen Rothwell
  2012-01-18 23:47 ` Linus Torvalds
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2012-01-18 23:36 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: linux-next, linux-kernel, Linus Torvalds

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

Hi all,

Building Linus' tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

drivers/block/nvme.c: In function 'nvme_alloc_ns':
drivers/block/nvme.c:1336:2: warning: passing argument 2 of 'blk_queue_make_request' from incompatible pointer type [enabled by default]
include/linux/blkdev.h:830:13: note: expected 'void (*)(struct request_queue *, struct bio *)' but argument is of type 'int (*)(struct request_queue *, struct bio *)'

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2012-01-18 23:09 Stephen Rothwell
  0 siblings, 0 replies; 88+ messages in thread
From: Stephen Rothwell @ 2012-01-18 23:09 UTC (permalink / raw)
  To: Chris Mason
  Cc: linux-next, linux-kernel, Jan Schmidt, Arne Jansen, Linus Torvalds

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

Hi Linus,

Building Linus' tree, today's linux-next build (powerpc_ppc64_defconfig)
produced these warnings:

fs/btrfs/backref.c: In function 'find_parent_nodes':
fs/btrfs/backref.c:482:3: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
fs/btrfs/backref.c:395:6: note: 'ret' was declared here
fs/btrfs/backref.c:381:3: warning: 'ret' may be used uninitialized in this function [-Wuninitialized]
fs/btrfs/backref.c:300:6: note: 'ret' was declared here

and indeed, there is a path through to a BUG_ON(ret) that does not set
"ret".  Introduced by commit 8da6d5815c59 ("Btrfs: added
btrfs_find_all_roots()").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2011-05-30  1:43 Stephen Rothwell
  2011-05-30  2:01 ` Eric Dumazet
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2011-05-30  1:43 UTC (permalink / raw)
  To: Patrick McHardy
  Cc: linux-next, linux-kernel, David S. Miller, netfilter-devel, netfilter

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

Hi all,

In Linus' tree, today's linux-next build (powerpc ppc64_defconfig)
produced this warning:

net/ipv4/netfilter/nf_nat_standalone.c: In function 'nf_nat_fn':
net/ipv4/netfilter/nf_nat_standalone.c:119:2: warning: case value '4' not in enumerated type 'enum ip_conntrack_info'
net/ipv4/netfilter/ipt_CLUSTERIP.c: In function 'clusterip_tg':
net/ipv4/netfilter/ipt_CLUSTERIP.c:324:3: warning: case value '4' not in enumerated type 'enum ip_conntrack_info'

I am now using gcc v4.5.2.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2011-05-26  1:00 Stephen Rothwell
  0 siblings, 0 replies; 88+ messages in thread
From: Stephen Rothwell @ 2011-05-26  1:00 UTC (permalink / raw)
  To: Christoph Lameter; +Cc: linux-next, linux-kernel, Linus

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

Hi all,

With Linus' tree, today's linux-next build (powerpc ppc64_defconfig)
produced this warning:

mm/slub.c: In function '__slab_alloc':
mm/slub.c:1834: warning: label 'unlock_out' defined but not used

Introduced by commit a71ae47a2cbf ("slub: Fix double bit unlock in debug
mode").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2011-05-25  0:37 Stephen Rothwell
  2011-05-26  7:15 ` Greg KH
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2011-05-25  0:37 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, Antony Pavlov

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

Hi Greg,

In Linus' tree, today's linux-next build (powerpc ppc64_defconfig)
produced this warning:

drivers/tty/serial/8250_pci.c:1457: warning: initialization from incompatible pointer type

Introduced by commit d9a0fbfd7bc5 ("serial: 8250_pci: add support for
Cronyx Omega PCI multiserial board").

Sorry that I didn't notice this earlier.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2011-03-17 23:04 Stephen Rothwell
  2011-03-18  1:13 ` David Miller
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2011-03-17 23:04 UTC (permalink / raw)
  To: Roland Dreier
  Cc: linux-next, linux-kernel, David S. Miller, Hal Rosenstock,
	Eric Dumazet, Tejun Heo, Changli Gao, linux-rdma

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

Hi all,

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

drivers/infiniband/core/addr.c: In function 'addr4_resolve':
drivers/infiniband/core/addr.c:188: warning: 'ret' may be used uninitialized in this function

I didn't notice this one before, sorry.

I don't know what introduced it, but the third if statement in the
function will make us use "ret" uninitialised.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2011-01-13 23:51 Stephen Rothwell
  2011-01-14  8:45 ` Lennert Buytenhek
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2011-01-13 23:51 UTC (permalink / raw)
  To: Linus, Andrew Morton; +Cc: linux-next, linux-kernel, Lennert Buytenhek

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

Hi all,

While building Linus' tree, today's linux-next build (x86_64
allmodconfig) produced these warnings:

drivers/gpio/timbgpio.c: In function 'timbgpio_irq':
drivers/gpio/timbgpio.c:202: warning: passing argument 1 of 'irq_get_irq_data' makes integer from pointer without a cast
include/linux/irq.h:345: note: expected 'unsigned int' but argument is of type 'struct irq_data *'
drivers/gpio/timbgpio.c:202: warning: passing argument 1 of 'desc-><U be0>.irq_data.chip->ack' makes integer from pointer without a cast
drivers/gpio/timbgpio.c:202: note: expected 'unsigned int' but argument is of type 'struct irq_data *'
drivers/gpio/timbgpio.c: In function 'timbgpio_probe':
drivers/gpio/timbgpio.c:303: warning: passing argument 2 of 'set_irq_chained_handler' from incompatible pointer type
include/linux/irq.h:294: note: expected 'irq_flow_handler_t' but argument is of type 'void (*)(struct irq_data *, struct irq_desc *)'

Introduced by commit a1f5f22adc3206c47e70652c12671666c65b579f ("gpio:
timbgpio: irq_data conversion").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2010-10-25  2:52 Stephen Rothwell
  0 siblings, 0 replies; 88+ messages in thread
From: Stephen Rothwell @ 2010-10-25  2:52 UTC (permalink / raw)
  To: Linus; +Cc: linux-next, linux-kernel, Jan Beulich, H. Peter Anvin

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

Hi Linus,

In building Linus' tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:

In file included from arch/powerpc/platforms/iseries/exception.S:32:
arch/powerpc/include/asm/ptrace.h:60:1: warning: "STACK_FRAME_OVERHEAD" redefined
In file included from arch/powerpc/include/asm/asm-offsets.h:1,
                 from arch/powerpc/platforms/iseries/exception.S:30:
include/generated/asm-offsets.h:87:1: warning: this is the location of the previous definition

Caused by commit 3234282f33b29d349bcada40204fc7c8fda7fe72 ("x86, asm: Fix
CFI macro invocations to deal with shortcomings in gas").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus'  tree
@ 2010-10-25  0:57 Stephen Rothwell
  2010-10-25  6:36 ` Ingo Molnar
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2010-10-25  0:57 UTC (permalink / raw)
  To: Linus; +Cc: linux-next, linux-kernel, Robert Richter, Ingo Molnar

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

Hi all,

In building Linus' tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

arch/x86/oprofile/op_model_amd.c: In function 'ibs_eilvt_valid':
arch/x86/oprofile/op_model_amd.c:289: warning: 'offset' may be used uninitialized in this function

.. and indeed it may be.

Introduced by commit 27afdf2008da0b8878a73e32e4eb12381b84e224 ("apic,
x86: Use BIOS settings for IBS and MCE threshold interrupt LVT
offsets").  Sorry I missed this earlier.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2010-10-25  0:38 Stephen Rothwell
  2010-10-25  0:45 ` Stephen Rothwell
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2010-10-25  0:38 UTC (permalink / raw)
  To: Linus; +Cc: linux-next, linux-kernel, Mike Miller, Jens Axboe

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

Hi Linus,

After merging the hid tree, today's linux-next build (x86_64 allmodconfig)
produced this warning:

drivers/scsi/hpsa.c:94:1: warning: "PCI_DEVICE_ID_HP_CISSF" redefined
In file included from include/linux/pci.h:58,
                 from drivers/scsi/hpsa.c:25:
include/linux/pci_ids.h:746:1: warning: this is the location of the previous definition

Introduced by commit 6362beea8914cbd4630ccde3617d944aeca2d48f ("cciss:
fix PCI IDs for new Smart Array controllers") a commit that never made it
to linus-next :-(.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2010-08-16  4:00 Stephen Rothwell
  0 siblings, 0 replies; 88+ messages in thread
From: Stephen Rothwell @ 2010-08-16  4:00 UTC (permalink / raw)
  To: Chen Gong, Andrew Morton; +Cc: linux-next, linux-kernel

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

Hi all,

After merging the slab tree, today's linux-next build (x86_64
allmodconfig) produced these warnings:

/scratch/sfr/next/drivers/hwmon/coretemp.c: In function 'coretemp_init':
/scratch/sfr/next/drivers/hwmon/coretemp.c:521: warning: unused variable 'n'
/scratch/sfr/next/drivers/hwmon/coretemp.c:521: warning: unused variable 'p'

Introduced by commit 851b29cb3b196cb66452ec964ab5f66c9c9cd1ed ("hwmon:
coretemp: enable coretemp device add operation failure").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2010-05-28  0:56 Stephen Rothwell
  0 siblings, 0 replies; 88+ messages in thread
From: Stephen Rothwell @ 2010-05-28  0:56 UTC (permalink / raw)
  To: Kevin Hilman; +Cc: linux-next, linux-kernel, Dmitry Torokhov

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

Hi Kevin,

Today's linux-next build (x86_64 allmodconfig) produced this warning:

drivers/input/touchscreen/ads7846.c: In function 'ads7846_probe':
drivers/input/touchscreen/ads7846.c:1167: warning: format '%ld' expects type 'long int', but argument 4 has type 'int'

Introduced by commit 067fb2f648543894ce775082c5636f4c32b99e4f ("Input:
ads7846 - return error on regulator_get() failure").
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2010-05-26  1:43 Stephen Rothwell
  2010-05-26  1:51 ` Herbert Xu
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2010-05-26  1:43 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Linus, Herbert Xu

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

Hi Dave,

Today's linux-next build (x86_64 allmodconfig) produced this warning:

net/core/sock.c: In function 'sock_update_classid':
include/net/cls_cgroup.h:42: warning: 'classid' may be used uninitialized in this function
include/net/cls_cgroup.h:42: note: 'classid' was declared here

In the case that rcu_dereference() returns a value < 0, classid will not
be assigned in task_cls_classid().  I don't know if this is possible - if
not, then why is the test there?
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus'  tree
@ 2010-05-25  1:46 Stephen Rothwell
  2010-05-25  4:58 ` David Miller
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2010-05-25  1:46 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Neil Jones

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

Hi Dave,

Today's linux-next build (x86_64 allmodconfig) produced this warning:

drivers/net/usb/asix.c: In function 'asix_rx_fixup':
drivers/net/usb/asix.c:325: warning: cast from pointer to integer of different size
drivers/net/usb/asix.c:354: warning: cast from pointer to integer of different size

Introduced by commit 3f78d1f210ff89af77f042ab7f4a8fee39feb1c9
("drivers/net/usb/asix.c: Fix unaligned accesses").  This commit casts
skb->data to u32.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 88+ messages in thread
* linux-next: build warning in Linus' tree
@ 2010-04-26 23:30 Stephen Rothwell
  2010-04-26 23:42 ` Greg KH
  0 siblings, 1 reply; 88+ messages in thread
From: Stephen Rothwell @ 2010-04-26 23:30 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-next, linux-kernel, Alex Manoussakis

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

Hi Greg,

Today's linux-next build (x86_64 allmodconfig) produced this warning:

drivers/usb/serial/ti_usb_3410_5052.c: In function 'ti_download_firmware':
drivers/usb/serial/ti_usb_3410_5052.c:1738: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'

Introduced by commit cdc04834ce70343aa6f87c5332ec66c35d968967 ("USB:
ti_usb_3410_5052: adding multitech dialup fax/modem devices").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2023-05-30  5:26 UTC | newest]

Thread overview: 88+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-26  1:05 linux-next: build warning in Linus'tree Stephen Rothwell
2010-05-26  1:20 ` Andrew Morton
2010-05-26  4:09   ` Stephen Rothwell
2010-05-26  6:29     ` Joakim Tjernlund
2010-05-26  6:41       ` Andrew Morton
2010-05-26  7:14         ` Stephen Rothwell
2010-05-26 10:21           ` Joakim Tjernlund
2010-05-26 15:29             ` Linus Torvalds
2010-05-26 16:35               ` Joakim Tjernlund
2010-05-26 16:46                 ` Linus Torvalds
2010-05-26 17:31                   ` Joakim Tjernlund
2010-05-26 17:45                     ` Linus Torvalds
2010-05-26 15:33           ` Linus Torvalds
2010-05-26 15:26         ` Linus Torvalds
  -- strict thread matches above, loose matches on Subject: below --
2023-05-30  5:26 linux-next: build warning in Linus' tree Stephen Rothwell
2023-02-15  3:41 Stephen Rothwell
2023-02-15 11:33 ` Paolo Bonzini
2021-10-05  9:42 Stephen Rothwell
2021-10-05  9:29 Stephen Rothwell
2021-10-21  1:28 ` Stephen Rothwell
     [not found] ` <ANQAFAC9EhHeWK1g5-2FP4ol.9.1634779695838.Hmail.changfengnan@vivo.com>
2021-10-21  1:32   ` 常凤楠
2021-08-30  8:33 Stephen Rothwell
2021-03-23  5:51 Stephen Rothwell
2021-03-23  8:49 ` Peter Zijlstra
2021-02-18 20:58 Stephen Rothwell
2021-02-18 22:47 ` Ernst, Justin
2021-02-23 21:50   ` Stephen Rothwell
2021-02-23 22:01     ` Ernst, Justin
2021-01-03 22:07 Stephen Rothwell
2020-10-28  3:28 Stephen Rothwell
2020-10-28 15:56 ` Micah Morton
2020-10-28 21:07   ` Stephen Rothwell
2020-02-21  3:39 Stephen Rothwell
2020-02-21  6:51 ` Gustavo A. R. Silva
2017-11-02 20:29 Stephen Rothwell
2017-11-02 21:08 ` Ingo Molnar
2017-11-02 21:21   ` Stephen Rothwell
2016-11-13 22:25 Stephen Rothwell
2016-10-27 22:29 Stephen Rothwell
2016-10-27 22:48 ` Linus Torvalds
2016-10-27 23:01   ` Linus Torvalds
2016-10-27 23:05     ` Alexander Potapenko
2016-10-27 23:25       ` Linus Torvalds
2016-10-27 23:40     ` Stephen Rothwell
2016-10-29 21:29     ` Geert Uytterhoeven
2016-10-30 19:05       ` Andrey Ryabinin
2016-04-12 23:59 Stephen Rothwell
2014-11-11  7:11 Stephen Rothwell
2013-12-17 22:52 Stephen Rothwell
2013-12-18  2:54 ` Skidmore, Donald C
2012-10-24  2:43 Stephen Rothwell
2012-10-28 19:44 ` Mauro Carvalho Chehab
2012-11-05 22:36   ` Antti Palosaari
2012-04-24  1:20 Stephen Rothwell
2012-04-24 17:09 ` Ted Ts'o
2012-04-17  0:44 Stephen Rothwell
2012-04-17  1:45 ` Konrad Rzeszutek Wilk
2012-01-18 23:36 Stephen Rothwell
2012-01-18 23:47 ` Linus Torvalds
2012-01-18 23:09 Stephen Rothwell
2011-05-30  1:43 Stephen Rothwell
2011-05-30  2:01 ` Eric Dumazet
2011-05-26  1:00 Stephen Rothwell
2011-05-25  0:37 Stephen Rothwell
2011-05-26  7:15 ` Greg KH
2011-03-17 23:04 Stephen Rothwell
2011-03-18  1:13 ` David Miller
2011-01-13 23:51 Stephen Rothwell
2011-01-14  8:45 ` Lennert Buytenhek
2010-10-25  2:52 Stephen Rothwell
2010-10-25  0:57 Stephen Rothwell
2010-10-25  6:36 ` Ingo Molnar
2010-10-25  0:38 Stephen Rothwell
2010-10-25  0:45 ` Stephen Rothwell
2010-10-25  2:39   ` Stephen Rothwell
2010-08-16  4:00 Stephen Rothwell
2010-05-28  0:56 Stephen Rothwell
2010-05-26  1:43 Stephen Rothwell
2010-05-26  1:51 ` Herbert Xu
2010-05-26  1:54   ` David Miller
2010-05-25  1:46 Stephen Rothwell
2010-05-25  4:58 ` David Miller
2010-05-25 23:19   ` David Miller
2010-05-25 23:24     ` David Miller
2010-05-26  2:04       ` Stephen Rothwell
2010-04-26 23:30 Stephen Rothwell
2010-04-26 23:42 ` Greg KH
2010-04-27  3:09   ` Stephen Rothwell

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