Re: [PATCH 4/5]pci:setup_bus.c Fix warning: variable 'retval' setbut not used

From: Jesse Barnes
Date: Fri Jun 18 2010 - 16:07:25 EST


On Fri, 18 Jun 2010 12:59:32 -0700
"Justin P. Mattock" <justinmattock@xxxxxxxxx> wrote:
> just added this in(as a test), and the retval warning still shows up.
> with the last post I just added a printk was that legit, and if so what
> else might be added to it to make it complete and proper?

What's the full warning? Seems like printing the value should have
been enough to shut up gcc...

--
Jesse Barnes, Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/