Re: linux-next: Tree for April 10 (arch/x86)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Randy Dunlap <randy.dunlap@...>
Cc: Ingo Molnar <mingo@...>, Stephen Rothwell <sfr@...>, mingo <mingo@...>, tglx <tglx@...>, <linux-next@...>, LKML <linux-kernel@...>
Date: Friday, April 11, 2008 - 11:26 am

On Fri, Apr 11, 2008 at 08:19:01AM -0700, Randy Dunlap wrote:


Er...  That's kinda obvious - vararg function getting the wrong-sized
argument is *NOT* a harmless situation.  And yes, it's certainly a bug -
gcc manages to recover by using the knowledge of printf() formats (i.e.
it guesses that we want a long long and does conversion), but try to
do
	char *s = "%llx %c";
	printf(s, 1, '.');
and watch the show...
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
linux-next: Tree for April 10, Stephen Rothwell, (Thu Apr 10, 4:14 am)
Re: linux-next: Tree for April 10 (arch/x86), Randy Dunlap, (Thu Apr 10, 6:09 pm)
Re: linux-next: Tree for April 10 (arch/x86), Ingo Molnar, (Fri Apr 11, 3:46 am)
Re: linux-next: Tree for April 10 (arch/x86), Randy Dunlap, (Fri Apr 11, 11:19 am)
Re: linux-next: Tree for April 10 (arch/x86), Jakub Jelinek, (Mon Apr 14, 4:40 am)
Re: linux-next: Tree for April 10 (arch/x86), Randy Dunlap, (Mon Apr 14, 6:28 pm)
Re: linux-next: Tree for April 10 (arch/x86), Al Viro, (Fri Apr 11, 11:26 am)
Re: linux-next: Tree for April 10 (arch/x86), Ingo Molnar, (Mon Apr 14, 4:12 am)
Re: linux-next: Tree for April 10 (arch/x86), Al Viro, (Mon Apr 14, 4:22 am)
Re: linux-next: Tree for April 10 (arch/x86), Ingo Molnar, (Mon Apr 14, 4:34 am)
Re: linux-next: Tree for April 10 (arch/x86), Jakub Jelinek, (Mon Apr 14, 4:43 am)
Re: linux-next: Tree for April 10 (arch/x86), Al Viro, (Mon Apr 14, 5:30 am)
Re: linux-next: Tree for April 10 (arch/x86), David Miller, (Mon Apr 14, 5:37 am)
Re: linux-next: Tree for April 10 (ftrace), Randy Dunlap, (Thu Apr 10, 6:07 pm)
Re: linux-next: Tree for April 10: generic pci_enable_resour..., Mariusz Kozlowski, (Thu Apr 10, 3:34 pm)
Re: linux-next: Tree for April 10: generic pci_enable_resour..., Stephen Rothwell, (Mon Apr 14, 12:49 am)
[BUG] linux-next: April 10 - kernel oops at kmem_cache_all..., Kamalesh Babulal, (Thu Apr 10, 2:07 pm)
Re: [BUG] linux-next: April 10 - kernel oops at kmem_cache..., Kamalesh Babulal, (Mon Apr 14, 9:14 am)
Re: linux-next: Tree for April 10, Greg KH, (Thu Apr 10, 1:42 pm)
Re: [BUG] linux-next: Tree for April 10 - kernel panic while..., Bartlomiej Zolnierkiewicz..., (Thu Apr 10, 8:03 am)
Re: [BUG] linux-next: Tree for April 10 - kernel panic while..., Bartlomiej Zolnierkiewicz..., (Thu Apr 10, 1:14 pm)
Re: [BUG] linux-next: Tree for April 10 - kernel panic while..., Bartlomiej Zolnierkiewicz..., (Thu Apr 10, 3:16 pm)