* 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
* Re: linux-next: build warning
2008-08-29 8:14 linux-next: build warning Stephen Rothwell
@ 2008-08-29 12:09 ` Jason Wessel
0 siblings, 0 replies; 11+ messages in thread
From: Jason Wessel @ 2008-08-29 12:09 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linux-next
Thanks Stephen,
My apologies for introducing the error. This particular patch had not
undergone, final testing before making it to the linux-next tree (IE
checkpatch, boot regression, sparse, code inspection sanity). It
accidentally got pushed while testing all the script changes from
"git-foo" to "git foo".
As a side note, checkpatch tells one to use strict_strtoul instead of
simple_strtoul, but they are obviously not "pin compatible". :-)
Cheers,
Jason.
Stephen Rothwell wrote:
> 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.
>
^ 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
* Re: linux-next: build warning
2008-09-18 21:17 Stephen Rothwell
@ 2008-09-27 1:17 ` Steven Rostedt
0 siblings, 0 replies; 11+ messages in thread
From: Steven Rostedt @ 2008-09-27 1:17 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, linux-next,
Arjan van de Ven
On Fri, 19 Sep 2008, Stephen Rothwell wrote:
> 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.
Ah, I've seen this too. If it is not already fixed, I'll have to send Ingo
a patch.
Thanks,
-- Steve
^ 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
* Re: linux-next: build warning
2008-10-16 6:04 Stephen Rothwell
@ 2008-10-16 16:04 ` Greg KH
0 siblings, 0 replies; 11+ messages in thread
From: Greg KH @ 2008-10-16 16:04 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Hannes Reinecke, linux-next
On Thu, Oct 16, 2008 at 05:04:10PM +1100, Stephen Rothwell wrote:
> 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.
Yes, I'm going to drop that patch and split it up into the proper
pieces, like it should have in the first place :(
thanks,
greg k-h
^ 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
* Re: linux-next: build warning
2008-11-24 6:38 Stephen Rothwell
@ 2008-11-24 7:53 ` NeilBrown
2008-11-24 9:14 ` Stephen Rothwell
0 siblings, 1 reply; 11+ messages in thread
From: NeilBrown @ 2008-11-24 7:53 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linux-next, Cheng Renquan, Andrew Morton
On Mon, November 24, 2008 5:38 pm, Stephen Rothwell wrote:
> 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").
Thanks. That's now fixed in my tree - you should see happiness tomorrow.
NeilBrown
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: linux-next: build warning
2008-11-24 7:53 ` NeilBrown
@ 2008-11-24 9:14 ` Stephen Rothwell
0 siblings, 0 replies; 11+ messages in thread
From: Stephen Rothwell @ 2008-11-24 9:14 UTC (permalink / raw)
To: NeilBrown; +Cc: linux-next, Cheng Renquan, Andrew Morton
[-- Attachment #1: Type: text/plain, Size: 289 bytes --]
Hi Neil,
On Mon, 24 Nov 2008 18:53:46 +1100 (EST) "NeilBrown" <neilb@suse.de> wrote:
>
> Thanks. That's now fixed in my tree - you should see happiness tomorrow.
Thanks.
--
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
* Re: linux-next: build warning
2022-10-10 3:41 Stephen Rothwell
@ 2022-10-10 4:11 ` Stephen Rothwell
0 siblings, 0 replies; 11+ messages in thread
From: Stephen Rothwell @ 2022-10-10 4:11 UTC (permalink / raw)
To: Linux Next Mailing List; +Cc: Linux Kernel Mailing List
[-- Attachment #1: Type: text/plain, Size: 640 bytes --]
Hi all,
On Mon, 10 Oct 2022 14:41:34 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> 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.
Probably a false alarm due to me upgrading binutils while the builds
were in progress :-)
--
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).