Re: [PATCH 04/17] Fix use of unallocated memory for MSA2xxx enclosure device data.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 11 Nov 2009 10:50:43 -0600
"Stephen M. Cameron" <scameron@xxxxxxxxxxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux