Re: [PATCH] x86: check boundary in count/setup_resource called by get_current_resources

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Yinghai Lu <Yinghai.Lu@...>
Cc: Greg Kroah-Hartman <gregkh@...>, Gary Hade <gary.hade@...>, Thomas Gleixner <tglx@...>, LKML <linux-kernel@...>, <linux-acpi@...>
Date: Thursday, November 1, 2007 - 4:32 am

On Thu, 01 Nov 2007 01:20:29 -0700 Yinghai Lu <Yinghai.Lu@Sun.COM> wrote:


Isn't this a bit of a problem?  It sounds like PCI_BUS_NUM_RESOURCES is to
small for that system?  If so, some sort of dynamic allocation might be
needed.


grump.  I don't know why people like a blank line before `return': it's
just a waste of screen space.  And the surrounding code in
arch/x86/pci/acpi.c doesn't do this either.


And should we really be silently ignoring this problem?  Should we at least
report it?

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] x86: check boundary in count/setup_resource call..., Andrew Morton, (Thu Nov 1, 4:32 am)