[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101129140131.9dd954a9.randy.dunlap@oracle.com>
Date: Mon, 29 Nov 2010 14:01:31 -0800
From: Randy Dunlap <randy.dunlap@...cle.com>
To: Peter Hüwe <PeterHuewe@....de>
Cc: "Greg Kroah-Hartman" <gregkh@...e.de>, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, Mark Allyn <mark.a.allyn@...el.com>,
Joe Perches <joe@...ches.com>,
Ben Hutchings <ben@...adent.org.uk>,
Alan Cox <alan@...ux.intel.com>
Subject: Re: [PATCH 3/3] staging/sep: Fix sparse printk format warning
On Mon, 29 Nov 2010 22:59:11 +0100 Peter Hüwe wrote:
> > Are you sure? I'm used to these being gcc warnings, not sparse.
> You're right - these are generated by gcc ;) sorry for the confusion.
>
> > Also, this fixes the warnings on x86_64 but not on x86_32/i386:
> You're right again, I'm on x86_64 - so what should I use instead?
I dunno, I've tried to fix this myself and the only thing that I have
been successful with is casting those ioctl values to (unsigned long)
and using %lx to print them.
> (atleast the patch fixes the size_t format strings ;)
agreed.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
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