pnpacpi: print resource shortage message only once
authorLen Brown <len.brown@intel.com>
Sat, 12 Jan 2008 22:56:36 +0000 (17:56 -0500)
committerLen Brown <len.brown@intel.com>
Sat, 12 Jan 2008 22:56:36 +0000 (17:56 -0500)
commit66a21736defda339cd93a0e70c1120ab813640f6
tree34bf9ec577fc8900279ac033ae648909e6badd32
parent2c838197751db19d08a00e633e33dce23a69fb0c
pnpacpi: print resource shortage message only once

pnpacpi: exceeded the max number of IO resources: 40

While this message is a real error and should thus
remain KERN_ERR (even a new dmesg line is seen as a regression
by some, since it was not printed in 2.6.23...) it is certainly
impolite to print this warning 50 times should you happen to
have the oddball system with 90 io resources under a device...

So print the warning just once.

In 2.6.25 we'll get rid of the limits altogether
and these warnings will vanish with them.

http://bugzilla.kernel.org/show_bug.cgi?id=9535

Signed-off-by: Len Brown <len.brown@intel.com>
drivers/pnp/pnpacpi/rsparser.c