Linux-Next Archive on lore.kernel.org
 help / color / Atom feed
* linux-next: build warning from Linus' tree
@ 2019-08-29 22:23 Stephen Rothwell
  2019-08-29 22:29 ` Thomas Gleixner
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2019-08-29 22:23 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra
  Cc: Linux Next Mailing List, Linux Kernel Mailing List

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

Hi all,

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

arch/x86/boot/edd.c: In function 'query_edd':
arch/x86/boot/edd.c:148:11: warning: taking address of packed member of 'struct boot_params' may result in an unaligned pointer value [-Waddress-of-packed-member]
  148 |  mbrptr = boot_params.edd_mbr_sig_buffer;
      |           ^~~~~~~~~~~

I assume this is a result of upgrading my x86_64 cross compiler to v9.2.1
(from v8.3.0).

-- 
Cheers,
Stephen Rothwell

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

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

* Re: linux-next: build warning from Linus' tree
  2019-08-29 22:23 linux-next: build warning from Linus' tree Stephen Rothwell
@ 2019-08-29 22:29 ` Thomas Gleixner
  2019-08-30  0:25   ` Stephen Rothwell
  0 siblings, 1 reply; 12+ messages in thread
From: Thomas Gleixner @ 2019-08-29 22:29 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Ingo Molnar, H. Peter Anvin, Peter Zijlstra,
	Linux Next Mailing List, Linux Kernel Mailing List

Stephen,

On Fri, 30 Aug 2019, Stephen Rothwell wrote:

> Hi all,
> 
> From Linus tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
> 
> arch/x86/boot/edd.c: In function 'query_edd':
> arch/x86/boot/edd.c:148:11: warning: taking address of packed member of 'struct boot_params' may result in an unaligned pointer value [-Waddress-of-packed-member]
>   148 |  mbrptr = boot_params.edd_mbr_sig_buffer;
>       |           ^~~~~~~~~~~
> 
> I assume this is a result of upgrading my x86_64 cross compiler to v9.2.1
> (from v8.3.0).

Yes. We have a fix queued which should hit next tomorrow.

Thanks,

	tglx

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

* Re: linux-next: build warning from Linus' tree
  2019-08-29 22:29 ` Thomas Gleixner
@ 2019-08-30  0:25   ` Stephen Rothwell
  0 siblings, 0 replies; 12+ messages in thread
From: Stephen Rothwell @ 2019-08-30  0:25 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: Ingo Molnar, H. Peter Anvin, Peter Zijlstra,
	Linux Next Mailing List, Linux Kernel Mailing List

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

Hi Thomas,

On Fri, 30 Aug 2019 00:29:21 +0200 (CEST) Thomas Gleixner <tglx@linutronix.de> wrote:
>
> On Fri, 30 Aug 2019, Stephen Rothwell wrote:
> 
> Yes. We have a fix queued which should hit next tomorrow.

Excellent, thanks.

-- 
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 from Linus' tree
@ 2017-02-26 23:23 Stephen Rothwell
  0 siblings, 0 replies; 12+ messages in thread
From: Stephen Rothwell @ 2017-02-26 23:23 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: linux-next, linux-kernel, Dave Jiang, Andrew Morton,
	Matthew Wilcox, Ross Zwisler

Hi all,

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

fs/dax.c: In function 'dax_iomap_fault':
fs/dax.c:1462:35: warning: passing argument 2 of 'dax_iomap_pmd_fault' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
   return dax_iomap_pmd_fault(vmf, ops);
                                   ^
fs/dax.c:1439:12: note: expected 'struct iomap_ops *' but argument is of type 'const struct iomap_ops *'
 static int dax_iomap_pmd_fault(struct vm_fault *vmf, struct iomap_ops *ops)
            ^

Introduced by commit

  a2d581675d48 ("mm,fs,dax: change ->pmd_fault to ->huge_fault")

which missed fixing up the !CONFIG_FS_DAX_PMD case.

-- 
Cheers,
Stephen Rothwell

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

* Re: linux-next: build warning from Linus' tree
  2011-06-03  1:10 Stephen Rothwell
@ 2011-06-03 14:17 ` David Sterba
  0 siblings, 0 replies; 12+ messages in thread
From: David Sterba @ 2011-06-03 14:17 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Chris Mason, linux-next, linux-kernel, Miao Xie, David Sterba,
	Tsutomu Itoh, Itaru Kitayama, Linus

Hi,

