| Date | Thu, 12 Nov 2009 14:45:24 -0800 | From | Andrew Morton <> | Subject | Re: [PATCH 04/17] Fix use of unallocated memory for MSA2xxx enclosure device data. |
| |
On Wed, 11 Nov 2009 10:50:43 -0600 "Stephen M. Cameron" <scameron@beardog.cce.hp.com> wrote:
> +#define MAX_MSA2XXX_ENCLOSURES 32 > + if (*nmsa2xxx_enclosures >= MAX_MSA2XXX_ENCLOSURES) { > + dev_warn(&h->pdev->dev, "Maximum number of MSA2XXX " > + "enclosures exceeded. Check your hardware " > + "configuration."); > + return 0; > + }
The message would be a bit more helpful if it told the operator what the limit actually is.
|