summaryrefslogtreecommitdiff
path: root/drivers/scsi/scsi_transport_iscsi.c
diff options
context:
space:
mode:
authorMyron Stowe <myron.stowe@hp.com>2009-01-30 15:44:53 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-02-12 09:31:05 -0800
commit9ef25990cd4eb160303a6a2059bd3add690e355a (patch)
treee10a42de54f379cf971234077771779ef1e0186a /drivers/scsi/scsi_transport_iscsi.c
parent11673fed439117bc3d0f004dcaed8e45e7704ad4 (diff)
ACPICA: Fix table entry truncation calculation
commit 386e4a8358239f90275e1f93d5ad11cdc93c6453 upstream. During early boot, ACPI RSDT/XSDT table entries are gathered into the 'initial_tables[]' array. This array is currently statically defined (see ./drivers/acpi/tables.c). When there are more table entries than can be held in the 'initial_tables[]' array, the message "Truncating N table entries!" is output. As currently implemented, this message will always erroneously calculate N as 0. This patch fixes the calculation that determines how many table entries will be missing (truncated). This modification may be used under either the GPL or the BSD-style license used for Intel ACPI CA code. Signed-off-by: Myron Stowe <myron.stowe@hp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/scsi/scsi_transport_iscsi.c')
0 files changed, 0 insertions, 0 deletions