On Fri, Jun 03, 2011 at 11:10:49AM +1000, Stephen Rothwell wrote:
> fs/btrfs/delayed-inode.c: In function 'btrfs_batch_insert_items':
> fs/btrfs/delayed-inode.c:670:6: warning: 'nitems' may be used uninitialized in this function
> 
> Introduced by commit 16cdcec736cd ("btrfs: implement delayed inode items
> operation").  I think this is a real bug.  This variable is not
> initialised, only incremented and tested.

yes, it's a bug and has been already hit (fix pending):

http://marc.info/?l=linux-btrfs&m=130678270307885&w=4

thanks,
david

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

* linux-next: build warning from Linus' tree
@ 2011-06-03  1:10 Stephen Rothwell
  2011-06-03 14:17 ` David Sterba
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2011-06-03  1:10 UTC (permalink / raw)
  To: Chris Mason
  Cc: linux-next, linux-kernel, Miao Xie, David Sterba, Tsutomu Itoh,
	Itaru Kitayama, Linus

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

Hi all,

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

fs/btrfs/delayed-inode.c: In function 'btrfs_batch_insert_items':
fs/btrfs/delayed-inode.c:670:6: warning: 'nitems' may be used uninitialized in this function

Introduced by commit 16cdcec736cd ("btrfs: implement delayed inode items
operation").  I think this is a real bug.  This variable is not
initialised, only incremented and tested.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

P.S. Chris, time to get a tree into linux-next?

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

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

* linux-next: build warning from Linus' tree
@ 2011-06-03  1:00 Stephen Rothwell
  0 siblings, 0 replies; 12+ messages in thread
From: Stephen Rothwell @ 2011-06-03  1:00 UTC (permalink / raw)
  To: Chris Mason
  Cc: linux-next, linux-kernel, Miao Xie, David Sterba, Tsutomu Itoh,
	Itaru Kitayama

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

Hi all,

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

fs/btrfs/delayed-inode.c: In function 'btrfs_delayed_update_inode':
fs/btrfs/delayed-inode.c:1598:6: warning: 'ret' may be used uninitialized in this function

Introduced by commit 16cdcec736cd ("btrfs: implement delayed inode items
operation").
-- 
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] 12+ messages in thread

* Re: linux-next: build warning from Linus' tree
  2010-10-27  0:29 Stephen Rothwell
@ 2010-10-27  0:58 ` Jesse Gross
  0 siblings, 0 replies; 12+ messages in thread
From: Jesse Gross @ 2010-10-27  0:58 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: David Miller, netdev, linux-next, linux-kernel

On Tue, Oct 26, 2010 at 5:29 PM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi all,
>
> While building Linus' tree, today's linux-next build (x86_64 allmodconfig)
> produced this warning:
>
> drivers/net/igb/igb_main.c: In function 'igb_xmit_frame_ring_adv':
> drivers/net/igb/igb_main.c:4110: warning: unused variable 'adapter'
>
> Introduced by commit eab6d18d20fc5b5ba04a7e7fcd6f357197870e51 ("vlan:
> Don't check for vlan group before vlan_tx_tag_present").

Patch sent out to resolve this.

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

* linux-next: build warning from Linus' tree
@ 2010-10-27  0:29 Stephen Rothwell
  2010-10-27  0:58 ` Jesse Gross
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2010-10-27  0:29 UTC (permalink / raw)
  To: David Miller, netdev; +Cc: linux-next, linux-kernel, Jesse Gross

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

Hi all,

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

drivers/net/igb/igb_main.c: In function 'igb_xmit_frame_ring_adv':
drivers/net/igb/igb_main.c:4110: warning: unused variable 'adapter'

Introduced by commit eab6d18d20fc5b5ba04a7e7fcd6f357197870e51 ("vlan:
Don't check for vlan group before vlan_tx_tag_present").

Sorry I didn't catch it 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] 12+ messages in thread

* linux-next: build warning from Linus' tree
@ 2010-10-27  0:00 Stephen Rothwell
  0 siblings, 0 replies; 12+ messages in thread
From: Stephen Rothwell @ 2010-10-27  0:00 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-next, linux-kernel, Alan Cox

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

Hi ,

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

drivers/char/pcmcia/synclink_cs.c:2194: warning: 'mgslpc_get_icount' defined but not used

Introduced by commit 0587102cf9f427c185bfdeb2cef41e13ee0264b1 ("tty:
icount changeover for other main devices").

-- 
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] 12+ messages in thread

* Re: linux-next: build warning from Linus' tree
  2010-09-24  4:08 Stephen Rothwell
@ 2010-09-24 12:32 ` Frederic Weisbecker
  0 siblings, 0 replies; 12+ messages in thread
From: Frederic Weisbecker @ 2010-09-24 12:32 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Arnd Bergmann, linux-next, linux-kernel

On Fri, Sep 24, 2010 at 02:08:59PM +1000, Stephen Rothwell wrote:
> Hi Arnd,
> 
> Today's (and lots before) linux-next build (i386 defconfig) produced this
> warning:
> 
> fs/autofs4/root.c:31: warning: 'autofs4_root_compat_ioctl' declared 'static' but never defined
> 
> Introduced by commit c9243f5bdd6637b2bb7dc254b54d9edf957ef17e
> ("autofs/autofs4: Move compat_ioctl handling into fs").


Yeah, I've seen two patches:

autofs: only declare function when CONFIG_COMPAT is defined
autofs4: fix compilation warning

I'm going to relay them. Thanks!

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

* linux-next: build warning from Linus' tree
@ 2010-09-24  4:08 Stephen Rothwell
  2010-09-24 12:32 ` Frederic Weisbecker
  0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2010-09-24  4:08 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: linux-next, linux-kernel, Frederic Weisbecker

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

Hi Arnd,

Today's (and lots before) linux-next build (i386 defconfig) produced this
warning:

fs/autofs4/root.c:31: warning: 'autofs4_root_compat_ioctl' declared 'static' but never defined

Introduced by commit c9243f5bdd6637b2bb7dc254b54d9edf957ef17e
("autofs/autofs4: Move compat_ioctl handling into fs").

-- 
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] 12+ messages in thread

end of thread, back to index

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-29 22:23 linux-next: build warning from Linus' tree Stephen Rothwell
2019-08-29 22:29 ` Thomas Gleixner
2019-08-30  0:25   ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2017-02-26 23:23 Stephen Rothwell
2011-06-03  1:10 Stephen Rothwell
2011-06-03 14:17 ` David Sterba
2011-06-03  1:00 Stephen Rothwell
2010-10-27  0:29 Stephen Rothwell
2010-10-27  0:58 ` Jesse Gross
2010-10-27  0:00 Stephen Rothwell
2010-09-24  4:08 Stephen Rothwell
2010-09-24 12:32 ` Frederic Weisbecker

Linux-Next Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-next/0 linux-next/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-next linux-next/ https://lore.kernel.org/linux-next \
		linux-next@vger.kernel.org linux-next@archiver.kernel.org
	public-inbox-index linux-next


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-next


AGPL code for this site: git clone https://public-inbox.org/ public-inbox