[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <8b67d60903071537p10994257obc7cce99028a740c@mail.gmail.com>
Date: Sat, 7 Mar 2009 23:37:15 +0000
From: Adrian McMenamin <lkmladrian@...il.com>
To: LKML <linux-kernel@...r.kernel.org>
Subject: printk issue - bug?
I wonder if anyone can reproduce this behaviour on other architectures
(this was SH4)?
code is:
printk("PAGE_SIZE is 0x%X\n", PAGE_SIZE);
printk("Offset is 0x%X, PAGE_SIZE is 0x%X, readlen is 0x%X\n", offset,
PAGE_SIZE, readlen)
Output is:
[ 162.603348] PAGE_SIZE is 0x1000
[ 162.607473] Offset is 0x0, PAGE_SIZE is 0x0, readlen is 0x1000
ie PAGE_SIZE is incorrectly reported in the second printk (these are
consecutive lines of code)
offset is loff_t and readlen is unsigned long.
Adrian
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists