Deleted Added
full compact
791c791
< if (PackageLengthOp->Asl.Value.Integer >= PackageLength)
---
> if (PackageLengthOp->Asl.Value.Integer > PackageLength)
793c793,803
< /* Allow package to be longer than the initializer list */
---
> /*
> * Allow package length to be longer than the initializer
> * list -- but if the length of initializer list is nonzero,
> * issue a message since this is probably a coding error,
> * even though technically legal.
> */
> if (PackageLength > 0)
> {
> AslError (ASL_REMARK, ASL_MSG_LIST_LENGTH_SHORT,
> PackageLengthOp, NULL);
> }
797c807
< else
---
> else if (PackageLengthOp->Asl.Value.Integer < PackageLength)
800,801c810,811
< * Initializer list is longer than the package length. This
< * is an error as per the ACPI spec.
---
> * The package length is smaller than the length of the
> * initializer list. This is an error as per the ACPI spec.
803,804c813,814
< AslError (ASL_ERROR, ASL_MSG_LIST_LENGTH,
< PackageLengthOp->Asl.Next, NULL);
---
> AslError (ASL_ERROR, ASL_MSG_LIST_LENGTH_LONG,
> PackageLengthOp, NULL);