* linux-next: build warning after merge of the final tree (Linus' tree related)
@ 2010-05-22 6:46 Stephen Rothwell
2010-05-22 14:49 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2010-05-22 6:46 UTC (permalink / raw)
To: Greg KH; +Cc: linux-next, linux-kernel, Eric W. Biederman
[-- Attachment #1: Type: text/plain, Size: 437 bytes --]
Hi Greg,
After merging the final tree, today's linux-next build (powerpc
allnoconfig) produced this warning:
lib/kobject_uevent.c:86: warning: 'kobj_bcast_filter' defined but not used
Introduced by commit 5f71a29629b4717445f8b7f5fb8f50c2d262b68e ("kobj:
Send hotplug events in the proper namespace") from Linus' tree.
--
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] 4+ messages in thread
* Re: linux-next: build warning after merge of the final tree (Linus' tree related)
2010-05-22 6:46 linux-next: build warning after merge of the final tree (Linus' tree related) Stephen Rothwell
@ 2010-05-22 14:49 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2010-05-22 14:49 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: linux-next, linux-kernel, Eric W. Biederman
On Sat, May 22, 2010 at 04:46:44PM +1000, Stephen Rothwell wrote:
> Hi Greg,
>
> After merging the final tree, today's linux-next build (powerpc
> allnoconfig) produced this warning:
>
> lib/kobject_uevent.c:86: warning: 'kobj_bcast_filter' defined but not used
>
> Introduced by commit 5f71a29629b4717445f8b7f5fb8f50c2d262b68e ("kobj:
> Send hotplug events in the proper namespace") from Linus' tree.
Thanks, someone already sent me a patch for this and I'll queue it up
next week.
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* linux-next: build warning after merge of the final tree (Linus' tree related)
@ 2013-05-09 3:55 Stephen Rothwell
2013-05-09 15:22 ` Naoya Horiguchi
0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2013-05-09 3:55 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-next, linux-kernel, Naoya Horiguchi
[-- Attachment #1: Type: text/plain, Size: 527 bytes --]
Hi all,
After merging the final tree, today's linux-next build (arm defconfig)
produced this warning:
ipc/shm.c: In function 'newseg':
ipc/shm.c:494:18: warning: unused variable 'hs' [-Wunused-variable]
Introduced by commit af73e4d9506d ("hugetlbfs: fix mmap failure in
unaligned size request") in Linus' tree.
Did the "[akpm@linux-foundation.org: fix warning when
CONFIG_HUGETLB_PAGE=n]" part get dropped? Or was that something else?
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: linux-next: build warning after merge of the final tree (Linus' tree related)
2013-05-09 3:55 Stephen Rothwell
@ 2013-05-09 15:22 ` Naoya Horiguchi
0 siblings, 0 replies; 4+ messages in thread
From: Naoya Horiguchi @ 2013-05-09 15:22 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Andrew Morton, linux-next, linux-kernel
On Thu, May 09, 2013 at 01:55:04PM +1000, Stephen Rothwell wrote:
> Hi all,
>
> After merging the final tree, today's linux-next build (arm defconfig)
> produced this warning:
>
> ipc/shm.c: In function 'newseg':
> ipc/shm.c:494:18: warning: unused variable 'hs' [-Wunused-variable]
>
> Introduced by commit af73e4d9506d ("hugetlbfs: fix mmap failure in
> unaligned size request") in Linus' tree.
>
> Did the "[akpm@linux-foundation.org: fix warning when
> CONFIG_HUGETLB_PAGE=n]" part get dropped? Or was that something else?
In my original post, 2 auto variables hs were used both in newseg() and
sys_mmap_pgoff(), and Andrew fixed only one in sys_mmap_pgoff().
hs remains in newseg(), so it fires warning in linux-next.
Hours ago Li suggested another fix of af73e4d9506d and it implicitly
fixes this warning.
http://marc.info/?l=linux-kernel&m=136808335431220&w=2
Thanks,
Naoya
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-05-09 15:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-22 6:46 linux-next: build warning after merge of the final tree (Linus' tree related) Stephen Rothwell
2010-05-22 14:49 ` Greg KH
-- strict thread matches above, loose matches on Subject: below --
2013-05-09 3:55 Stephen Rothwell
2013-05-09 15:22 ` Naoya Horiguchi
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).