linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning
@ 2008-08-29  8:14 Stephen Rothwell
  2008-08-29 12:09 ` Jason Wessel
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2008-08-29  8:14 UTC (permalink / raw)
  To: Jason Wessel; +Cc: linux-next

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

Hi Jason,

The current linux-next build (x86_64 allmodconfig) gives this warning:

drivers/char/tty_io.c: In function 'tty_find_polling_driver':
drivers/char/tty_io.c:307: warning: passing argument 2 of 'strict_strtoul' makes integer from pointer without a cast
drivers/char/tty_io.c:307: warning: passing argument 3 of 'strict_strtoul' makes pointer from integer without a cast

Which points to an actual bug introduced by commit
8a89d640448c261c248594511c72db0569725058 ("kgdboc,tty: Fix tty polling
search to use name correctly") from the kgdb tree.

simple_strtol() and strict_strtoul() take different parameters and have
different return values.

Warnings are important!  Please take a more care.

I will revert that commit from linux-next for today.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* linux-next:  build warning
@ 2008-09-18 21:17 Stephen Rothwell
  2008-09-27  1:17 ` Steven Rostedt
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2008-09-18 21:17 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin; +Cc: linux-next, Arjan van de Ven

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

Hi all,

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

In file included from kernel/trace/trace_stack.c:6:
include/linux/stacktrace.h:13: warning: 'struct task_struct' declared inside parameter list
include/linux/stacktrace.h:13: warning: its scope is only this definition or declaration, which is probably not what you want

I just noticed this in passing.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* linux-next: build warning
@ 2008-10-16  6:04 Stephen Rothwell
  2008-10-16 16:04 ` Greg KH
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2008-10-16  6:04 UTC (permalink / raw)
  To: Greg KH; +Cc: Hannes Reinecke, linux-next

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

Hi Greg,

Today's linux-next build gives this warning:

drivers/net/wireless/iwlwifi/iwl3945-base.c: In function 'iwl3945_pci_probe':
drivers/net/wireless/iwlwifi/iwl3945-base.c:7871: warning: passing argument 1 of 'dev_get_drvdata' from incompatible pointer type

Git blame points at commit 64d3bd686e868597694bb3088bdfe2de362c8358
("Driver core: Use dev_get_drvdata() accessors").  I suspect that the
conversion in iwl3945_pci_probe should not have been done.

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

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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* linux-next: build warning
@ 2008-11-24  6:38 Stephen Rothwell
  2008-11-24  7:53 ` NeilBrown
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2008-11-24  6:38 UTC (permalink / raw)
  To: Neil Brown; +Cc: linux-next, Cheng Renquan, Andrew Morton

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

Hi Neil,

Today's linux-next build (i386 defconfig) produced these warnings:

drivers/md/md.c: In function 'print_sb_1':
drivers/md/md.c:1678: warning: left shift count >= width of type
drivers/md/md.c:1702: warning: left shift count >= width of type

Caused by commit 8a11632aeb9ad49bbda3e2c6978b207c6aff1aa8 ("md: need
another print_sb for mdp_superblock_1").

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

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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* linux-next: build warning
@ 2022-10-10  3:41 Stephen Rothwell
  2022-10-10  4:11 ` Stephen Rothwell
  0 siblings, 1 reply; 11+ messages in thread
From: Stephen Rothwell @ 2022-10-10  3:41 UTC (permalink / raw)
  To: Linux Next Mailing List; +Cc: Linux Kernel Mailing List

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

Hi all,

My linux-next builds have started producing these warnings:

ld: warning: .tmp_vmlinux.kallsyms1 has a LOAD segment with RWX permissions
ld: warning: .tmp_vmlinux.kallsyms2 has a LOAD segment with RWX permissions
ld: warning: vmlinux has a LOAD segment with RWX permissions

I assume that these turned up now because I upgraded my binutils to 2.39
but I have no idea what the root cause is.

-- 
Cheers,
Stephen Rothwell

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

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

end of thread, other threads:[~2022-10-10  4:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-29  8:14 linux-next: build warning Stephen Rothwell
2008-08-29 12:09 ` Jason Wessel
  -- strict thread matches above, loose matches on Subject: below --
2008-09-18 21:17 Stephen Rothwell
2008-09-27  1:17 ` Steven Rostedt
2008-10-16  6:04 Stephen Rothwell
2008-10-16 16:04 ` Greg KH
2008-11-24  6:38 Stephen Rothwell
2008-11-24  7:53 ` NeilBrown
2008-11-24  9:14   ` Stephen Rothwell
2022-10-10  3:41 Stephen Rothwell
2022-10-10  4:11 ` 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).